HelloWired_Free_Theme_1_4 - Version 3.0.0

Version Notes

Free Responsive Theme, ready for Magento 1.7

Download this release

Release Info

Developer HelloThemes.com
Extension HelloWired_Free_Theme_1_4
Version 3.0.0
Comparing to
See all releases


Code changes from version 2.0.0 to 3.0.0

Files changed (187) hide show
  1. app/design/frontend/default/hellowired/layout/catalog.xml +444 -0
  2. app/design/frontend/default/hellowired/layout/catalogsearch.xml +140 -0
  3. app/design/frontend/default/hellowired/layout/checkout.xml +423 -0
  4. app/design/frontend/default/hellowired/layout/newsletter.xml +67 -0
  5. app/design/frontend/default/hellowired/layout/page.xml +202 -0
  6. app/design/frontend/default/hellowired/layout/sendfriend.xml +40 -0
  7. app/design/frontend/default/hellowired/locale/en_US/translate.csv +1 -0
  8. app/design/frontend/default/hellowired/template/callouts/connect.phtml +31 -0
  9. app/design/frontend/default/hellowired/template/catalog/navigation/leftnav.phtml +48 -0
  10. app/design/frontend/default/hellowired/template/catalog/navigation/mobile-nav.phtml +74 -0
  11. app/design/frontend/default/hellowired/template/catalog/navigation/top.phtml +49 -0
  12. app/design/frontend/default/hellowired/template/catalog/product/featured.phtml +73 -0
  13. app/design/frontend/default/hellowired/template/catalog/product/list.phtml +124 -0
  14. app/design/frontend/default/hellowired/template/catalog/product/list/toolbar/pager.phtml +68 -0
  15. app/design/frontend/default/hellowired/template/catalog/product/list/upsell.phtml +52 -0
  16. app/design/frontend/default/hellowired/template/catalog/product/view.phtml +118 -0
  17. app/design/frontend/default/hellowired/template/catalog/product/view/media.phtml +80 -0
  18. app/design/frontend/default/hellowired/template/catalog/product/view/tabs.phtml +78 -0
  19. app/design/frontend/default/hellowired/template/catalogsearch/form.mini.phtml +39 -0
  20. app/design/frontend/default/hellowired/template/checkout/cart.phtml +139 -0
  21. app/design/frontend/default/hellowired/template/newsletter/subscribe-home.phtml +41 -0
  22. app/design/frontend/default/hellowired/template/newsletter/subscribe.phtml +41 -0
  23. app/design/frontend/default/hellowired/template/page/1column.phtml +60 -0
  24. app/design/frontend/default/hellowired/template/page/2columns-left.phtml +61 -0
  25. app/design/frontend/default/hellowired/template/page/2columns-right.phtml +61 -0
  26. app/design/frontend/default/hellowired/template/page/3columns.phtml +65 -0
  27. app/design/frontend/default/hellowired/template/page/html/footer.phtml +58 -0
  28. app/design/frontend/default/hellowired/template/page/html/head.phtml +53 -0
  29. app/design/frontend/default/hellowired/template/page/html/header.phtml +59 -0
  30. app/design/frontend/default/hellowired/template/persistent/checkout/onepage/login.phtml +156 -0
  31. app/design/frontend/default/hellowired/template/persistent/customer/form/login.phtml +89 -0
  32. app/design/frontend/default/hellowired/template/sample/home.phtml +35 -0
  33. app/design/frontend/default/hellowired/template/sendfriend/send.phtml +150 -0
  34. media/helloslide/hellowired/01.jpg +0 -0
  35. media/helloslide/hellowired/02.jpg +0 -0
  36. package.xml +5 -5
  37. skin/frontend/default/hellowired/Thumbs.db +0 -0
  38. skin/frontend/default/hellowired/css/custom.css +138 -0
  39. skin/frontend/default/hellowired/css/print.css +40 -0
  40. skin/frontend/default/hellowired/css/responsive.css +739 -0
  41. skin/frontend/default/hellowired/css/styles-ie.css +187 -0
  42. skin/frontend/default/hellowired/css/styles.css +1891 -0
  43. skin/frontend/default/hellowired/css/widgets.css +90 -0
  44. skin/frontend/default/hellowired/favicon.ico +0 -0
  45. skin/frontend/default/hellowired/images/Thumbs.db +0 -0
  46. skin/frontend/default/hellowired/images/background/Thumbs.db +0 -0
  47. skin/frontend/default/hellowired/images/background/Untitled-1.png +0 -0
  48. skin/frontend/default/hellowired/images/background/bg.gif +0 -0
  49. skin/frontend/default/hellowired/images/background/bg.jpg +0 -0
  50. skin/frontend/default/hellowired/images/background/block_bg.gif +0 -0
  51. skin/frontend/default/hellowired/images/background/block_bg_bottom.gif +0 -0
  52. skin/frontend/default/hellowired/images/background/block_bg_repeat.gif +0 -0
  53. skin/frontend/default/hellowired/images/background/block_title_alt.gif +0 -0
  54. skin/frontend/default/hellowired/images/background/divider_top.gif +0 -0
  55. skin/frontend/default/hellowired/images/background/featured_product_bg.gif +0 -0
  56. skin/frontend/default/hellowired/images/background/footer_bg.jpg +0 -0
  57. skin/frontend/default/hellowired/images/background/main_bg.jpg +0 -0
  58. skin/frontend/default/hellowired/images/background/menu_active.gif +0 -0
  59. skin/frontend/default/hellowired/images/background/menu_bg.gif +0 -0
  60. skin/frontend/default/hellowired/images/background/menu_bg1.gif +0 -0
  61. skin/frontend/default/hellowired/images/background/menu_bg2 (2).gif +0 -0
  62. skin/frontend/default/hellowired/images/background/menu_bg2.gif +0 -0
  63. skin/frontend/default/hellowired/images/background/menu_bullet.jpg +0 -0
  64. skin/frontend/default/hellowired/images/background/menu_bullet.png +0 -0
  65. skin/frontend/default/hellowired/images/background/menu_bullet_active.png +0 -0
  66. skin/frontend/default/hellowired/images/background/menu_bullet_ie6.gif +0 -0
  67. skin/frontend/default/hellowired/images/background/menu_bullet_ie6_active.gif +0 -0
  68. skin/frontend/default/hellowired/images/background/menu_hover.gif +0 -0
  69. skin/frontend/default/hellowired/images/background/menu_item.gif +0 -0
  70. skin/frontend/default/hellowired/images/background/old/Thumbs.db +0 -0
  71. skin/frontend/default/hellowired/images/background/old/block_bg.gif +0 -0
  72. skin/frontend/default/hellowired/images/background/old/block_bg_bottom.gif +0 -0
  73. skin/frontend/default/hellowired/images/background/old/block_bg_repeat.gif +0 -0
  74. skin/frontend/default/hellowired/images/background/repeat_bg.jpg +0 -0
  75. skin/frontend/default/hellowired/images/background/search_bg.png +0 -0
  76. skin/frontend/default/hellowired/images/background/slider_wrapper.png +0 -0
  77. skin/frontend/default/hellowired/images/background/subscribe_bg.png +0 -0
  78. skin/frontend/default/hellowired/images/background/wrapper_bg.png +0 -0
  79. skin/frontend/default/hellowired/images/bkg_add-to.gif +0 -0
  80. skin/frontend/default/hellowired/images/bkg_block-layered-title.gif +0 -0
  81. skin/frontend/default/hellowired/images/bkg_body.gif +0 -0
  82. skin/frontend/default/hellowired/images/bkg_btn-green.gif +0 -0
  83. skin/frontend/default/hellowired/images/bkg_btn-small.gif +0 -0
  84. skin/frontend/default/hellowired/images/bkg_btn-small.png +0 -0
  85. skin/frontend/default/hellowired/images/bkg_btn.gif +0 -0
  86. skin/frontend/default/hellowired/images/bkg_btn.png +0 -0
  87. skin/frontend/default/hellowired/images/bkg_btn1.png +0 -0
  88. skin/frontend/default/hellowired/images/bkg_cart-totals.gif +0 -0
  89. skin/frontend/default/hellowired/images/bkg_collapse-gm.gif +0 -0
  90. skin/frontend/default/hellowired/images/bkg_collapse.gif +0 -0
  91. skin/frontend/default/hellowired/images/bkg_grid.gif +0 -0
  92. skin/frontend/default/hellowired/images/bkg_nav_parent.gif +0 -0
  93. skin/frontend/default/hellowired/images/bkg_nav_top.gif +0 -0
  94. skin/frontend/default/hellowired/images/bkg_pipe1.gif +0 -0
  95. skin/frontend/default/hellowired/images/bkg_pipe2.gif +0 -0
  96. skin/frontend/default/hellowired/images/bkg_pipe3.gif +0 -0
  97. skin/frontend/default/hellowired/images/bkg_rating.gif +0 -0
  98. skin/frontend/default/hellowired/images/bkg_subtotal.gif +0 -0
  99. skin/frontend/default/hellowired/images/bkg_tabs.gif +0 -0
  100. skin/frontend/default/hellowired/images/bkg_toolbar.gif +0 -0
  101. skin/frontend/default/hellowired/images/bkg_top-promo.gif +0 -0
  102. skin/frontend/default/hellowired/images/btn_checkout.gif +0 -0
  103. skin/frontend/default/hellowired/images/btn_remove.gif +0 -0
  104. skin/frontend/default/hellowired/images/btn_trash.gif +0 -0
  105. skin/frontend/default/hellowired/images/btn_window_close.gif +0 -0
  106. skin/frontend/default/hellowired/images/buttons/Thumbs.db +0 -0
  107. skin/frontend/default/hellowired/images/buttons/next-horizontal.png +0 -0
  108. skin/frontend/default/hellowired/images/buttons/prev-horizontal.png +0 -0
  109. skin/frontend/default/hellowired/images/buttons/subscribe_btn.gif +0 -0
  110. skin/frontend/default/hellowired/images/calendar.gif +0 -0
  111. skin/frontend/default/hellowired/images/catalog/product/placeholder/image.jpg +0 -0
  112. skin/frontend/default/hellowired/images/catalog/product/placeholder/small_image.jpg +0 -0
  113. skin/frontend/default/hellowired/images/catalog/product/placeholder/thumbnail.jpg +0 -0
  114. skin/frontend/default/hellowired/images/creditcards.gif +0 -0
  115. skin/frontend/default/hellowired/images/cvv.gif +0 -0
  116. skin/frontend/default/hellowired/images/fam_book_open.png +0 -0
  117. skin/frontend/default/hellowired/images/fancybox/Thumbs.db +0 -0
  118. skin/frontend/default/hellowired/images/fancybox/fancy_closebox.png +0 -0
  119. skin/frontend/default/hellowired/images/fancybox/fancy_left.png +0 -0
  120. skin/frontend/default/hellowired/images/fancybox/fancy_progress.png +0 -0
  121. skin/frontend/default/hellowired/images/fancybox/fancy_right.png +0 -0
  122. skin/frontend/default/hellowired/images/fancybox/fancy_shadow_e.png +0 -0
  123. skin/frontend/default/hellowired/images/fancybox/fancy_shadow_n.png +0 -0
  124. skin/frontend/default/hellowired/images/fancybox/fancy_shadow_ne.png +0 -0
  125. skin/frontend/default/hellowired/images/fancybox/fancy_shadow_nw.png +0 -0
  126. skin/frontend/default/hellowired/images/fancybox/fancy_shadow_s.png +0 -0
  127. skin/frontend/default/hellowired/images/fancybox/fancy_shadow_se.png +0 -0
  128. skin/frontend/default/hellowired/images/fancybox/fancy_shadow_sw.png +0 -0
  129. skin/frontend/default/hellowired/images/fancybox/fancy_shadow_w.png +0 -0
  130. skin/frontend/default/hellowired/images/fancybox/fancy_title_left.png +0 -0
  131. skin/frontend/default/hellowired/images/fancybox/fancy_title_main.png +0 -0
  132. skin/frontend/default/hellowired/images/fancybox/fancy_title_right.png +0 -0
  133. skin/frontend/default/hellowired/images/fancybox/loading.gif +0 -0
  134. skin/frontend/default/hellowired/images/fancybox/tl.png +0 -0
  135. skin/frontend/default/hellowired/images/fancybox/tr.png +0 -0
  136. skin/frontend/default/hellowired/images/flags/English.png +0 -0
  137. skin/frontend/default/hellowired/images/flags/French.png +0 -0
  138. skin/frontend/default/hellowired/images/flags/German.png +0 -0
  139. skin/frontend/default/hellowired/images/flags/Thumbs.db +0 -0
  140. skin/frontend/default/hellowired/images/grid-cal.gif +0 -0
  141. skin/frontend/default/hellowired/images/i_asc_arrow.gif +0 -0
  142. skin/frontend/default/hellowired/images/icons/Thumbs.db +0 -0
  143. skin/frontend/default/hellowired/images/icons/account_ico.png +0 -0
  144. skin/frontend/default/hellowired/images/icons/cart_ico.png +0 -0
  145. skin/frontend/default/hellowired/images/icons/checkout_ico.png +0 -0
  146. skin/frontend/default/hellowired/images/icons/login_ico.png +0 -0
  147. skin/frontend/default/hellowired/images/icons/search_ico.gif +0 -0
  148. skin/frontend/default/hellowired/images/icons/wishlist_ico.png +0 -0
  149. skin/frontend/default/hellowired/images/logo.gif +0 -0
  150. skin/frontend/default/hellowired/images/logo.png +0 -0
  151. skin/frontend/default/hellowired/images/logo_email.gif +0 -0
  152. skin/frontend/default/hellowired/images/logo_print.gif +0 -0
  153. skin/frontend/default/hellowired/images/magnifier_handle.gif +0 -0
  154. skin/frontend/default/hellowired/images/media/Thumbs.db +0 -0
  155. skin/frontend/default/hellowired/images/media/callout1.jpg +0 -0
  156. skin/frontend/default/hellowired/images/media/footer_callout.png +0 -0
  157. skin/frontend/default/hellowired/images/media/fpo_no_crosssell.gif +0 -0
  158. skin/frontend/default/hellowired/images/media/hellothemes.png +0 -0
  159. skin/frontend/default/hellowired/images/media/home_co_bottom.gif +0 -0
  160. skin/frontend/default/hellowired/images/media/home_co_br.gif +0 -0
  161. skin/frontend/default/hellowired/images/media/home_co_main.jpg +0 -0
  162. skin/frontend/default/hellowired/images/media/home_co_tr.gif +0 -0
  163. skin/frontend/default/hellowired/images/media/left_col_callout.jpg +0 -0
  164. skin/frontend/default/hellowired/images/media/promo1.jpg +0 -0
  165. skin/frontend/default/hellowired/images/media/promo2.jpg +0 -0
  166. skin/frontend/default/hellowired/images/media/promo3.jpg +0 -0
  167. skin/frontend/default/hellowired/images/media/promo4.jpg +0 -0
  168. skin/frontend/default/hellowired/images/media/promo5.jpg +0 -0
  169. skin/frontend/default/hellowired/images/media/promo6.jpg +0 -0
  170. skin/frontend/default/hellowired/images/media/promo7.jpg +0 -0
  171. skin/frontend/default/hellowired/images/mobilemenu.gif +0 -0
  172. skin/frontend/default/hellowired/images/slider_bg.gif +0 -0
  173. skin/frontend/default/hellowired/images/social/Thumbs.db +0 -0
  174. skin/frontend/default/hellowired/images/social/facebook_ico.png +0 -0
  175. skin/frontend/default/hellowired/images/social/twitter_ico.png +0 -0
  176. skin/frontend/default/hellowired/images/social/youtube_ico.png +0 -0
  177. skin/frontend/default/hellowired/images/widgets/Thumbs.db +0 -0
  178. skin/frontend/default/hellowired/images/widgets/i_widget-link.gif +0 -0
  179. skin/frontend/default/hellowired/js/_imgpreview.js +46 -0
  180. skin/frontend/default/hellowired/js/cufon-yui.js +7 -0
  181. skin/frontend/default/hellowired/js/custom.js +41 -0
  182. skin/frontend/default/hellowired/js/hello.jquery.js +635 -0
  183. skin/frontend/default/hellowired/js/jquery-1.7.1.min.js +4 -0
  184. skin/frontend/default/hellowired/js/jquery.cycle.all.js +1304 -0
  185. skin/frontend/default/hellowired/js/less.min.js +9 -0
  186. skin/frontend/default/hellowired/js/pngfix.js +15 -0
  187. skin/frontend/default/hellowired/js/respond.min.js +6 -0
app/design/frontend/default/hellowired/layout/catalog.xml ADDED
@@ -0,0 +1,444 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ <reference name="left">
52
+ <block type="core/template" name="left.permanent.callout" template="callouts/left_col.phtml">
53
+ <action method="setImgSrc"><src>images/media/col_left_callout.jpg</src></action>
54
+ <action method="setImgAlt" translate="alt" module="catalog"><alt>Our customer service is available 24/7. Call us at (555) 555-0123.</alt></action>
55
+ <action method="setLinkUrl"><url>checkout/cart</url></action>
56
+ </block>
57
+ </reference>
58
+ <reference name="right">
59
+ <block type="catalog/product_compare_sidebar" before="cart_sidebar" name="catalog.compare.sidebar" template="catalog/product/compare/sidebar.phtml"/>
60
+ <block type="core/template" name="right.permanent.callout" template="callouts/right_col.phtml">
61
+ <action method="setImgSrc"><src>images/media/col_right_callout.jpg</src></action>
62
+ <action method="setImgAlt" translate="alt" module="catalog"><alt>Keep your eyes open for our special Back to School items and save A LOT!</alt></action>
63
+ </block>
64
+ </reference>
65
+ <reference name="footer_links">
66
+ <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>
67
+ </reference>
68
+ <block type="catalog/product_price_template" name="catalog_product_price_template" />
69
+ </default>
70
+
71
+
72
+ <!--
73
+ Category default layout
74
+ -->
75
+
76
+ <catalog_category_default translate="label">
77
+ <label>Catalog Category (Non-Anchor)</label>
78
+ <reference name="left">
79
+ <block type="catalog/navigation" name="catalog.leftnav" after="currency" template="catalog/navigation/left.phtml"/>
80
+ </reference>
81
+ <reference name="content">
82
+ <block type="catalog/category_view" name="category.products" template="catalog/category/view.phtml">
83
+ <block type="catalog/product_list" name="product_list" template="catalog/product/list.phtml">
84
+ <block type="catalog/product_list_toolbar" name="product_list_toolbar" template="catalog/product/list/toolbar.phtml">
85
+ <block type="page/html_pager" name="product_list_toolbar_pager"/>
86
+ <!-- The following code shows how to set your own pager increments -->
87
+ <!--
88
+ <action method="setDefaultListPerPage"><limit>4</limit></action>
89
+ <action method="setDefaultGridPerPage"><limit>9</limit></action>
90
+ <action method="addPagerLimit"><mode>list</mode><limit>2</limit></action>
91
+ <action method="addPagerLimit"><mode>list</mode><limit>4</limit></action>
92
+ <action method="addPagerLimit"><mode>list</mode><limit>6</limit></action>
93
+ <action method="addPagerLimit"><mode>list</mode><limit>8</limit></action>
94
+ <action method="addPagerLimit" translate="label"><mode>list</mode><limit>all</limit><label>All</label></action>
95
+ -->
96
+ </block>
97
+ <action method="addColumnCountLayoutDepend"><layout>empty</layout><count>6</count></action>
98
+ <action method="addColumnCountLayoutDepend"><layout>one_column</layout><count>5</count></action>
99
+ <action method="addColumnCountLayoutDepend"><layout>two_columns_left</layout><count>4</count></action>
100
+ <action method="addColumnCountLayoutDepend"><layout>two_columns_right</layout><count>4</count></action>
101
+ <action method="addColumnCountLayoutDepend"><layout>three_columns</layout><count>3</count></action>
102
+ <action method="setToolbarBlockName"><name>product_list_toolbar</name></action>
103
+ </block>
104
+ </block>
105
+ </reference>
106
+ </catalog_category_default>
107
+
108
+ <!--
109
+ Category layered navigation layout
110
+ -->
111
+
112
+ <catalog_category_layered translate="label">
113
+ <label>Catalog Category (Anchor)</label>
114
+ <reference name="left">
115
+ <block type="catalog/layer_view" name="catalog.leftnav" after="currency" template="catalog/layer/view.phtml"/>
116
+ </reference>
117
+ <reference name="content">
118
+ <block type="catalog/category_view" name="category.products" template="catalog/category/view.phtml">
119
+ <block type="catalog/product_list" name="product_list" template="catalog/product/list.phtml">
120
+ <!-- <action method="addReviewSummaryTemplate"><type>default</type><template>review/helper/su.phtml</template></action> -->
121
+ <block type="catalog/product_list_toolbar" name="product_list_toolbar" template="catalog/product/list/toolbar.phtml">
122
+ <block type="page/html_pager" name="product_list_toolbar_pager"/>
123
+ <!-- The following code shows how to set your own pager increments -->
124
+ <!--
125
+ <action method="setDefaultListPerPage"><limit>4</limit></action>
126
+ <action method="setDefaultGridPerPage"><limit>3</limit></action>
127
+ <action method="addPagerLimit"><mode>list</mode><limit>2</limit></action>
128
+ <action method="addPagerLimit"><mode>list</mode><limit>4</limit></action>
129
+ <action method="addPagerLimit"><mode>list</mode><limit>6</limit></action>
130
+ <action method="addPagerLimit"><mode>list</mode><limit>8</limit></action>
131
+ <action method="addPagerLimit" translate="label"><mode>list</mode><limit>all</limit><label>All</label></action>
132
+ <action method="addPagerLimit"><mode>grid</mode><limit>3</limit></action>
133
+ <action method="addPagerLimit"><mode>grid</mode><limit>6</limit></action>
134
+ <action method="addPagerLimit"><mode>grid</mode><limit>9</limit></action>
135
+ <action method="addPagerLimit" translate="label"><mode>grid</mode><limit>all</limit><label>All</label></action>
136
+ -->
137
+ </block>
138
+ <action method="addColumnCountLayoutDepend"><layout>empty</layout><count>6</count></action>
139
+ <action method="addColumnCountLayoutDepend"><layout>one_column</layout><count>5</count></action>
140
+ <action method="addColumnCountLayoutDepend"><layout>two_columns_left</layout><count>4</count></action>
141
+ <action method="addColumnCountLayoutDepend"><layout>two_columns_right</layout><count>4</count></action>
142
+ <action method="addColumnCountLayoutDepend"><layout>three_columns</layout><count>3</count></action>
143
+ <action method="setToolbarBlockName"><name>product_list_toolbar</name></action>
144
+ </block>
145
+ </block>
146
+ </reference>
147
+ </catalog_category_layered>
148
+
149
+ <catalog_category_layered_nochildren translate="label">
150
+ <label>Catalog Category (Without Subcategories)</label>
151
+ <remove name="right.reports.product.viewed" />
152
+ <!--reference name="right">
153
+ <block type="reports/product_viewed" before="right.permanent.callout" name="left.reports.product.viewed" template="reports/product_viewed.phtml" />
154
+ </reference-->
155
+ </catalog_category_layered_nochildren>
156
+
157
+ <!--
158
+ Compare products page
159
+ -->
160
+
161
+ <catalog_product_compare_index translate="label">
162
+ <label>Catalog Product Compare List</label>
163
+ <!-- Mage_Catalog -->
164
+ <reference name="root">
165
+ <action method="setTemplate"><template>page/popup.phtml</template></action>
166
+ </reference>
167
+ <reference name="head">
168
+ <action method="addJs"><script>scriptaculous/scriptaculous.js</script></action>
169
+ <action method="addJs"><script>varien/product.js</script></action>
170
+ </reference>
171
+ <reference name="content">
172
+ <block type="catalog/product_compare_list" name="catalog.compare.list" template="catalog/product/compare/list.phtml"/>
173
+ </reference>
174
+ </catalog_product_compare_index>
175
+
176
+ <customer_account_index>
177
+ <reference name="right">
178
+ <action method="unsetChild"><name>catalog.compare.sidebar</name></action>
179
+ </reference>
180
+ </customer_account_index>
181
+
182
+ <!--
183
+ Product view
184
+ -->
185
+
186
+ <catalog_product_view translate="label">
187
+ <label>Catalog Product View (Any)</label>
188
+ <!-- Mage_Catalog -->
189
+ <reference name="root">
190
+ <action method="setTemplate"><template>page/2columns-right.phtml</template></action>
191
+ </reference>
192
+ <reference name="head">
193
+ <action method="addJs"><script>varien/product.js</script></action>
194
+
195
+ <action method="addItem"><type>js_css</type><name>calendar/calendar-win2k-1.css</name><params/><!--<if/><condition>can_load_calendar_js</condition>--></action>
196
+ <action method="addItem"><type>js</type><name>calendar/calendar.js</name><!--<params/><if/><condition>can_load_calendar_js</condition>--></action>
197
+ <action method="addItem"><type>js</type><name>calendar/calendar-setup.js</name><!--<params/><if/><condition>can_load_calendar_js</condition>--></action>
198
+ </reference>
199
+ <reference name="content">
200
+ <block type="catalog/product_view" name="product.info" template="catalog/product/view.phtml">
201
+ <!--
202
+ <action method="addReviewSummaryTemplate"><type>default</type><template>review/helper/summary.phtml</template></action>
203
+ <action method="addReviewSummaryTemplate"><type>short</type><template>review/helper/summary_short.phtml</template></action>
204
+ <action method="addReviewSummaryTemplate"><type>...</type><template>...</template></action>
205
+ -->
206
+ <block type="catalog/product_view_media" name="product.info.media" as="media" template="catalog/product/view/media.phtml"/>
207
+ <block type="core/text_list" name="alert.urls" as="alert_urls" translate="label">
208
+ <label>Alert Urls</label>
209
+ </block>
210
+ <block type="catalog/product_view_tabs" name="product.info.tabs" as="info_tabs" template="catalog/product/view/tabs.phtml" >
211
+ <action method="addTab" translate="title" module="catalog"><alias>description</alias><title>Product Description</title><block>catalog/product_view_description</block><template>catalog/product/view/description.phtml</template></action>
212
+ <action method="addTab" translate="title" module="catalog"><alias>upsell_products</alias><title>We Also Recommend</title><block>catalog/product_list_upsell</block><template>catalog/product/list/upsell.phtml</template></action>
213
+ <action method="addTab" translate="title" module="catalog"><alias>additional</alias><title>Additional Information</title><block>catalog/product_view_attributes</block><template>catalog/product/view/attributes.phtml</template></action>
214
+ <action method="addTab" translate="title" module="catalog"><alias>tags</alias><title>Tags</title><block>tag/product_list</block><template>tag/list.phtml</template></action>
215
+ </block>
216
+ <action method="setTierPriceTemplate"><template>catalog/product/view/tierprices.phtml</template></action>
217
+
218
+ <block type="catalog/product_list_upsell" name="product.info.upsell" as="upsell_products" template="catalog/product/list/upsell.phtml">
219
+ <action method="setColumnCount"><columns>4</columns></action>
220
+ <action method="setItemLimit"><type>upsell</type><limit>4</limit></action>
221
+ </block>
222
+
223
+ <!--block type="catalog/product_view_additional" name="product.info.additional" as="product_additional_data" /-->
224
+ <block type="catalog/product_view_description" name="product.description" as="description" template="catalog/product/view/description.phtml">
225
+ <action method="addToParentGroup"><group>detailed_info</group></action>
226
+ </block>
227
+ <block type="catalog/product_view_attributes" name="product.attributes" as="additional" template="catalog/product/view/attributes.phtml">
228
+ <action method="addToParentGroup"><group>detailed_info</group></action>
229
+ </block>
230
+ <block type="catalog/product_view" name="product.info.addto" as="addto" template="catalog/product/view/addto.phtml"/>
231
+ <block type="catalog/product_view" name="product.info.addtocart" as="addtocart" template="catalog/product/view/addtocart.phtml"/>
232
+
233
+ <block type="core/text_list" name="product.info.extrahint" as="extrahint" translate="label">
234
+ <label>Product View Extra Hint</label>
235
+ </block>
236
+
237
+ <block type="catalog/product_view" name="product.info.options.wrapper" as="product_options_wrapper" template="catalog/product/view/options/wrapper.phtml" translate="label">
238
+ <label>Info Column Options Wrapper</label>
239
+ <block type="core/template" name="options_js" template="catalog/product/view/options/js.phtml"/>
240
+ <block type="catalog/product_view_options" name="product.info.options" as="product_options" template="catalog/product/view/options.phtml">
241
+ <action method="addOptionRenderer"><type>text</type><block>catalog/product_view_options_type_text</block><template>catalog/product/view/options/type/text.phtml</template></action>
242
+ <action method="addOptionRenderer"><type>file</type><block>catalog/product_view_options_type_file</block><template>catalog/product/view/options/type/file.phtml</template></action>
243
+ <action method="addOptionRenderer"><type>select</type><block>catalog/product_view_options_type_select</block><template>catalog/product/view/options/type/select.phtml</template></action>
244
+ <action method="addOptionRenderer"><type>date</type><block>catalog/product_view_options_type_date</block><template>catalog/product/view/options/type/date.phtml</template></action>
245
+ </block>
246
+ <block type="core/html_calendar" name="html_calendar" as="html_calendar" template="page/js/calendar.phtml"/>
247
+ </block>
248
+ <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">
249
+ <label>Bottom Block Options Wrapper</label>
250
+ <action method="insert"><block>product.tierprices</block></action>
251
+ <block type="catalog/product_view" name="product.clone_prices" as="prices" template="catalog/product/view/price_clone.phtml"/>
252
+ <action method="append"><block>product.info.addtocart</block></action>
253
+ </block>
254
+
255
+ <block type="core/template_facade" name="product.info.container1" as="container1">
256
+ <action method="setDataByKey"><key>alias_in_layout</key><value>container1</value></action>
257
+ <action method="setDataByKeyFromRegistry"><key>options_container</key><key_in_registry>product</key_in_registry></action>
258
+ <action method="append"><block>product.info.options.wrapper</block></action>
259
+ <action method="append"><block>product.info.options.wrapper.bottom</block></action>
260
+ </block>
261
+ <block type="core/template_facade" name="product.info.container2" as="container2">
262
+ <action method="setDataByKey"><key>alias_in_layout</key><value>container2</value></action>
263
+ <action method="setDataByKeyFromRegistry"><key>options_container</key><key_in_registry>product</key_in_registry></action>
264
+ <action method="append"><block>product.info.options.wrapper</block></action>
265
+ <action method="append"><block>product.info.options.wrapper.bottom</block></action>
266
+ </block>
267
+ <action method="unsetCallChild"><child>container1</child><call>ifEquals</call><if>0</if><key>alias_in_layout</key><key>options_container</key></action>
268
+ <action method="unsetCallChild"><child>container2</child><call>ifEquals</call><if>0</if><key>alias_in_layout</key><key>options_container</key></action>
269
+ </block>
270
+ </reference>
271
+ <reference name="right">
272
+ <block type="catalog/product_list_related" name="catalog.product.related" before="-" template="catalog/product/list/related.phtml"/>
273
+ </reference>
274
+ </catalog_product_view>
275
+
276
+ <!--
277
+ Additional block dependant on product type
278
+ -->
279
+ <PRODUCT_TYPE_simple translate="label" module="catalog">
280
+ <label>Catalog Product View (Simple)</label>
281
+ <reference name="product.info">
282
+ <block type="catalog/product_view_type_simple" name="product.info.simple" as="product_type_data" template="catalog/product/view/type/default.phtml">
283
+ <block type="core/text_list" name="product.info.simple.extra" as="product_type_data_extra" translate="label">
284
+ <label>Product Extra Info</label>
285
+ </block>
286
+ </block>
287
+ </reference>
288
+ </PRODUCT_TYPE_simple>
289
+ <PRODUCT_TYPE_configurable translate="label" module="catalog">
290
+ <label>Catalog Product View (Configurable)</label>
291
+ <reference name="product.info">
292
+ <block type="catalog/product_view_type_configurable" name="product.info.configurable" as="product_type_data" template="catalog/product/view/type/default.phtml">
293
+ <block type="core/text_list" name="product.info.configurable.extra" as="product_type_data_extra" translate="label">
294
+ <label>Product Extra Info</label>
295
+ </block>
296
+ </block>
297
+ </reference>
298
+ <reference name="product.info.options.wrapper">
299
+ <block type="catalog/product_view_type_configurable" name="product.info.options.configurable" as="options_configurable" before="-" template="catalog/product/view/type/options/configurable.phtml"/>
300
+ </reference>
301
+ </PRODUCT_TYPE_configurable>
302
+ <PRODUCT_TYPE_grouped translate="label" module="catalog">
303
+ <label>Catalog Product View (Grouped)</label>
304
+ <reference name="product.info">
305
+ <block type="catalog/product_view_type_grouped" name="product.info.grouped" as="product_type_data" template="catalog/product/view/type/grouped.phtml">
306
+ <block type="core/text_list" name="product.info.grouped.extra" as="product_type_data_extra" translate="label">
307
+ <label>Product Extra Info</label>
308
+ </block>
309
+ </block>
310
+ </reference>
311
+ </PRODUCT_TYPE_grouped>
312
+ <PRODUCT_TYPE_virtual translate="label" module="catalog">
313
+ <label>Catalog Product View (Virtual)</label>
314
+ <reference name="product.info">
315
+ <block type="catalog/product_view_type_virtual" name="product.info.virtual" as="product_type_data" template="catalog/product/view/type/default.phtml">
316
+ <block type="core/text_list" name="product.info.virtual.extra" as="product_type_data_extra" translate="label">
317
+ <label>Product Extra Info</label>
318
+ </block>
319
+ </block>
320
+ </reference>
321
+ </PRODUCT_TYPE_virtual>
322
+
323
+
324
+
325
+ <!--
326
+ Product send to friend
327
+ -->
328
+
329
+ <catalog_product_send translate="label">
330
+ <label>Catalog Product Email to a Friend</label>
331
+ <!-- Mage_Catalog -->
332
+ <reference name="root">
333
+ <action method="setTemplate"><template>page/2columns-right.phtml</template></action>
334
+ </reference>
335
+ <reference name="head">
336
+ <action method="addJs"><script>varien/product.js</script></action>
337
+ </reference>
338
+ <reference name="content">
339
+ <block type="catalog/product_send" name="product.send" template="catalog/product/send.phtml">
340
+ </block>
341
+ </reference>
342
+ </catalog_product_send>
343
+
344
+ <!--
345
+ Product additional images gallery popup
346
+ -->
347
+
348
+ <catalog_product_gallery translate="label">
349
+ <label>Catalog Product Image Gallery Popup</label>
350
+ <!-- Mage_Catalog -->
351
+ <reference name="root">
352
+ <action method="setTemplate"><template>page/popup.phtml</template></action>
353
+ </reference>
354
+ <reference name="content">
355
+ <block type="catalog/product_gallery" name="catalog_product_gallery" template="catalog/product/gallery.phtml"/>
356
+ </reference>
357
+ </catalog_product_gallery>
358
+
359
+ <!--
360
+ SEO Site Map
361
+ -->
362
+
363
+ <catalog_seo_sitemap translate="label">
364
+ <label>Catalog Seo Sitemap (Common)</label>
365
+ <remove name="right"/>
366
+ <remove name="left"/>
367
+
368
+ <reference name="root">
369
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
370
+ </reference>
371
+ <reference name="content">
372
+ <block type="page/template_container" name="seo.sitemap.container" template="catalog/seo/sitemap/container.phtml">
373
+ <block type="page/template_links" name="seo.sitemap.links" as="links" template="page/template/links.phtml"/>
374
+ <block type="page/html_pager" name="seo.sitemap.pager.top" as="pager_top" template="page/html/pager.phtml"/>
375
+ <block type="page/html_pager" name="seo.sitemap.pager.bottom" as="pager_bottom" template="page/html/pager.phtml"/>
376
+ </block>
377
+ </reference>
378
+ </catalog_seo_sitemap>
379
+
380
+ <catalog_seo_sitemap_category translate="label">
381
+ <label>Catalog Seo Sitemap (Category List)</label>
382
+ <update handle="catalog_seo_sitemap" />
383
+ <reference name="seo.sitemap.container">
384
+ <action method="setTitle" translate="title" module="catalog"><title>Categories</title></action>
385
+ <block type="catalog/seo_sitemap_category" name="seo.sitemap.sitemap" as="sitemap" after="pager_top" template="catalog/seo/sitemap.phtml">
386
+ <action method="bindPager"><pager>seo.sitemap.pager.top</pager></action>
387
+ <action method="bindPager"><pager>seo.sitemap.pager.bottom</pager></action>
388
+ <action method="setItemsTitle" translate="title" module="catalog"><title>categories</title></action>
389
+ </block>
390
+ </reference>
391
+ <reference name="seo.sitemap.links">
392
+ <action method="addLink" translate="label title" module="catalog"><label>Products Sitemap</label><url helper="catalog/map/getProductUrl"/><title>Products Sitemap</title></action>
393
+ </reference>
394
+ </catalog_seo_sitemap_category>
395
+
396
+ <catalog_seo_sitemap_category_tree translate="label">
397
+ <label>Catalog Seo Sitemap (Category Tree)</label>
398
+ <reference name="seo.sitemap.container">
399
+ <remove name="seo.sitemap.pager.top" />
400
+ <remove name="seo.sitemap.pager.bottom" />
401
+ <block type="catalog/seo_sitemap_tree_pager" name="seo.sitemap.tree.pager.top" as="pager_top" template="page/html/pager.phtml"/>
402
+ <block type="catalog/seo_sitemap_tree_pager" name="seo.sitemap.tree.pager.bottom" as="pager_bottom" template="page/html/pager.phtml"/>
403
+ <remove name="seo.sitemap.sitemap" />
404
+ <block type="catalog/seo_sitemap_tree_category" name="seo.sitemap.sitemap_tree" as="sitemap" after="pager_top" template="catalog/seo/tree.phtml">
405
+ <action method="bindPager"><pager>seo.sitemap.tree.pager.top</pager></action>
406
+ <action method="bindPager"><pager>seo.sitemap.tree.pager.bottom</pager></action>
407
+ </block>
408
+ </reference>
409
+ </catalog_seo_sitemap_category_tree>
410
+
411
+ <catalog_seo_sitemap_product translate="label">
412
+ <label>Catalog Seo Sitemap (Product List)</label>
413
+ <update handle="catalog_seo_sitemap" />
414
+ <reference name="seo.sitemap.container">
415
+ <action method="setTitle" translate="title" module="catalog"><title>Products</title></action>
416
+ <block type="catalog/seo_sitemap_product" name="seo.sitemap.sitemap" as="sitemap" after="pager_top" template="catalog/seo/sitemap.phtml">
417
+ <action method="bindPager"><pager>seo.sitemap.pager.top</pager></action>
418
+ <action method="bindPager"><pager>seo.sitemap.pager.bottom</pager></action>
419
+ <action method="setItemsTitle" translate="title" module="catalog"><title>products</title></action>
420
+ </block>
421
+ </reference>
422
+ <reference name="seo.sitemap.links">
423
+ <action method="addLink" translate="label title" module="catalog"><label>Categories Sitemap</label><url helper="catalog/map/getCategoryUrl"/><title>Categories Sitemap</title></action>
424
+ </reference>
425
+ </catalog_seo_sitemap_product>
426
+
427
+
428
+ <!--
429
+ Catalog search terms block
430
+ -->
431
+
432
+ <catalog_seo_searchterm_popular translate="label">
433
+ <label>Catalog Seo Popular Search Terms</label>
434
+ <remove name="right"/>
435
+ <remove name="left"/>
436
+ <reference name="root">
437
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
438
+ </reference>
439
+ <reference name="content">
440
+ <block type="catalog/seo_searchterm" name="seo.searchterm" template="catalog/seo/searchterm.phtml"/>
441
+ </reference>
442
+ </catalog_seo_searchterm_popular>
443
+
444
+ </layout>
app/design/frontend/default/hellowired/layout/catalogsearch.xml ADDED
@@ -0,0 +1,140 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 default_modern
24
+ * @copyright Copyright (c) 2009 Irubin Consulting Inc. DBA Varien (http://www.varien.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
+ <update handle="page_two_columns_left" />
52
+ <remove name="right.reports.product.viewed" />
53
+ <reference name="root">
54
+ <action method="setTemplate"><template>page/2columns-left.phtml</template></action>
55
+ </reference>
56
+ <reference name="left">
57
+ <block type="catalogsearch/layer" name="catalogsearch.leftnav" after="currency" template="catalog/layer/view.phtml"/>
58
+ </reference>
59
+ <reference name="content">
60
+ <block type="catalogsearch/result" name="search.result" template="catalogsearch/result.phtml">
61
+ <block type="catalog/product_list" name="search_result_list" template="catalog/product/list.phtml">
62
+ <block type="catalog/product_list_toolbar" name="product_list_toolbar" template="catalog/product/list/toolbar.phtml">
63
+ <block type="page/html_pager" name="product_list_toolbar_pager"/>
64
+ </block>
65
+ <action method="addColumnCountLayoutDepend"><layout>empty</layout><count>6</count></action>
66
+ <action method="addColumnCountLayoutDepend"><layout>one_column</layout><count>5</count></action>
67
+ <action method="addColumnCountLayoutDepend"><layout>two_columns_left</layout><count>4</count></action>
68
+ <action method="addColumnCountLayoutDepend"><layout>two_columns_right</layout><count>4</count></action>
69
+ <action method="addColumnCountLayoutDepend"><layout>three_columns</layout><count>3</count></action>
70
+ <action method="setToolbarBlockName"><name>product_list_toolbar</name></action>
71
+ </block>
72
+ <action method="setListOrders"/>
73
+ <action method="setListModes"/>
74
+ <action method="setListCollection"/>
75
+ </block>
76
+ </reference>
77
+
78
+ <reference name="right">
79
+ <block type="reports/product_viewed" before="right.permanent.callout" name="left.reports.product.viewed" template="reports/product_viewed.phtml" />
80
+ </reference>
81
+ </catalogsearch_result_index>
82
+
83
+ <catalogsearch_advanced_index translate="label">
84
+ <label>Advanced Search Form</label>
85
+ <!-- Mage_Catalogsearch -->
86
+ <reference name="root">
87
+ <action method="setTemplate"><template>page/2columns-left.phtml</template></action>
88
+ </reference>
89
+ <reference name="head">
90
+ <action method="addItem"><type>js_css</type><name>calendar/calendar-win2k-1.css</name><params/><!--<if/><condition>can_load_calendar_js</condition>--></action>
91
+ <action method="addItem"><type>js</type><name>calendar/calendar.js</name><!--<params/><if/><condition>can_load_calendar_js</condition>--></action>
92
+ <action method="addItem"><type>js</type><name>calendar/calendar-setup.js</name><!--<params/><if/><condition>can_load_calendar_js</condition>--></action>
93
+ </reference>
94
+ <reference name="content">
95
+ <block type="catalogsearch/advanced_form" name="catalogsearch_advanced_form" template="catalogsearch/advanced/form.phtml"/>
96
+ <block type="core/html_calendar" name="html_calendar" as="html_calendar" template="page/js/calendar.phtml"/>
97
+ </reference>
98
+ </catalogsearch_advanced_index>
99
+
100
+ <!--
101
+ Advanced search results
102
+ -->
103
+
104
+ <catalogsearch_advanced_result translate="label">
105
+ <label>Advanced Search Result</label>
106
+ <update handle="page_two_columns_left" />
107
+ <!-- Mage_Catalogsearch -->
108
+ <reference name="root">
109
+ <action method="setTemplate"><template>page/2columns-left.phtml</template></action>
110
+ </reference>
111
+ <reference name="content">
112
+ <block type="catalogsearch/advanced_result" name="catalogsearch_advanced_result" template="catalogsearch/advanced/result.phtml">
113
+ <block type="catalog/product_list" name="search_result_list" template="catalog/product/list.phtml">
114
+ <action method="addColumnCountLayoutDepend"><layout>empty</layout><count>6</count></action>
115
+ <action method="addColumnCountLayoutDepend"><layout>one_column</layout><count>5</count></action>
116
+ <action method="addColumnCountLayoutDepend"><layout>two_columns_left</layout><count>4</count></action>
117
+ <action method="addColumnCountLayoutDepend"><layout>two_columns_right</layout><count>4</count></action>
118
+ <action method="addColumnCountLayoutDepend"><layout>three_columns</layout><count>3</count></action>
119
+ </block>
120
+ <action method="setListOrders"/>
121
+ <action method="setListModes"/>
122
+ <action method="setListCollection"/>
123
+ </block>
124
+ </reference>
125
+ </catalogsearch_advanced_result>
126
+
127
+ <catalogsearch_term_popular translate="label">
128
+ <label>Popular Search Terms</label>
129
+ <remove name="right"/>
130
+ <remove name="left"/>
131
+
132
+ <reference name="root">
133
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
134
+ </reference>
135
+ <reference name="content">
136
+ <block type="catalogsearch/term" name="seo.searchterm" template="catalogsearch/term.phtml"/>
137
+ </reference>
138
+ </catalogsearch_term_popular>
139
+
140
+ </layout>
app/design/frontend/default/hellowired/layout/checkout.xml ADDED
@@ -0,0 +1,423 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 default_modern
24
+ * @copyright Copyright (c) 2009 Irubin Consulting Inc. DBA Varien (http://www.varien.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
+ <reference name="top.links">
39
+ <block type="checkout/links" name="checkout_cart_link">
40
+ <action method="addCartLink"></action>
41
+ <action method="addCheckoutLink"></action>
42
+ </block>
43
+ </reference>
44
+ <reference name="right">
45
+ <block type="checkout/cart_sidebar" name="cart_sidebar" template="checkout/cart/sidebar.phtml" before="-">
46
+ <action method="addItemRender"><type>simple</type><block>checkout/cart_item_renderer</block><template>checkout/cart/sidebar/default.phtml</template></action>
47
+ <action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/cart/sidebar/default.phtml</template></action>
48
+ <action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/cart/sidebar/default.phtml</template></action>
49
+ </block>
50
+ </reference>
51
+ <reference name="head">
52
+ <block type="core/template" name="optional_zip_countries" as="optional_zip_countries" template="directory/js/optional_zip_countries.phtml" />
53
+ </reference>
54
+
55
+ </default>
56
+
57
+ <checkout_cart_index translate="label">
58
+ <label>Shopping Cart</label>
59
+ <remove name="right"/>
60
+ <remove name="left"/>
61
+ <!-- Mage_Checkout -->
62
+ <reference name="root">
63
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
64
+ </reference>
65
+ <reference name="content">
66
+ <block type="checkout/cart" name="checkout.cart">
67
+ <action method="setCartTemplate"><value>checkout/cart.phtml</value></action>
68
+ <action method="setEmptyTemplate"><value>checkout/cart/noItems.phtml</value></action>
69
+ <action method="chooseTemplate"/>
70
+ <action method="addItemRender"><type>simple</type><block>checkout/cart_item_renderer</block><template>checkout/cart/item/default.phtml</template></action>
71
+ <action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/cart/item/default.phtml</template></action>
72
+ <action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/cart/item/default.phtml</template></action>
73
+
74
+ <block type="core/text_list" name="checkout.cart.top_methods" as="top_methods" translate="label">
75
+ <label>Payment Methods Before Checkout Button</label>
76
+ <block type="checkout/onepage_link" name="checkout.cart.methods.onepage" template="checkout/onepage/link.phtml"/>
77
+ </block>
78
+
79
+ <block type="page/html_wrapper" name="checkout.cart.form.before" as="form_before" translate="label">
80
+ <label>Shopping Cart Form Before</label>
81
+ </block>
82
+
83
+ <block type="core/text_list" name="checkout.cart.methods" as="methods" translate="label">
84
+ <label>Payment Methods After Checkout Button</label>
85
+ <block type="checkout/onepage_link" name="checkout.cart.methods.onepage" template="checkout/onepage/link.phtml"/>
86
+ <block type="checkout/multishipping_link" name="checkout.cart.methods.multishipping" template="checkout/multishipping/link.phtml"/>
87
+ </block>
88
+
89
+ <block type="checkout/cart_coupon" name="checkout.cart.coupon" as="coupon" template="checkout/cart/coupon.phtml"/>
90
+ <block type="checkout/cart_shipping" name="checkout.cart.shipping" as="shipping" template="checkout/cart/shipping.phtml"/>
91
+ <block type="checkout/cart_crosssell" name="checkout.cart.crosssell" as="crosssell" template="checkout/cart/crosssell.phtml"/>
92
+
93
+ <block type="checkout/cart_totals" name="checkout.cart.totals" as="totals" template="checkout/cart/totals.phtml"/>
94
+ </block>
95
+ </reference>
96
+ </checkout_cart_index>
97
+ <checkout_cart_configure translate="label">
98
+ <label>Configure Cart Item</label>
99
+ <update handle="catalog_product_view"/>
100
+ <reference name="product.info">
101
+ <block type="checkout/cart_item_configure" name="checkout.cart.item.configure.block"></block>
102
+ </reference>
103
+ </checkout_cart_configure>
104
+ <!--
105
+ Multi address shipping checkout main layout,
106
+ will be rendered on all checkout pages
107
+ -->
108
+
109
+ <checkout_multishipping translate="label">
110
+ <label>Multishipping Checkout</label>
111
+ <!-- Mage_Checkout -->
112
+ <remove name="right"/>
113
+ <remove name="left"/>
114
+
115
+ <reference name="root">
116
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
117
+ </reference>
118
+ <reference name="content">
119
+ <block type="checkout/multishipping_state" name="checkout_state" template="checkout/multishipping/state.phtml"/>
120
+ </reference>
121
+ </checkout_multishipping>
122
+
123
+ <checkout_multishipping_login>
124
+ <update handle="customer_account_login"/>
125
+ </checkout_multishipping_login>
126
+
127
+ <checkout_multishipping_register>
128
+ <update handle="customer_account_create"/>
129
+ </checkout_multishipping_register>
130
+
131
+ <!--
132
+ Multi address shipping checkout selection of address per item page
133
+ -->
134
+
135
+ <checkout_multishipping_address_select translate="label">
136
+ <label>Multishipping Checkout Shipping Address Selection</label>
137
+ <update handle="checkout_multishipping"/>
138
+ <!-- Mage_Checkout -->
139
+ <reference name="content">
140
+ <block type="checkout/multishipping_address_select" name="checkout_address_select" template="checkout/multishipping/address/select.phtml"/>
141
+ </reference>
142
+ </checkout_multishipping_address_select>
143
+
144
+ <checkout_multishipping_address_selectbilling translate="label">
145
+ <label>Multishipping Checkout Billing Address Selection</label>
146
+ <update handle="checkout_multishipping"/>
147
+ <!-- Mage_Checkout -->
148
+ <reference name="content">
149
+ <block type="checkout/multishipping_address_select" name="checkout_address_select" template="checkout/multishipping/address/select.phtml"/>
150
+ </reference>
151
+ </checkout_multishipping_address_selectbilling>
152
+
153
+
154
+ <checkout_multishipping_address_newshipping translate="label">
155
+ <label>Multishipping Checkout Shipping Address Creation</label>
156
+ <update handle="checkout_multishipping"/>
157
+ <update handle="checkout_multishipping_customer_address"/>
158
+ </checkout_multishipping_address_newshipping>
159
+
160
+ <checkout_multishipping_address_newbilling translate="label">
161
+ <label>Multishipping Checkout Billing Address Creation</label>
162
+ <update handle="checkout_multishipping"/>
163
+ <update handle="checkout_multishipping_customer_address"/>
164
+ </checkout_multishipping_address_newbilling>
165
+
166
+ <checkout_multishipping_address_editshipping translate="label">
167
+ <label>Multishipping Checkout Shipping Address Edit Form</label>
168
+ <update handle="checkout_multishipping"/>
169
+ <update handle="checkout_multishipping_customer_address"/>
170
+ </checkout_multishipping_address_editshipping>
171
+
172
+ <checkout_multishipping_address_editaddress>
173
+ <update handle="checkout_multishipping"/>
174
+ <update handle="checkout_multishipping_customer_address"/>
175
+ </checkout_multishipping_address_editaddress>
176
+
177
+ <checkout_multishipping_address_editbilling translate="label">
178
+ <label>Multishipping Checkout Billing Address Edit Form</label>
179
+ <update handle="checkout_multishipping"/>
180
+ <update handle="checkout_multishipping_customer_address"/>
181
+ </checkout_multishipping_address_editbilling>
182
+
183
+ <checkout_multishipping_customer_address translate="label">
184
+ <label>Multishipping Checkout Customer Address Edit Form</label>
185
+ <reference name="content">
186
+ <block type="customer/address_edit" name="customer_address_edit" template="customer/address/edit.phtml"/>
187
+ </reference>
188
+ </checkout_multishipping_customer_address>
189
+
190
+ <!--
191
+ Multi address shipping checkout address page
192
+ -->
193
+
194
+ <checkout_multishipping_addresses translate="label">
195
+ <label>Multishipping Checkout Address (Any) Form</label>
196
+ <update handle="checkout_multishipping"/>
197
+ <!-- Mage_Checkout -->
198
+ <reference name="content">
199
+ <block type="checkout/multishipping_addresses" name="checkout_addresses" template="checkout/multishipping/addresses.phtml">
200
+ <action method="addItemRender"><type>default</type><block>checkout/cart_item_renderer</block><template>checkout/multishipping/item/default.phtml</template></action>
201
+ <action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/multishipping/item/default.phtml</template></action>
202
+ <action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/multishipping/item/default.phtml</template></action>
203
+ </block>
204
+ </reference>
205
+ </checkout_multishipping_addresses>
206
+
207
+ <!--
208
+ Multi address shipping checkout shipping information
209
+ -->
210
+
211
+ <checkout_multishipping_shipping translate="label">
212
+ <label>Multishipping Checkout Shipping Information Step</label>
213
+ <update handle="checkout_multishipping"/>
214
+ <!-- Mage_Checkout -->
215
+ <reference name="content">
216
+ <block type="checkout/multishipping_shipping" name="checkout_shipping" template="checkout/multishipping/shipping.phtml">
217
+ <action method="addItemRender"><type>default</type><block>checkout/cart_item_renderer</block><template>checkout/multishipping/item/default.phtml</template></action>
218
+ <action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/multishipping/item/default.phtml</template></action>
219
+ <action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/multishipping/item/default.phtml</template></action>
220
+
221
+ <block type="checkout/multishipping_billing_items" name="checkout_billing_items" template="checkout/multishipping/billing/items.phtml">
222
+ <action method="addItemRender"><type>default</type><block>checkout/cart_item_renderer</block><template>checkout/multishipping/item/default.phtml</template></action>
223
+ <action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/multishipping/item/default.phtml</template></action>
224
+ <action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/multishipping/item/default.phtml</template></action>
225
+ </block>
226
+ </block>
227
+ </reference>
228
+ </checkout_multishipping_shipping>
229
+
230
+ <!--
231
+ Multi address shipping checkout billing information
232
+ -->
233
+
234
+ <checkout_multishipping_billing translate="label">
235
+ <label>Multishipping Checkout Billing Information Step</label>
236
+ <update handle="checkout_multishipping"/>
237
+ <!-- Mage_Checkout -->
238
+ <reference name="content">
239
+ <block type="checkout/multishipping_billing" name="checkout_billing" template="checkout/multishipping/billing.phtml">
240
+ <action method="setMethodFormTemplate"><method>purchaseorder</method><template>payment/form/purchaseorder.phtml</template></action>
241
+
242
+ <!--<block type="checkout/multishipping_billing_items" name="checkout_billing_items" template="checkout/multishipping/billing/items.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
+ </block>-->
247
+
248
+ </block>
249
+ </reference>
250
+ </checkout_multishipping_billing>
251
+
252
+ <!--
253
+ Multi address shipping checkout overview
254
+ -->
255
+
256
+ <checkout_multishipping_overview translate="label">
257
+ <label>Multishipping Checkout Overview</label>
258
+ <update handle="checkout_multishipping"/>
259
+ <!-- Mage_Checkout -->
260
+ <reference name="content">
261
+ <block type="checkout/multishipping_overview" name="checkout_overview" template="checkout/multishipping/overview.phtml">
262
+ <action method="addItemRender"><type>default</type><block>checkout/cart_item_renderer</block><template>checkout/multishipping/item/default.phtml</template></action>
263
+ <action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/multishipping/item/default.phtml</template></action>
264
+ <action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/multishipping/item/default.phtml</template></action>
265
+ <action method="addRowItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/multishipping/overview/item.phtml</template></action>
266
+ <action method="addRowItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/multishipping/overview/item.phtml</template></action>
267
+ <block type="checkout/multishipping_payment_info" name="payment_info">
268
+ <action method="setInfoTemplate"><method></method><template></template></action>
269
+ </block>
270
+ <block type="checkout/agreements" name="checkout.multishipping.agreements" as="agreements" template="checkout/multishipping/agreements.phtml"/>
271
+ <block type="checkout/cart_totals" name="totals" />
272
+ <block type="core/text_list" name="checkout.multishipping.overview.items.after" as="items_after"/>
273
+ </block>
274
+ </reference>
275
+ </checkout_multishipping_overview>
276
+
277
+ <!--
278
+ Multi address shipping checkout success
279
+ -->
280
+
281
+ <checkout_multishipping_success translate="label">
282
+ <label>Multishipping Checkout Success</label>
283
+ <update handle="checkout_multishipping"/>
284
+ <!-- Mage_Checkout -->
285
+ <reference name="content">
286
+ <block type="checkout/multishipping_success" name="checkout_success" template="checkout/multishipping/success.phtml"/>
287
+ </reference>
288
+ </checkout_multishipping_success>
289
+
290
+ <!--
291
+ One page checkout main layout
292
+ -->
293
+
294
+ <checkout_onepage_index translate="label">
295
+ <label>One Page Checkout</label>
296
+ <!-- Mage_Checkout -->
297
+ <remove name="right"/>
298
+
299
+ <reference name="root">
300
+ <action method="setTemplate"><template>page/2columns-left.phtml</template></action>
301
+ </reference>
302
+ <reference name="left">
303
+ <action method="unsetChildren"></action>
304
+ <block type="page/html_wrapper" name="checkout.progress.wrapper">
305
+ <action method="setElementId"><value>checkout-progress-wrapper</value></action>
306
+ <block type="checkout/onepage_progress" name="checkout.progress" before="-" template="checkout/onepage/progress.phtml"/>
307
+ </block>
308
+ </reference>
309
+ <reference name="content">
310
+ <block type="checkout/onepage" name="checkout.onepage" template="checkout/onepage.phtml">
311
+ <block type="checkout/onepage_login" name="checkout.onepage.login" as="login" template="checkout/onepage/login.phtml">
312
+ <block type="page/html_wrapper" name="checkout.onepage.login.before" as="login_before">
313
+ <action method="setMayBeInvisible"><value>1</value></action>
314
+ </block>
315
+ </block>
316
+ <block type="checkout/onepage_billing" name="checkout.onepage.billing" as="billing" template="checkout/onepage/billing.phtml"/>
317
+ <block type="checkout/onepage_shipping" name="checkout.onepage.shipping" as="shipping" template="checkout/onepage/shipping.phtml"/>
318
+ <block type="checkout/onepage_shipping_method" name="checkout.onepage.shipping_method" as="shipping_method" template="checkout/onepage/shipping_method.phtml">
319
+ <block type="checkout/onepage_shipping_method_available" name="checkout.onepage.shipping_method.available" as="available" template="checkout/onepage/shipping_method/available.phtml"/>
320
+ <block type="checkout/onepage_shipping_method_additional" name="checkout.onepage.shipping_method.additional" as="additional" template="checkout/onepage/shipping_method/additional.phtml"/>
321
+ </block>
322
+ <block type="checkout/onepage_payment" name="checkout.onepage.payment" as="payment" template="checkout/onepage/payment.phtml">
323
+ <block type="checkout/onepage_payment_methods" name="checkout.payment.methods" as="methods" template="checkout/onepage/payment/methods.phtml">
324
+ <action method="setMethodFormTemplate"><method>purchaseorder</method><template>payment/form/purchaseorder.phtml</template></action>
325
+ </block>
326
+ </block>
327
+ <block type="checkout/onepage_review" name="checkout.onepage.review" as="review" template="checkout/onepage/review.phtml">
328
+ <block type="checkout/agreements" name="checkout.onepage.agreements" as="agreements" template="checkout/onepage/agreements.phtml"/>
329
+ </block>
330
+ </block>
331
+ </reference>
332
+ </checkout_onepage_index>
333
+
334
+ <!--
335
+ One page checkout progress block
336
+ -->
337
+
338
+ <checkout_onepage_progress>
339
+ <!-- Mage_Checkout -->
340
+ <remove name="right"/>
341
+ <remove name="left"/>
342
+
343
+ <block type="checkout/onepage_progress" name="root" output="toHtml" template="checkout/onepage/progress.phtml">
344
+ <block type="checkout/onepage_payment_info" name="payment_info">
345
+ <action method="setInfoTemplate"><method></method><template></template></action>
346
+ </block>
347
+ </block>
348
+ </checkout_onepage_progress>
349
+
350
+ <!--
351
+ One page checkout payment methods block
352
+ -->
353
+ <checkout_onepage_paymentmethod>
354
+ <remove name="right"/>
355
+ <remove name="left"/>
356
+
357
+ <block type="checkout/onepage_payment_methods" name="root" output="toHtml" template="checkout/onepage/payment/methods.phtml">
358
+ <action method="setMethodFormTemplate"><method>purchaseorder</method><template>payment/form/purchaseorder.phtml</template></action>
359
+ </block>
360
+ </checkout_onepage_paymentmethod>
361
+
362
+
363
+ <!--
364
+ One page checkout shipping methods block
365
+ -->
366
+
367
+ <checkout_onepage_shippingmethod>
368
+ <!-- Mage_Checkout -->
369
+ <remove name="right"/>
370
+ <remove name="left"/>
371
+
372
+ <block type="checkout/onepage_shipping_method_available" name="root" output="toHtml" template="checkout/onepage/shipping_method/available.phtml"/>
373
+ </checkout_onepage_shippingmethod>
374
+
375
+ <checkout_onepage_additional>
376
+ <!-- Mage_Checkout -->
377
+ <remove name="right"/>
378
+ <remove name="left"/>
379
+
380
+ <block type="checkout/onepage_shipping_method_additional" name="root" output="toHtml" template="checkout/onepage/shipping_method/additional.phtml">
381
+ <action method="setDontDisplayContainer"><param>1</param></action>
382
+ </block>
383
+ </checkout_onepage_additional>
384
+
385
+ <!--
386
+ One page checkout order review block
387
+ -->
388
+
389
+ <checkout_onepage_review>
390
+ <!-- Mage_Checkout -->
391
+ <remove name="right"/>
392
+ <remove name="left"/>
393
+
394
+ <block type="checkout/onepage_review_info" name="root" output="toHtml" template="checkout/onepage/review/info.phtml">
395
+ <block type="core/template" name="checkout.onepage.review.button" as="button" template="checkout/onepage/review/button.phtml"/>
396
+ <action method="addItemRender"><type>default</type><block>checkout/cart_item_renderer</block><template>checkout/onepage/review/item.phtml</template></action>
397
+ <action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/onepage/review/item.phtml</template></action>
398
+ <action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/onepage/review/item.phtml</template></action>
399
+ <block type="checkout/cart_totals" name="checkout.onepage.review.info.totals" as="totals" template="checkout/onepage/review/totals.phtml"/>
400
+ <block type="core/text_list" name="checkout.onepage.review.info.items.before" as="items_before"/>
401
+ <block type="checkout/agreements" name="checkout.onepage.agreements" as="agreements" template="checkout/onepage/agreements.phtml"/>
402
+ </block>
403
+ </checkout_onepage_review>
404
+
405
+ <checkout_onepage_success translate="label">
406
+ <label>One Page Checkout Success</label>
407
+ <reference name="root">
408
+ <action method="setTemplate"><template>page/2columns-left.phtml</template></action>
409
+ </reference>
410
+ <reference name="content">
411
+ <block type="checkout/onepage_success" name="checkout.success" template="checkout/success.phtml"/>
412
+ </reference>
413
+ </checkout_onepage_success>
414
+ <checkout_onepage_failure translate="label">
415
+ <label>One Page Checkout Failure</label>
416
+ <reference name="root">
417
+ <action method="setTemplate"><template>page/2columns-left.phtml</template></action>
418
+ </reference>
419
+ <reference name="content">
420
+ <block type="checkout/onepage_failure" name="checkout.failure" template="checkout/onepage/failure.phtml"/>
421
+ </reference>
422
+ </checkout_onepage_failure>
423
+ </layout>
app/design/frontend/default/hellowired/layout/newsletter.xml ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 default_modern
24
+ * @copyright Copyright (c) 2009 Irubin Consulting Inc. DBA Varien (http://www.varien.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="footer">
39
+ <block type="newsletter/subscribe" name="newsletter" as="newsletter" template="newsletter/subscribe.phtml"/>
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
+ </customer_account>
54
+
55
+ <newsletter_manage_index translate="label">
56
+ <label>Customer My Account Newsletter Subscriptions</label>
57
+ <update handle="customer_account"/>
58
+ <reference name="my.account.wrapper">
59
+ <block type="customer/newsletter" name="customer_newsletter">
60
+ <block type="page/html_wrapper" name="customer.newsletter.form.before" as="form_before">
61
+ <action method="setMayBeInvisible"><value>1</value></action>
62
+ </block>
63
+ </block>
64
+ </reference>
65
+ </newsletter_manage_index>
66
+
67
+ </layout>
app/design/frontend/default/hellowired/layout/page.xml ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 default_modern
24
+ * @copyright Copyright (c) 2009 Irubin Consulting Inc. DBA Varien (http://www.varien.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/3columns.phtml">
36
+
37
+ <block type="page/html_head" name="head" as="head">
38
+ <action method="addJs"><script>lib/ccard.js</script></action>
39
+ <action method="addJs"><script>prototype/prototype.js</script></action>
40
+ <action method="addJs" ifconfig="dev/js/deprecation"><script>prototype/deprecation.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="addItem"><type>skin_js</type><name>js/jquery-1.7.1.min.js</name></action>
54
+ <action method="addItem"><type>skin_js</type><name>js/imgpreview.js</name></action>
55
+ <action method="addItem"><type>skin_js</type><name>js/hello.jquery.js</name></action>
56
+ <action method="addItem"><type>skin_js</type><name>js/less.min.js</name></action>
57
+ <action method="addItem"><type>skin_js</type><name>js/respond.min.js</name><params/><if>IE</if></action>
58
+ <action method="addItem"><type>skin_js</type><name>js/cufon-yui.js</name></action>
59
+ <action method="addItem"><type>skin_js</type><name>js/jquery.cycle.all.js</name></action>
60
+ <action method="addItem"><type>skin_js</type><name>js/custom.js</name></action>
61
+
62
+ <action method="addCss"><stylesheet>css/widgets.css</stylesheet></action>
63
+ <action method="addCss"><stylesheet>css/styles.css</stylesheet></action>
64
+ <action method="addCss"><stylesheet>css/responsive.css</stylesheet></action>
65
+ <action method="addCss"><stylesheet>css/custom.css</stylesheet></action>
66
+ <action method="addItem"><type>skin_css</type><name>css/styles-ie.css</name><params/><if>lt IE 8</if></action>
67
+ <action method="addItem"><type>skin_js</type><name>js/pngfix.js</name><params/><if>lt IE 7</if></action>
68
+ <action method="addItem"><type>js</type><name>lib/ds-sleight.js</name><params/><if>lt IE 7</if></action>
69
+
70
+ <action method="addItem"><type>skin_js</type><name>js/ie6.js</name><params/><if>lt IE 7</if></action>
71
+
72
+ <action method="addCss"><stylesheet>css/print.css</stylesheet><params>media="print"</params></action>
73
+ </block>
74
+
75
+ <block type="core/text_list" name="after_body_start" as="after_body_start"/>
76
+
77
+ <block type="page/html_notices" name="global_notices" as="global_notices" template="page/html/notices.phtml" />
78
+
79
+ <block type="page/html_header" name="header" as="header">
80
+ <block type="core/text_list" name="top.menu" as="topMenu"/>
81
+ <block type="page/switch" name="store_language" as="store_language" template="page/switch/languages.phtml"/>
82
+ <block type="page/template_links" name="top.links" as="topLinks"/>
83
+ <block type="page/html_wrapper" name="top.bar" as="topBar" translate="label">
84
+ <action method="setElementClass"><value>top-bar</value></action>
85
+ <block type="page/html_breadcrumbs" name="breadcrumbs" as="breadcrumbs"/>
86
+ </block>
87
+ <block type="catalog/navigation" name="mobile-nav" as="mobile-nav" template="catalog/navigation/mobile-nav.phtml" />
88
+ <block type="page/html_wrapper" name="top.container" as="topContainer" translate="label">
89
+ <label>Page Header</label>
90
+ <action method="setElementClass"><value>top-container</value></action>
91
+ </block>
92
+ <block type="page/switch" name="store_language" as="store_language" template="page/switch/languages.phtml"/>
93
+ </block>
94
+
95
+ <block type="core/text_list" name="left" as="left" translate="label">
96
+ <label>Left Column</label>
97
+ </block>
98
+
99
+ <block type="core/messages" name="global_messages" as="global_messages"/>
100
+ <block type="core/messages" name="messages" as="messages"/>
101
+
102
+ <block type="core/text_list" name="content" as="content" translate="label">
103
+
104
+ <label>Main Content Area</label>
105
+
106
+
107
+ </block>
108
+
109
+ <block type="core/text_list" name="right" as="right" translate="label">
110
+ <label>Right Column</label>
111
+ </block>
112
+
113
+ <block type="page/html_footer" name="footer" as="footer" template="page/html/footer.phtml">
114
+ <block type="page/html_wrapper" name="bottom.container" as="bottomContainer" translate="label">
115
+ <label>Page Footer</label>
116
+ <action method="setElementClass"><value>bottom-container</value></action>
117
+ </block>
118
+ <block type="page/template_links" name="footer_links" as="footer_links" template="page/template/links.phtml"/>
119
+ <block type="page/switch" name="store_switcher" as="store_switcher" template="page/switch/stores.phtml"/>
120
+ </block>
121
+
122
+ <block type="core/text_list" name="before_body_end" as="before_body_end"/>
123
+ </block>
124
+
125
+ <block type="core/profiler" output="toHtml" name="core_profiler"/>
126
+ </default>
127
+
128
+ <print translate="label" module="page">
129
+ <label>All Pages (Print Version)</label>
130
+ <!-- Mage_Page -->
131
+ <block type="page/html" name="root" output="toHtml" template="page/print.phtml">
132
+
133
+ <block type="page/html_head" name="head" as="head">
134
+ <action method="addJs"><script>lib/ccard.js</script></action>
135
+ <action method="addJs"><script>prototype/prototype.js</script></action>
136
+ <action method="addJs"><script>mage/translate.js</script></action>
137
+ <action method="addJs"><script>prototype/validation.js</script></action>
138
+ <action method="addJs"><script>varien/js.js</script></action>
139
+
140
+ <action method="addCss"><stylesheet>css/widgets.css</stylesheet></action>
141
+ <action method="addCss"><stylesheet>css/styles.css</stylesheet></action>
142
+ <action method="addItem"><type>skin_css</type><name>css/styles-ie.css</name><params/><if>lt IE 8</if></action>
143
+ <action method="addCss"><stylesheet>css/print.css</stylesheet><params>media="print"</params></action>
144
+
145
+ <action method="addItem"><type>js</type><name>lib/ds-sleight.js</name><params/><if>lt IE 7</if></action>
146
+ <action method="addItem"><type>skin_js</type><name>js/ie6.js</name><params/><if>lt IE 7</if></action>
147
+
148
+ </block>
149
+
150
+ <block type="core/text_list" name="content" as="content" translate="label">
151
+ <label>Main Content Area</label>
152
+ </block>
153
+
154
+ </block>
155
+ </print>
156
+
157
+ <!-- Custom page layout handles -->
158
+ <page_empty translate="label">
159
+ <label>All Empty Layout Pages</label>
160
+ <reference name="root">
161
+ <action method="setTemplate"><template>page/empty.phtml</template></action>
162
+ <!-- Mark root page block that template is applied -->
163
+ <action method="setIsHandle"><applied>1</applied></action>
164
+ </reference>
165
+ </page_empty>
166
+
167
+ <page_one_column translate="label">
168
+ <label>All One-Column Layout Pages</label>
169
+ <reference name="root">
170
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
171
+ <!-- Mark root page block that template is applied -->
172
+ <action method="setIsHandle"><applied>1</applied></action>
173
+ </reference>
174
+ </page_one_column>
175
+
176
+ <page_two_columns_left translate="label">
177
+ <label>All Two-Column Layout Pages (Left Column)</label>
178
+ <reference name="root">
179
+ <action method="setTemplate"><template>page/2columns-left.phtml</template></action>
180
+ <!-- Mark root page block that template is applied -->
181
+ <action method="setIsHandle"><applied>1</applied></action>
182
+ </reference>
183
+ </page_two_columns_left>
184
+
185
+ <page_two_columns_right translate="label">
186
+ <label>All Two-Column Layout Pages (Right Column)</label>
187
+ <reference name="root">
188
+ <action method="setTemplate"><template>page/2columns-right.phtml</template></action>
189
+ <!-- Mark root page block that template is applied -->
190
+ <action method="setIsHandle"><applied>1</applied></action>
191
+ </reference>
192
+ </page_two_columns_right>
193
+
194
+ <page_three_columns translate="label">
195
+ <label>All Three-Column Layout Pages</label>
196
+ <reference name="root">
197
+ <action method="setTemplate"><template>page/3columns.phtml</template></action>
198
+ <!-- Mark root page block that template is applied -->
199
+ <action method="setIsHandle"><applied>1</applied></action>
200
+ </reference>
201
+ </page_three_columns>
202
+ </layout>
app/design/frontend/default/hellowired/layout/sendfriend.xml ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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_default
23
+ * @package Mage
24
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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
+ <sendfriend_product_send>
30
+ <reference name="root">
31
+ <action method="setTemplate"><template>page/2columns-left.phtml</template></action>
32
+ </reference>
33
+ <reference name="head">
34
+ <action method="addJs"><script>varien/product.js</script></action>
35
+ </reference>
36
+ <reference name="content">
37
+ <block type="sendfriend/send" name="sendfriend.send" template="sendfriend/send.phtml" />
38
+ </reference>
39
+ </sendfriend_product_send>
40
+ </layout>
app/design/frontend/default/hellowired/locale/en_US/translate.csv ADDED
@@ -0,0 +1 @@
 
1
+ "Keep your eyes open for our special Back to School items and save A LOT!","Keep your eyes open for our special Back to School items and save A LOT!"
app/design/frontend/default/hellowired/template/callouts/connect.phtml ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design
22
+ * @package base_default
23
+ * @copyright Copyright (c) 2009 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <div class="connect">
28
+ <a href="#"><img src="<?php echo $this->getSkinUrl('images/social/twitter_ico.png')?>" width="24" height="24" alt="Twitter" /></a>
29
+ <a href="#"><img src="<?php echo $this->getSkinUrl('images/social/facebook_ico.png')?>" width="24" height="24" alt="Facebook" /></a>
30
+ <a href="#"><img src="<?php echo $this->getSkinUrl('images/social/youtube_ico.png')?>" width="24" height="24" alt="Youtube" /></a>
31
+ </div>
app/design/frontend/default/hellowired/template/catalog/navigation/leftnav.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) 2009 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ /**
29
+ * Top menu for store
30
+ *
31
+ * @see Mage_Catalog_Block_Navigation
32
+ */
33
+ ?>
34
+ <div class="block block-leftnav">
35
+ <div class="block-title"><strong><span><?php echo $this->__('Shop Categories') ?></span></strong></div>
36
+ <div class="block-content">
37
+ <ul id="leftnav">
38
+ <!-- HOME BUTTON HACK -->
39
+
40
+ <?php $_anyActive = false; foreach ($this->getStoreCategories() as $_category) { $_anyActive = $_anyActive || $this->isCategoryActive($_category); } ?>
41
+ <li class="home <?php echo !$_anyActive ? 'active' : '' ?>"><a href="<?php echo $this->getUrl('')?>"><span><?php echo $this->__('Home') ?></span></a></li>
42
+ <!-- HOME BUTTON HACK -->
43
+ <?php foreach ($this->getStoreCategories() as $_category): ?>
44
+ <?php echo $this->drawItem($_category) ?>
45
+ <?php endforeach ?>
46
+ </ul>
47
+ </div>
48
+ </div>
app/design/frontend/default/hellowired/template/catalog/navigation/mobile-nav.phtml ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php $_menu = $this->renderCategoriesMenuHtml(0,'level-top') ?>
2
+ <?php if($_menu): ?>
3
+
4
+ <script type="text/javascript">
5
+
6
+
7
+ jQuery(document).ready(function() {
8
+ jQuery('.toggle').click(function() {
9
+ if (jQuery('.submenu').is(":hidden"))
10
+ {
11
+ jQuery('.submenu').slideDown("fast");
12
+ } else {
13
+ jQuery('.submenu').slideUp("fast");
14
+ }
15
+ return false;
16
+ });
17
+
18
+ });
19
+
20
+
21
+ </script>
22
+ <div id="menu" class="hidden-desktop">
23
+
24
+ <!--div class="menutop clearfix">
25
+ <a class="toggle">Categories <span></span></a>
26
+ </div-->
27
+ <ul id="left-nav" class="submenu" style="display:none;">
28
+ <?php foreach ($this->getStoreCategories() as $_category): ?>
29
+ <?php if ($_category->getIsActive()): ?>
30
+ <?php $isactive = $this->isCategoryActive($_category); ?>
31
+
32
+ <?php $hasChildren = $_category->hasChildren(); ?>
33
+ <li class="category <?php if($isactive) echo 'active'; ?>">
34
+ <a href="<?php echo !$hasChildren ? $this->getCategoryUrl($_category) : $this->getCategoryUrl($_category); ?>" >
35
+ <?php echo $_category->getName();?>
36
+ </a>
37
+ <?php if($hasChildren): ?><span class="arrow" lang="<?php echo $_category->getId();?>"><i></i></span><?php endif ?>
38
+ </li>
39
+ <?php if($hasChildren): ?>
40
+ <li>
41
+ <ul class="subcategory_<?php echo $_category->getId();?> subcategory" style="display:<?php echo $isactive? 'block' : 'none'; ?>;">
42
+ <?php foreach (Mage::getModel('catalog/category')->load($_category->getId())->getChildrenCategories() as $childCategory):?>
43
+ <?php $isactive = $this->isCategoryActive($childCategory); ?>
44
+ <?php $hasmoreChildren = $childCategory->hasChildren(); ?>
45
+ <li class="category cate <?php if($isactive) echo 'active'; ?>" lang="<?php echo $childCategory->getId(); ?>">
46
+ <a href="<?php echo !$hasmoreChildren ? $childCategory->getUrl() : $childCategory->getUrl(); ?>" >
47
+ <?php echo $childCategory->getName(); ?>
48
+ </a>
49
+ <?php if($hasmoreChildren) echo ' <span class="arrow" lang="'.$childCategory->getId().'"><i></i></span>'; ?>
50
+ </li>
51
+ <?php if($hasmoreChildren): ?>
52
+ <li>
53
+ <ul class="subcategory_<?php echo $childCategory->getId(); ?> subcategory" style="display:<?php echo $isactive? 'block' : 'none'; ?>;">
54
+ <?php foreach (Mage::getModel('catalog/category')->load($childCategory->getId())->getChildrenCategories() as $_childCategory):?>
55
+ <?php $isactive = $this->isCategoryActive($_childCategory);?>
56
+ <li class="category cat <?php if($isactive) echo 'active'; ?>">
57
+ <a href="<?php echo $_childCategory->getUrl(); ?>">
58
+ <?php echo $_childCategory->getName(); ?>
59
+ </a>
60
+ </li>
61
+ <?php endforeach; ?>
62
+ </ul>
63
+ </li>
64
+ <?php endif ?>
65
+ <?php endforeach;?>
66
+ </ul>
67
+ </li>
68
+ <?php endif ?>
69
+ <?php endif ?>
70
+ <?php endforeach ?>
71
+ </ul>
72
+ </div>
73
+
74
+ <?php endif ?>
app/design/frontend/default/hellowired/template/catalog/navigation/top.phtml ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design
22
+ * @package base_default
23
+ * @copyright Copyright (c) 2009 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ /**
29
+ * Top menu for store
30
+ *
31
+ * @see Mage_Catalog_Block_Navigation
32
+ */
33
+ ?>
34
+ <?php $_menu = ''?>
35
+ <?php foreach ($this->getStoreCategories() as $_category): ?>
36
+ <?php $_menu .= $this->drawItem($_category) ?>
37
+ <?php endforeach ?>
38
+ <?php if ($_menu): ?>
39
+ <div class="nav-container">
40
+ <ul id="nav">
41
+
42
+
43
+ <?php $_anyActive = false; foreach ($this->getStoreCategories() as $_category) { $_anyActive = $_anyActive || $this->isCategoryActive($_category); } ?>
44
+ <li class="home <?php echo !$_anyActive ? 'active' : '' ?>"><a href="<?php echo $this->getUrl('')?>"><span><?php echo $this->__('Home') ?></span></a></li>
45
+
46
+ <?php echo $_menu; ?>
47
+ </ul>
48
+ </div>
49
+ <?php endif; ?>
app/design/frontend/default/hellowired/template/catalog/product/featured.phtml ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-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_default
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ /**
29
+ * Product list template
30
+ *
31
+ * @see Mage_Catalog_Block_Product_List
32
+ */
33
+ ?>
34
+
35
+
36
+ <?php
37
+ $_productCollection=$this->getLoadedProductCollection();
38
+ $cat_id = $this->category_id;
39
+ $_productCollection = Mage::getResourceModel('catalog/product_collection')
40
+ ->addAttributeToSelect(array('name', 'price', 'small_image', 'status'), 'inner')
41
+ ->addCategoryFilter(Mage::getModel('catalog/category')->load($cat_id));
42
+ ?>
43
+ <?php if(!$_productCollection->count()): ?>
44
+ <div class="note-msg">
45
+ <?php echo $this->__('There are no products matching the selection. Please provide a category ID.') ?>
46
+ </div>
47
+ <?php else: ?>
48
+
49
+ <?php // Grid Mode ?>
50
+
51
+
52
+ <ul id="featured" class="jcarousel-skin-tango">
53
+
54
+ <?php $_collectionSize = $_productCollection->count() ?>
55
+ <?php $i=0; foreach ($_productCollection as $_product): ?>
56
+
57
+
58
+
59
+
60
+ <li><a class="preview" rel="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(300, 300); ?>" href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->htmlEscape($_product->getName()) ?>">
61
+ <img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(105, 105); ?>" width="105" height="105" alt="<?php echo $this->htmlEscape($_product->getName()) ?>" />
62
+ </a> </li>
63
+
64
+
65
+
66
+
67
+ <?php endforeach ?>
68
+
69
+
70
+ </ul>
71
+
72
+
73
+ <?php endif; ?>
app/design/frontend/default/hellowired/template/catalog/product/list.phtml ADDED
@@ -0,0 +1,124 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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) 2009 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ /**
29
+ * Product list template
30
+ *
31
+ * @see Mage_Catalog_Block_Product_List
32
+ */
33
+ ?>
34
+ <?php $_productCollection=$this->getLoadedProductCollection() ?>
35
+ <?php if(!$_productCollection->count()): ?>
36
+ <p class="note-msg"><?php echo $this->__('There are no products matching the selection.') ?></p>
37
+ <?php else: ?>
38
+ <div class="category-products">
39
+ <?php echo $this->getToolbarHtml() ?>
40
+ <?php // List mode ?>
41
+ <?php if($this->getMode()!='grid'): ?>
42
+ <?php $_iterator = 0; ?>
43
+ <ol class="products-list" id="products-list">
44
+ <?php foreach ($_productCollection as $_product): ?>
45
+ <li class="item<?php if( ++$_iterator == sizeof($_productCollection) ): ?> last<?php endif; ?>">
46
+ <?php // Product Image ?>
47
+ <a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->htmlEscape($this->getImageLabel($_product, 'small_image')) ?>" class="product-image"><img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(170); ?>" width="170" height="170" alt="<?php echo $this->htmlEscape($this->getImageLabel($_product, 'small_image')) ?>" /></a>
48
+ <?php // Product description ?>
49
+ <div class="product-shop">
50
+ <div class="f-fix">
51
+ <h2 class="product-name"><a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->htmlEscape($_product->getName()) ?>"><?php echo $this->htmlEscape($_product->getName())?></a></h2>
52
+ <?php if($_product->getRatingSummary()): ?>
53
+ <?php echo $this->getReviewsSummaryHtml($_product) ?>
54
+ <?php endif; ?>
55
+ <?php echo $this->getPriceHtml($_product, true) ?>
56
+ <?php if($_product->isSaleable()): ?>
57
+ <p><button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button></p>
58
+ <?php else: ?>
59
+ <p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
60
+ <?php endif; ?>
61
+ <div class="desc std">
62
+ <?php echo nl2br($_product->getShortDescription()) ?>
63
+ <a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->htmlEscape($_product->getName()) ?>" class="link-more"><?php echo $this->__('Learn More') ?></a>
64
+ </div>
65
+ <ul class="add-to-links">
66
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
67
+ <li><a href="<?php echo $this->helper('wishlist')->getAddUrl($_product) ?>" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a></li>
68
+ <?php endif; ?>
69
+ <?php if($_compareUrl=$this->getAddToCompareUrl($_product)): ?>
70
+ <li><span class="separator">|</span> <a href="<?php echo $_compareUrl ?>" class="link-compare"><?php echo $this->__('Add to Compare') ?></a></li>
71
+ <?php endif; ?>
72
+ </ul>
73
+ </div>
74
+ </div>
75
+ </li>
76
+ <?php endforeach; ?>
77
+ </ol>
78
+ <script type="text/javascript">decorateList('products-list', 'none-recursive')</script>
79
+
80
+ <?php else: ?>
81
+
82
+ <?php // Grid Mode ?>
83
+
84
+ <?php $_collectionSize = $_productCollection->count() ?>
85
+ <?php $_columnCount = $this->getColumnCount(); ?>
86
+ <?php $i=0; foreach ($_productCollection as $_product): ?>
87
+ <?php if ($i++%$_columnCount==0): ?>
88
+ <ul class="products-grid">
89
+ <?php endif ?>
90
+ <li class="item<?php if(($i-1)%$_columnCount==0): ?> first<?php elseif($i%$_columnCount==0): ?> last<?php endif; ?>">
91
+ <a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->htmlEscape($this->getImageLabel($_product, 'small_image')) ?>" class="product-image"><img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(170); ?>" width="170" height="170" alt="<?php echo $this->htmlEscape($this->getImageLabel($_product, 'small_image')) ?>" /></a>
92
+ <h2 class="product-name"><a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->htmlEscape($_product->getName()) ?>"><?php echo $this->htmlEscape($_product->getName()) ?></a></h2>
93
+ <?php if($_product->getRatingSummary()): ?>
94
+ <?php echo $this->getReviewsSummaryHtml($_product, 'short') ?>
95
+ <?php endif; ?>
96
+ <?php echo $this->getPriceHtml($_product, true) ?>
97
+ <div class="actions">
98
+ <?php if($_product->isSaleable()): ?>
99
+ <button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button>
100
+ <?php else: ?>
101
+ <p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
102
+ <?php endif; ?>
103
+ <ul class="add-to-links">
104
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
105
+ <li><a href="<?php echo $this->helper('wishlist')->getAddUrl($_product) ?>" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a></li>
106
+ <?php endif; ?>
107
+ <?php if($_compareUrl=$this->getAddToCompareUrl($_product)): ?>
108
+ <li><span class="separator">|</span> <a href="<?php echo $_compareUrl ?>" class="link-compare"><?php echo $this->__('Add to Compare') ?></a></li>
109
+ <?php endif; ?>
110
+ </ul>
111
+ </div>
112
+ </li>
113
+ <?php if ($i%$_columnCount==0 || $i==$_collectionSize): ?>
114
+ </ul>
115
+ <?php endif ?>
116
+ <?php endforeach ?>
117
+ <script type="text/javascript">decorateGeneric($$('ul.products-grid'), ['odd','even','first','last'])</script>
118
+ <?php endif; ?>
119
+
120
+ <div class="toolbar-bottom">
121
+ <?php echo $this->getToolbarHtml() ?>
122
+ </div>
123
+ </div>
124
+ <?php endif; ?>
app/design/frontend/default/hellowired/template/catalog/product/list/toolbar/pager.phtml ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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) 2009 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ /**
29
+ * Products list Pagination
30
+ *
31
+ * @see Mage_Catalog_Block_Product_List_Toolbar_Pager
32
+ */
33
+ ?>
34
+
35
+ <ol>
36
+ <?php if (!$this->isFirstPage()): ?>
37
+ <li><a class="previous" href="<?php echo $this->getPreviousPageUrl() ?>" title="<?php echo $this->__('Previous') ?>"><img src="<?php echo $this->getSkinUrl('images/pager_arrow_left.gif') ?>" alt="<?php echo $this->__('Previous') ?>" class="v-middle" /></a></li>
38
+ <?php endif;?>
39
+
40
+ <?php if ($this->canShowFirst()): ?>
41
+ <li><a class="first" href="<?php echo $this->getFirstPageUrl() ?>">1</a></li>
42
+ <?php endif;?>
43
+
44
+ <?php if ($this->canShowPreviousJump()): ?>
45
+ <li><a class="previous_jump" title="" href="<?php echo $this->getPreviousJumpUrl() ?>">...</a></li>
46
+ <?php endif;?>
47
+
48
+ <?php foreach ($this->getFramePages() as $_page): ?>
49
+ <?php if ($this->isPageCurrent($_page)): ?>
50
+ <li class="current"><?php echo $_page ?></li>
51
+ <?php else: ?>
52
+ <li><a href="<?php echo $this->getPageUrl($_page) ?>"><?php echo $_page ?></a></li>
53
+ <?php endif;?>
54
+ <?php endforeach;?>
55
+
56
+
57
+ <?php if ($this->canShowNextJump()): ?>
58
+ <li><a class="next_jump" title="" href="<?php echo $this->getNextJumpUrl() ?>">...</a></li>
59
+ <?php endif;?>
60
+
61
+ <?php if ($this->canShowLast()): ?>
62
+ <li><a class="last" href="<?php echo $this->getLastPageUrl() ?>"><?php echo $this->getLastPageNum() ?></a><li>
63
+ <?php endif;?>
64
+
65
+ <?php if (!$this->isLastPage()): ?>
66
+ <li><a class="next" href="<?php echo $this->getNextPageUrl() ?>" title="<?php echo $this->__('Next') ?>"><img src="<?php echo $this->getSkinUrl('images/pager_arrow_right.gif') ?>" alt="<?php echo $this->__('Next') ?>" class="v-middle" /></a></li>
67
+ <?php endif;?>
68
+ </ol>
app/design/frontend/default/hellowired/template/catalog/product/list/upsell.phtml ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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) 2009 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php if(count($this->getItemCollection()->getItems())): ?>
28
+ <div class="box-collateral box-up-sell">
29
+ <h2><?php echo $this->__('You may also be interested in the following product(s)') ?></h2>
30
+ <table class="mini-products-grid" id="upsell-product-table">
31
+ <?php // $this->setColumnCount(5); // uncomment this line if you want to have another number of columns. also can be changed in layout ?>
32
+ <?php $this->resetItemsIterator() ?>
33
+ <?php for($_i=0;$_i<$this->getRowCount();$_i++): ?>
34
+ <tr>
35
+ <?php for($_j=0;$_j<$this->getColumnCount();$_j++): ?>
36
+ <?php if($_link=$this->getIterableItem()): ?>
37
+ <td>
38
+ <a href="<?php echo $_link->getProductUrl() ?>" title="<?php echo $this->htmlEscape($_link->getName()) ?>" class="product-image"><img src="<?php echo $this->helper('catalog/image')->init($_link, 'small_image')->resize(125) ?>" width="125" height="125" alt="<?php echo $this->htmlEscape($_link->getName()) ?>" /></a>
39
+ <h3 class="product-name"><a href="<?php echo $_link->getProductUrl() ?>" title="<?php echo $this->htmlEscape($_link->getName()) ?>"><?php echo $this->htmlEscape($_link->getName()) ?></a></h3>
40
+ <?php echo $this->getPriceHtml($_link, true, '-upsell') ?>
41
+ <?php echo $this->getReviewsSummaryHtml($_link) ?>
42
+ </td>
43
+ <?php else: ?>
44
+ <td class="empty">&nbsp;</td>
45
+ <?php endif; ?>
46
+ <?php endfor; ?>
47
+ </tr>
48
+ <?php endfor; ?>
49
+ </table>
50
+ <script type="text/javascript">decorateTable('upsell-product-table')</script>
51
+ </div>
52
+ <?php endif ?>
app/design/frontend/default/hellowired/template/catalog/product/view.phtml ADDED
@@ -0,0 +1,118 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design
22
+ * @package default_modern
23
+ * @copyright Copyright (c) 2009 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+
27
+ /**
28
+ * Product view template
29
+ *
30
+ * @see Mage_Catalog_Block_Product_View
31
+ * @see Mage_Review_Block_Product_View
32
+ */
33
+ ?>
34
+ <?php
35
+ $_helper = $this->helper('catalog/output');
36
+ $_product = $this->getProduct();
37
+ ?>
38
+ <script type="text/javascript">
39
+ var optionsPrice = new Product.OptionsPrice(<?php echo $this->getJsonConfig() ?>);
40
+ </script>
41
+ <div id="messages_product_view"><?php echo $this->getMessagesBlock()->getGroupedHtml() ?></div>
42
+ <div class="product-view">
43
+ <div class="product-essential">
44
+ <form action="<?php echo $this->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
+ <?php if ($this->canEmailToFriend()): ?>
56
+ <p class="email-friend"><a href="<?php echo $this->helper('catalog/product')->getEmailToFriendUrl($_product) ?>"><?php echo $this->__('Email to a Friend') ?></a></p>
57
+ <?php endif; ?>
58
+
59
+ <?php echo $this->getReviewsSummaryHtml($_product, false, true)?>
60
+ <?php echo $this->getChildHtml('alert_urls') ?>
61
+ <?php echo $this->getChildHtml('product_type_data') ?>
62
+ <?php echo $this->getTierPriceHtml() ?>
63
+
64
+ <?php if (!$this->hasOptions()):?>
65
+ <div class="add-to-box">
66
+ <?php if($_product->isSaleable()): ?>
67
+ <?php echo $this->getChildHtml('addtocart') ?>
68
+ <?php if( $this->helper('wishlist')->isAllow() || $_compareUrl=$this->helper('catalog/product_compare')->getAddUrl($_product)): ?>
69
+ <span class="or"><?php echo $this->__('OR') ?></span>
70
+ <?php endif; ?>
71
+ <?php endif; ?>
72
+ <?php echo $this->getChildHtml('addto') ?>
73
+ </div>
74
+ <?php else:?>
75
+ <?php echo $this->getChildHtml('addto') ?>
76
+ <?php endif; ?>
77
+
78
+ <?php if ($_product->getShortDescription()):?>
79
+ <div class="short-description">
80
+ <h2><?php echo $this->__('Quick Overview') ?></h2>
81
+ <div class="std"><?php echo $_helper->productAttribute($_product, nl2br($_product->getShortDescription()), 'short_description') ?></div>
82
+ </div>
83
+ <?php endif;?>
84
+
85
+ <?php echo $this->getChildHtml('other');?>
86
+
87
+ <?php if ($_product->isSaleable() && $this->hasOptions()):?>
88
+ <?php echo $this->getChildChildHtml('container1', '', true, true) ?>
89
+ <?php endif;?>
90
+
91
+ </div>
92
+
93
+ <div class="product-img-box">
94
+ <?php echo $this->getChildHtml('media') ?>
95
+ </div>
96
+
97
+ <div class="clearer"></div>
98
+ <?php if ($_product->isSaleable() && $this->hasOptions()):?>
99
+ <?php echo $this->getChildChildHtml('container2', '', true, true) ?>
100
+ <?php endif;?>
101
+ </form>
102
+ <script type="text/javascript">
103
+ //<![CDATA[
104
+ var productAddToCartForm = new VarienForm('product_addtocart_form');
105
+ productAddToCartForm.submit = function(){
106
+ if (this.validator.validate()) {
107
+ this.form.submit();
108
+ }
109
+ }.bind(productAddToCartForm);
110
+ //]]>
111
+ </script>
112
+ </div>
113
+
114
+ <div class="product-collateral">
115
+ <?php echo $this->getChildHtml('info_tabs') ?>
116
+ <?php echo $this->getChildHtml('product_additional_data') ?>
117
+ </div>
118
+ </div>
app/design/frontend/default/hellowired/template/catalog/product/view/media.phtml ADDED
@@ -0,0 +1,80 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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) 2009 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+
27
+ /**
28
+ * Product 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
+ <?php if ($_product->getImage() != 'no_selection' && $_product->getImage()): ?>
38
+ <p class="product-image product-image-zoom">
39
+ <?php
40
+ $_img = '<img id="image" src="'.$this->helper('catalog/image')->init($_product, 'image').'" alt="'.$this->htmlEscape($this->getImageLabel()).'" title="'.$this->htmlEscape($this->getImageLabel()).'" />';
41
+ echo $_helper->productAttribute($_product, $_img, 'image');
42
+ ?>
43
+ </p>
44
+ <p class="zoom-notice" id="track_hint"><?php echo $this->__('Double click on above image to view full picture') ?></p>
45
+ <div class="zoom">
46
+ <img id="zoom_out" src="<?php echo $this->getSkinUrl('images/slider_btn_zoom_out.gif') ?>" alt="<?php echo $this->__('Zoom Out') ?>" title="<?php echo $this->__('Zoom Out') ?>" class="btn-zoom-out" />
47
+ <div id="track">
48
+ <div id="handle"></div>
49
+ </div>
50
+ <img id="zoom_in" src="<?php echo $this->getSkinUrl('images/slider_btn_zoom_in.gif') ?>" alt="<?php echo $this->__('Zoom In') ?>" title="<?php echo $this->__('Zoom In') ?>" class="btn-zoom-in" />
51
+ </div>
52
+ <script type="text/javascript">
53
+ //<![CDATA[
54
+ Event.observe(window, 'load', function() {
55
+ product_zoom = new Product.Zoom('image', 'track', 'handle', 'zoom_in', 'zoom_out', 'track_hint');
56
+ });
57
+ //]]>
58
+ </script>
59
+ <?php else: ?>
60
+ <p class="product-image">
61
+ <?php
62
+ $_img = '<img src="'.$this->helper('catalog/image')->init($_product, 'image')->resize(300).'" alt="'.$this->htmlEscape($this->getImageLabel()).'" title="'.$this->htmlEscape($this->getImageLabel()).'" />';
63
+ echo $_helper->productAttribute($_product, $_img, 'image');
64
+ ?>
65
+ </p>
66
+ <?php endif; ?>
67
+ <?php if (count($this->getGalleryImages()) > 0): ?>
68
+ <div class="more-views">
69
+ <h2><?php echo $this->__('More Views') ?></h2>
70
+ <ul>
71
+ <?php foreach ($this->getGalleryImages() as $_image): ?>
72
+ <li>
73
+ <a class="group" rel="group" href="<?php echo $this->helper('catalog/image')->init($this->getProduct(), 'thumbnail', $_image->getFile())->resize(600, 600); ?><?php // echo $this->helper('catalog/image')->init($this->getProduct(), 'image', $_image->getFile()); ?>" title="<?php echo $this->htmlEscape($_image->getLabel()) ?>" >
74
+ <img src="<?php echo $this->helper('catalog/image')->init($this->getProduct(), 'thumbnail', $_image->getFile())->resize(70, 70); ?>" alt="<?php echo $this->htmlEscape($this->getImageLabel($_product, 'small_image')) ?>"/>
75
+ </a>
76
+ </li>
77
+ <?php endforeach; ?>
78
+ </ul>
79
+ </div>
80
+ <?php endif; ?>
app/design/frontend/default/hellowired/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) 2009 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+
27
+ /**
28
+ * Product view template
29
+ *
30
+ * @see Mage_Catalog_Block_Product_View
31
+ */
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/hellowired/template/catalogsearch/form.mini.phtml ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design
22
+ * @package default_modern
23
+ * @copyright Copyright (c) 2009 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <form id="search_mini_form" action="<?php echo $this->helper('catalogsearch')->getResultUrl() ?>" method="get">
28
+ <div class="form-search">
29
+ <label for="search"><?php echo $this->__('Search') ?></label>
30
+ <input id="search" type="text" name="<?php echo $this->helper('catalogsearch')->getQueryParamName() ?>" value="<?php echo $this->helper('catalogsearch')->getEscapedQueryText() ?>" class="input-text" />
31
+ <input type="image" class="search_btn" src="<?php echo $this->getSkinUrl('images/icons/search_ico.gif') ?>" value="<?php echo $this->__('Go') ?>"/> <div id="search_autocomplete" class="search-autocomplete"></div>
32
+ <script type="text/javascript">
33
+ //<![CDATA[
34
+ var searchForm = new Varien.searchForm('search_mini_form', 'search', '<?php echo $this->__('Search entire store here...') ?>');
35
+ searchForm.initAutocomplete('<?php echo $this->helper('catalogsearch')->getSuggestUrl() ?>', 'search_autocomplete');
36
+ //]]>
37
+ </script>
38
+ </div>
39
+ </form>
app/design/frontend/default/hellowired/template/checkout/cart.phtml ADDED
@@ -0,0 +1,139 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+
35
+ <div class="cart">
36
+ <div class="page-title title-buttons">
37
+ <h1><?php echo $this->__('Shopping Cart') ?></h1>
38
+ <?php if(!$this->hasError()): ?>
39
+ <ul class="checkout-types">
40
+ <?php foreach ($this->getMethods('top_methods') as $method): ?>
41
+ <?php if ($methodHtml = $this->getMethodHtml($method)): ?>
42
+ <li><?php echo $methodHtml; ?></li>
43
+ <?php endif; ?>
44
+ <?php endforeach; ?>
45
+ </ul>
46
+ <?php endif; ?>
47
+ </div>
48
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
49
+ <?php echo $this->getChildHtml('form_before') ?>
50
+ <form action="<?php echo $this->getUrl('checkout/cart/updatePost') ?>" method="post">
51
+ <fieldset>
52
+ <table id="shopping-cart-table" class="data-table cart-table">
53
+ <col width="1" />
54
+ <col />
55
+ <col width="1" />
56
+ <?php if ($this->helper('wishlist')->isAllowInCart()) : ?>
57
+ <col width="1" />
58
+ <?php endif ?>
59
+ <?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
60
+ <col width="1" />
61
+ <?php endif; ?>
62
+ <?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
63
+ <col width="1" />
64
+ <?php endif; ?>
65
+ <col width="1" />
66
+ <?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
67
+ <col width="1" />
68
+ <?php endif; ?>
69
+ <?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
70
+ <col width="1" />
71
+ <?php endif; ?>
72
+ <col width="1" />
73
+
74
+ <?php $mergedCells = ($this->helper('tax')->displayCartBothPrices() ? 2 : 1); ?>
75
+ <thead>
76
+ <tr>
77
+ <th rowspan="<?php echo $mergedCells; ?>">&nbsp;</th>
78
+ <th rowspan="<?php echo $mergedCells; ?>"><span class="nobr"><?php echo $this->__('Product Name') ?></span></th>
79
+ <th rowspan="<?php echo $mergedCells; ?>"></th>
80
+ <?php if ($this->helper('wishlist')->isAllowInCart()) : ?>
81
+ <th rowspan="<?php echo $mergedCells; ?>" class="a-center"><span class="nobr"><?php echo $this->__('Move to Wishlist') ?></span></th>
82
+ <?php endif ?>
83
+ <th class="a-center" colspan="<?php echo $mergedCells; ?>"><span class="nobr"><?php echo $this->__('Unit Price') ?></span></th>
84
+ <th rowspan="<?php echo $mergedCells; ?>" class="a-center"><?php echo $this->__('Qty') ?></th>
85
+ <th class="a-center" colspan="<?php echo $mergedCells; ?>"><?php echo $this->__('Subtotal') ?></th>
86
+ <th rowspan="<?php echo $mergedCells; ?>" class="a-center">&nbsp;</th>
87
+ </tr>
88
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
89
+ <tr>
90
+ <th class="a-right"><?php echo $this->helper('tax')->getIncExcTaxLabel(false) ?></th>
91
+ <th><?php echo $this->helper('tax')->getIncExcTaxLabel(true) ?></th>
92
+ <th class="a-right"><?php echo $this->helper('tax')->getIncExcTaxLabel(false) ?></th>
93
+ <th><?php echo $this->helper('tax')->getIncExcTaxLabel(true) ?></th>
94
+ </tr>
95
+ <?php endif; ?>
96
+ </thead>
97
+ <tfoot>
98
+ <tr>
99
+ <td colspan="50" class="a-right">
100
+ <?php if($this->getContinueShoppingUrl()): ?>
101
+ <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>
102
+ <?php endif; ?>
103
+ <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>
104
+ </td>
105
+ </tr>
106
+ </tfoot>
107
+ <tbody>
108
+ <?php foreach($this->getItems() as $_item): ?>
109
+ <?php echo $this->getItemHtml($_item) ?>
110
+ <?php endforeach ?>
111
+ </tbody>
112
+ </table>
113
+ <script type="text/javascript">decorateTable('shopping-cart-table')</script>
114
+ </fieldset>
115
+ </form>
116
+ <div class="cart-collaterals">
117
+ <div class="col2-set">
118
+ <div class="col-1">
119
+ <?php echo $this->getChildHtml('crosssell') ?>
120
+ </div>
121
+ <div class="col-2">
122
+ <?php echo $this->getChildHtml('coupon') ?>
123
+ <?php if (!$this->getIsVirtual()): echo $this->getChildHtml('shipping'); endif; ?>
124
+ <div class="totals">
125
+ <?php echo $this->getChildHtml('totals'); ?>
126
+ <?php if(!$this->hasError()): ?>
127
+ <ul class="checkout-types">
128
+ <?php foreach ($this->getMethods('methods') as $method): ?>
129
+ <?php if ($methodHtml = $this->getMethodHtml($method)): ?>
130
+ <li><?php echo $methodHtml; ?></li>
131
+ <?php endif; ?>
132
+ <?php endforeach; ?>
133
+ </ul>
134
+ <?php endif; ?>
135
+ </div>
136
+ </div>
137
+ </div>
138
+ </div>
139
+ </div>
app/design/frontend/default/hellowired/template/newsletter/subscribe-home.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 default_modern
23
+ * @copyright Copyright (c) 2009 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <form action="<?php echo $this->getFormActionUrl() ?>" method="post" id="newsletter-validate-detail">
28
+ <div class="form-subscribe">
29
+ <label for="newsletter"><?php echo $this->__('Newsletter Sign-up:') ?></label>
30
+ <div class="input-box">
31
+ <input type="text" name="email" id="newsletter" title="<?php echo $this->__('Sign up for our newsletter') ?>" class="input-text required-entry validate-email" />
32
+ </div>
33
+ <button type="submit" title="<?php echo $this->__('Submit') ?>" class="button"><span><span><?php echo $this->__('Submit') ?></span></span></button>
34
+ </div>
35
+ </form>
36
+ <script type="text/javascript">
37
+ //<![CDATA[
38
+ var newsletterSubscriberFormDetail = new VarienForm('newsletter-validate-detail');
39
+ new Varien.searchForm('newsletter-validate-detail', 'newsletter', '<?php echo $this->helper('newsletter')->__('Enter your email address') ?>');
40
+ //]]>
41
+ </script>
app/design/frontend/default/hellowired/template/newsletter/subscribe.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 default_modern
23
+ * @copyright Copyright (c) 2009 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <form action="<?php echo $this->getFormActionUrl() ?>" method="post" id="newsletter-validate-detail">
28
+ <div class="form-subscribe">
29
+ <label for="newsletter"><?php echo $this->__('Newsletter Sign-up:') ?></label>
30
+ <div class="input-box">
31
+ <input type="text" name="email" id="newsletter" title="<?php echo $this->__('Sign up for our newsletter') ?>" class="input-text required-entry validate-email" />
32
+ </div>
33
+ <button type="submit" title="<?php echo $this->__('Submit') ?>" class="button"><span><span><?php echo $this->__('Submit') ?></span></span></button>
34
+ </div>
35
+ </form>
36
+ <script type="text/javascript">
37
+ //<![CDATA[
38
+ var newsletterSubscriberFormDetail = new VarienForm('newsletter-validate-detail');
39
+ new Varien.searchForm('newsletter-validate-detail', 'newsletter', '<?php echo $this->helper('newsletter')->__('Enter your email address') ?>');
40
+ //]]>
41
+ </script>
app/design/frontend/default/hellowired/template/page/1column.phtml ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design
22
+ * @package base_default
23
+ * @copyright Copyright (c) 2009 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ /**
29
+ * 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
+ <div class="inner-wrapper">
41
+ <?php echo $this->getChildHtml('global_notices') ?>
42
+ <div class="page">
43
+ <?php echo $this->getChildHtml('header') ?>
44
+ <div class="main-container col1-layout">
45
+ <div class="main row">
46
+ <?php echo $this->getChildHtml('breadcrumbs') ?>
47
+ <div class="col-main span12">
48
+ <?php echo $this->getChildHtml('global_messages') ?>
49
+ <?php echo $this->getChildHtml('content') ?>
50
+ </div>
51
+ </div>
52
+ </div>
53
+ <?php echo $this->getChildHtml('footer') ?>
54
+ <?php echo $this->getChildHtml('before_body_end') ?>
55
+ </div>
56
+ </div> <!-- end .inner-wrapper-->
57
+ </div>
58
+ <?php echo $this->getAbsoluteFooter() ?>
59
+ </body>
60
+ </html>
app/design/frontend/default/hellowired/template/page/2columns-left.phtml ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design
22
+ * @package base_default
23
+ * @copyright Copyright (c) 2009 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ /**
29
+ * 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
+ <div class="inner-wrapper">
41
+ <?php echo $this->getChildHtml('global_notices') ?>
42
+ <div class="page">
43
+ <?php echo $this->getChildHtml('header') ?>
44
+ <div class="main-container col2-left-layout">
45
+ <div class="main row">
46
+ <?php echo $this->getChildHtml('breadcrumbs') ?>
47
+ <div class="col-main span9">
48
+ <?php echo $this->getChildHtml('global_messages') ?>
49
+ <?php echo $this->getChildHtml('content') ?>
50
+ </div>
51
+ <div class="col-left sidebar span3"><?php echo $this->getChildHtml('left') ?></div>
52
+ </div>
53
+ </div>
54
+ <?php echo $this->getChildHtml('footer') ?>
55
+ <?php echo $this->getChildHtml('before_body_end') ?>
56
+ </div>
57
+ </div>
58
+ </div>
59
+ <?php echo $this->getAbsoluteFooter() ?>
60
+ </body>
61
+ </html>
app/design/frontend/default/hellowired/template/page/2columns-right.phtml ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design
22
+ * @package base_default
23
+ * @copyright Copyright (c) 2009 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ /**
29
+ * 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
+ <div class="inner-wrapper">
41
+ <?php echo $this->getChildHtml('global_notices') ?>
42
+ <div class="page">
43
+ <?php echo $this->getChildHtml('header') ?>
44
+ <div class="main-container col2-right-layout">
45
+ <div class="main row">
46
+ <?php echo $this->getChildHtml('breadcrumbs') ?>
47
+ <div class="col-main span9">
48
+ <?php echo $this->getChildHtml('global_messages') ?>
49
+ <?php echo $this->getChildHtml('content') ?>
50
+ </div>
51
+ <div class="col-right sidebar span3"><?php echo $this->getChildHtml('right') ?></div>
52
+ </div>
53
+ </div>
54
+ <?php echo $this->getChildHtml('footer') ?>
55
+ <?php echo $this->getChildHtml('before_body_end') ?>
56
+ </div>
57
+ </div>
58
+ </div>
59
+ <?php echo $this->getAbsoluteFooter() ?>
60
+ </body>
61
+ </html>
app/design/frontend/default/hellowired/template/page/3columns.phtml ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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) 2009 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ /**
29
+ * 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
+ <div class="inner-wrapper">
41
+ <?php echo $this->getChildHtml('global_notices') ?>
42
+ <div class="page">
43
+ <?php echo $this->getChildHtml('header') ?>
44
+ <div class="main-container col3-layout">
45
+ <div class="main row">
46
+ <?php echo $this->getChildHtml('breadcrumbs') ?>
47
+ <?php /*<div class="col-wrapper">*/ ?>
48
+ <div class="col-left sidebar span3"><?php echo $this->getChildHtml('left') ?></div>
49
+ <div class="col-main span6">
50
+ <?php echo $this->getChildHtml('global_messages') ?>
51
+ <?php echo $this->getChildHtml('content') ?>
52
+ </div>
53
+ <div class="col-right sidebar span3"><?php echo $this->getChildHtml('right') ?></div>
54
+ </div>
55
+ <?php /*<div class="col-right sidebar"><?php echo $this->getChildHtml('right') ?></div>*/ ?>
56
+ <?php /*</div>*/ ?>
57
+ </div>
58
+ <?php echo $this->getChildHtml('footer') ?>
59
+ <?php echo $this->getChildHtml('before_body_end') ?>
60
+ </div>
61
+ </div>
62
+ </div>
63
+ <?php echo $this->getAbsoluteFooter() ?>
64
+ </body>
65
+ </html>
app/design/frontend/default/hellowired/template/page/html/footer.phtml ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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) 2009 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <div class="footer-container">
28
+ <div class="footer">
29
+ <?php echo $this->getChildHtml('bottomContainer') ?>
30
+
31
+ <div class="footer-links">
32
+
33
+ <?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('footerLinks')->toHtml() ?>
34
+
35
+ <div class="payment">
36
+ <img src="<?php echo $this->getSkinUrl('images/creditcards.gif'); ?>" alt="We Accept all Major Credit Cards" />
37
+ </div>
38
+
39
+
40
+ <?php //echo $this->getChildHtml('cms_footer_links') ?>
41
+ <?php //echo $this->getChildHtml('footer_links') ?>
42
+ <?php //echo $this->getChildHtml('newsletter') ?>
43
+ <!-- -->
44
+ </div>
45
+
46
+ </div>
47
+
48
+
49
+ </div>
50
+ <div class="copyright">
51
+ <div class="f-left">
52
+ <address><?php echo $this->getCopyright() ?></address></div>
53
+ <div class="f-right">
54
+ <a href="http://www.hellothemes.com/" title="Magento Templates">Magento Templates</a> by <a href="http://www.hellothemes.com/" title="Magento Themes"><img src="<?php echo $this->getSkinUrl('images/media/hellothemes.png') ?>" alt="Magento Themes" /></a>
55
+ </div>
56
+ <div style="clear:both;"></div>
57
+ </div>
58
+
app/design/frontend/default/hellowired/template/page/html/head.phtml ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ <meta http-equiv="Content-Type" content="<?php echo $this->getContentType() ?>" />
28
+ <title><?php echo $this->getTitle() ?></title>
29
+ <meta name="description" content="<?php echo htmlspecialchars($this->getDescription()) ?>" />
30
+ <meta name="keywords" content="<?php echo htmlspecialchars($this->getKeywords()) ?>" />
31
+ <meta name="robots" content="<?php echo htmlspecialchars($this->getRobots()) ?>" />
32
+ <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0;">
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() ?>
47
+
48
+
49
+ <script type="text/javascript">
50
+ //<![CDATA[
51
+ var $j = jQuery.noConflict();
52
+ //]]>
53
+ </script>
app/design/frontend/default/hellowired/template/page/html/header.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 default_modern
23
+ * @copyright Copyright (c) 2009 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <div class="header-container">
28
+ <div class="header">
29
+ <?php if ($this->getIsHomePage()):?>
30
+ <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>
31
+ <?php else:?>
32
+ <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>
33
+ <?php endif?>
34
+
35
+ <div class="cms-links">
36
+ <?php echo $this->getChildHtml('store_language') ?>
37
+ <ul>
38
+ <li class="welcome">
39
+ <?php echo $this->getWelcome()?></li>
40
+ <?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('toplinks')->toHtml() ?> <?php echo $this->getChildHtml('store_language') ?>
41
+ </ul>
42
+ </div>
43
+
44
+ <div class="access">
45
+ <?php echo $this->getChildHtml('topLinks') ?>
46
+ </div>
47
+ </div>
48
+
49
+ <div id="navigation">
50
+ <?php echo $this->getChildHtml('topMenu') ?>
51
+ <?php echo $this->getChildHtml('topSearch') ?>
52
+
53
+ <?php //echo $this->getChildHtml('connect') ?>
54
+ <div class="clearfix"></div>
55
+ </div>
56
+ <?php echo $this->getChildHtml('mobile-nav') ?>
57
+ <?php echo $this->getChildHtml('topBar') ?>
58
+ <?php //echo $this->getChildHtml('topContainer'); ?>
59
+ </div>
app/design/frontend/default/hellowired/template/persistent/checkout/onepage/login.phtml ADDED
@@ -0,0 +1,156 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design
22
+ * @package base_default
23
+ * @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ /**
29
+ * Customer onepage checkout login form template
30
+ *
31
+ * @see app/design/frontend/base/default/template/checkout/onepage/login.phtml
32
+ */
33
+ /** @var $this Mage_Checkout_Block_Onepage_Login */
34
+ ?>
35
+ <div class="col2-set">
36
+ <?php echo $this->getChildHtml('login_before')?>
37
+ <div class="col-1">
38
+ <h3><?php if( $this->getQuote()->isAllowedGuestCheckout() ): ?><?php echo $this->__('Checkout as a Guest or Register') ?><?php else: ?><?php echo $this->__('Register to Create an Account') ?><?php endif; ?></h3>
39
+ <?php if( $this->getQuote()->isAllowedGuestCheckout() ): ?>
40
+ <p><?php echo $this->__('Register with us for future convenience:') ?></p>
41
+ <?php else: ?>
42
+ <p><strong><?php echo $this->__('Register and save time!') ?></strong><br />
43
+ <?php echo $this->__('Register with us for future convenience:') ?></p>
44
+ <ul>
45
+ <li><?php echo $this->__('Fast and easy check out') ?></li>
46
+ <li><?php echo $this->__('Easy access to your order history and status') ?></li>
47
+ </ul>
48
+ <?php endif; ?>
49
+ <?php if( $this->getQuote()->isAllowedGuestCheckout() ): ?>
50
+ <ul class="form-list">
51
+ <?php if( $this->getQuote()->isAllowedGuestCheckout() ): ?>
52
+ <li class="control">
53
+ <input type="radio" name="checkout_method" id="login:guest" value="guest"<?php if($this->getQuote()->getCheckoutMethod()==Mage_Checkout_Model_Type_Onepage::METHOD_GUEST): ?> checked="checked"<?php endif; ?> class="radio" /><label for="login:guest"><?php echo $this->__('Checkout as Guest') ?></label>
54
+ </li>
55
+ <?php endif; ?>
56
+ <li class="control">
57
+ <input type="radio" name="checkout_method" id="login:register" value="register"<?php if($this->getQuote()->getCheckoutMethod()==Mage_Checkout_Model_Type_Onepage::METHOD_REGISTER || !$this->getQuote()->isAllowedGuestCheckout()): ?> checked="checked"<?php endif ?> class="radio" /><label for="login:register"><?php echo $this->__('Register') ?></label>
58
+ </li>
59
+ </ul>
60
+ <h4><?php echo $this->__('Register and save time!') ?></h4>
61
+ <p><?php echo $this->__('Register with us for future convenience:') ?></p>
62
+ <ul class="ul">
63
+ <li><?php echo $this->__('Fast and easy check out') ?></li>
64
+ <li><?php echo $this->__('Easy access to your order history and status') ?></li>
65
+ </ul>
66
+ <?php else: ?>
67
+ <input type="hidden" name="checkout_method" id="login:register" value="register" checked="checked" />
68
+ <?php endif; ?>
69
+ </div>
70
+ <div class="col-2">
71
+ <h3><?php echo $this->__('Login') ?></h3>
72
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
73
+ <form id="login-form" action="<?php echo $this->getPostAction() ?>" method="post">
74
+ <fieldset>
75
+ <h4><?php echo $this->__('Already registered?') ?></h4>
76
+ <p><?php echo $this->__('Please log in below:') ?></p>
77
+ <ul class="form-list">
78
+ <li>
79
+ <label for="login-email" class="required"><em>*</em><?php echo $this->__('Email Address') ?></label>
80
+ <div class="input-box">
81
+ <input type="text" class="input-text required-entry validate-email" id="login-email" name="login[username]" value="<?php echo $this->htmlEscape($this->getUsername()) ?>" />
82
+ </div>
83
+ </li>
84
+ <li>
85
+ <label for="login-password" class="required"><em>*</em><?php echo $this->__('Password') ?></label>
86
+ <div class="input-box">
87
+ <input type="password" class="input-text required-entry" id="login-password" name="login[password]" />
88
+ </div>
89
+ </li>
90
+ <?php echo $this->getChildHtml('form.additional.info'); ?>
91
+ <?php echo $this->getChildHtml('persistent.remember.me'); ?>
92
+ </ul>
93
+ <input name="context" type="hidden" value="checkout" />
94
+ </fieldset>
95
+ </form>
96
+ </div>
97
+ </div>
98
+ <div class="col2-set">
99
+ <div class="col-2">
100
+ <div class="buttons-set">
101
+ <p class="required"><?php echo $this->__('* Required Fields') ?></p>
102
+ <a href="<?php echo $this->getUrl('customer/account/forgotpassword') ?>" class="f-left"><?php echo $this->__('Forgot your password?') ?></a>
103
+ <button type="submit" class="button" onclick="onepageLogin(this)"><span><span><?php echo $this->__('Login') ?></span></span></button>
104
+ </div>
105
+ </div>
106
+ <div class="col-1">
107
+ <div class="buttons-set">
108
+ <p class="required">&nbsp;</p>
109
+ <?php if ($this->getQuote()->isAllowedGuestCheckout()): ?>
110
+ <button id="onepage-guest-register-button" type="button" class="button" onclick="checkout.setMethod();"><span><span><?php echo $this->__('Continue') ?></span></span></button>
111
+ <?php elseif ($this->helper('checkout')->isCustomerMustBeLogged()): ?>
112
+ <button id="onepage-guest-register-button" type="button" class="button" onclick="window.location='<?php echo $this->helper('checkout/url')->getRegistrationUrl();?>'"><span><span><?php echo $this->__('Register') ?></span></span></button>
113
+ <?php else: ?>
114
+ <form action="<?php echo $this->getUrl('persistent/index/saveMethod'); ?>">
115
+ <button id="onepage-guest-register-button" type="submit" class="button"><span><span><?php echo $this->__('Register') ?></span></span></button>
116
+ </form>
117
+ <?php endif; ?>
118
+ </div>
119
+ </div>
120
+
121
+ </div>
122
+
123
+ <script type="text/javascript">
124
+ //<![CDATA[
125
+ var loginForm = new VarienForm('login-form', true);
126
+ $('login-email').observe('keypress', bindLoginPost);
127
+ $('login-password').observe('keypress', bindLoginPost);
128
+ function bindLoginPost(evt){
129
+ if (evt.keyCode == Event.KEY_RETURN) {
130
+ loginForm.submit();
131
+ }
132
+ }
133
+ function onepageLogin(button)
134
+ {
135
+ if(loginForm.validator && loginForm.validator.validate()){
136
+ button.disabled = true;
137
+ loginForm.submit();
138
+ }
139
+ }
140
+ //]]>
141
+ </script>
142
+ <?php
143
+ $registerParam = $this->getRequest()->getParam('register');
144
+ if ($registerParam || $registerParam === ''):
145
+ ?>
146
+ <script type="text/javascript">
147
+ //<![CDATA[
148
+ document.observe("dom:loaded", function() {
149
+ if($('login:register')) {
150
+ $('login:register').checked = true;
151
+ checkout.setMethod();
152
+ }
153
+ })
154
+ //]]>
155
+ </script>
156
+ <?php endif; ?>
app/design/frontend/default/hellowired/template/persistent/customer/form/login.phtml ADDED
@@ -0,0 +1,89 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design
22
+ * @package base_default
23
+ * @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ /**
29
+ * Customer login form template
30
+ *
31
+ * @see app/design/frontend/base/default/template/customer/form/login.phtml
32
+ */
33
+ /** @var $this Mage_Customer_Block_Form_Login */
34
+ ?>
35
+ <div class="account-login">
36
+ <div class="page-title">
37
+ <h1><?php echo $this->__('Login or Create an Account') ?></h1>
38
+ </div>
39
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
40
+ <form action="<?php echo $this->getPostActionUrl() ?>" method="post" id="login-form">
41
+ <div class="col2-set">
42
+ <div class="col-1 new-users">
43
+ <div class="content">
44
+ <h2><?php echo $this->__('New Customers') ?></h2>
45
+ <p><?php echo $this->__('By creating an account with our store, you will be able to move through the checkout process faster, store multiple shipping addresses, view and track your orders in your account and more.') ?></p>
46
+ </div>
47
+ <div class="buttons-set">
48
+ <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>
49
+ </div>
50
+ </div>
51
+ <div class="col-2 registered-users">
52
+ <div class="content">
53
+ <h2><?php echo $this->__('Registered Customers') ?></h2>
54
+ <p><?php echo $this->__('If you have an account with us, please log in.') ?></p>
55
+ <ul class="form-list">
56
+ <li>
57
+ <label for="email" class="required"><em>*</em><?php echo $this->__('Email Address') ?></label>
58
+ <div class="input-box">
59
+ <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') ?>" />
60
+ </div>
61
+ </li>
62
+ <li>
63
+ <label for="pass" class="required"><em>*</em><?php echo $this->__('Password') ?></label>
64
+ <div class="input-box">
65
+ <input type="password" name="login[password]" class="input-text required-entry validate-password" id="pass" title="<?php echo $this->__('Password') ?>" />
66
+ </div>
67
+ </li>
68
+ <?php echo $this->getChildHtml('form.additional.info'); ?>
69
+ <?php echo $this->getChildHtml('persistent.remember.me'); ?>
70
+ </ul>
71
+ <?php echo $this->getChildHtml('persistent.remember.me.tooltip'); ?>
72
+ <p class="required"><?php echo $this->__('* Required Fields') ?></p>
73
+ <div class="buttons-set">
74
+ <a href="<?php echo $this->getForgotPasswordUrl() ?>" class="f-left"><?php echo $this->__('Forgot Your Password?') ?></a>
75
+ <button type="submit" class="button" title="<?php echo $this->__('Login') ?>" name="send" id="send2"><span><span><?php echo $this->__('Login') ?></span></span></button>
76
+ </div>
77
+ </div>
78
+ </div>
79
+ </div>
80
+ <?php if (Mage::helper('checkout')->isContextCheckout()): ?>
81
+ <input name="context" type="hidden" value="checkout" />
82
+ <?php endif; ?>
83
+ </form>
84
+ <script type="text/javascript">
85
+ //<![CDATA[
86
+ var dataForm = new VarienForm('login-form', true);
87
+ //]]>
88
+ </script>
89
+ </div>
app/design/frontend/default/hellowired/template/sample/home.phtml ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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) 2009 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <div style=" float:left; width:653px;">
28
+ <img src="<?php echo $this->getSkinUrl('images/media/home_co_main.jpg');?>" alt="" />
29
+ </div>
30
+ <div style="float:right; width:280px;">
31
+ <div style="margin:0 0 10px;" ><img src="<?php echo $this->getSkinUrl('images/media/home_co_tr.gif');?>" alt="" /></div>
32
+ <div><img src="<?php echo $this->getSkinUrl('images/media/home_co_br.gif');?>" alt="" /></div>
33
+ </div>
34
+ <div class="clearer"></div>
35
+ <div style="margin:10px 0 0;"><img src="<?php echo $this->getSkinUrl('images/media/home_co_bottom.gif');?>" alt="" /></div>
app/design/frontend/default/hellowired/template/sendfriend/send.phtml ADDED
@@ -0,0 +1,150 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ /* @var $this Mage_Sendfriend_Block_Send */
27
+ /**
28
+ * Send to friend form
29
+ *
30
+ * @see Mage_Sendfriend_Block_Send
31
+ */
32
+ ?>
33
+ <script type="text/javascript">
34
+ //<![CDATA[
35
+ i=0;
36
+ var recipCount = 1;
37
+ var maxRecip = <?php echo $this->getMaxRecipients() ?>;
38
+ function remove_recipient(i){
39
+ $('recipients_name'+i).up(2).remove();
40
+ recipCount--;
41
+ if(recipCount<maxRecip && maxRecip != 0) {
42
+ $('add_recipient_button').show();
43
+ $('max_recipient_message').hide();
44
+ }
45
+ return false;
46
+ }
47
+
48
+ function add_recipient(){
49
+ ul = $('recipients_options');
50
+ var li_mail = Element.extend(document.createElement("LI"));
51
+ li_mail.addClassName('fields additional-row');
52
+ //li_mail.innerHTML = '<p><a href="delete_email" title="<?php echo $this->__('Remove Email') ?>" onclick="remove_recipient('+i+'); return false" class="btn-remove"><?php echo $this->__('Remove Email') ?>"<\/a><\/p>'
53
+ li_mail.innerHTML = '<div class="delete"><a href="delete_email" onclick="remove_recipient('+i+');return false"><img src="<?php echo $this->getSkinUrl('images/list_remove_btn.gif') ?>" alt="<?php echo $this->__('Remove Email') ?>" \/><\/a><\/div>'
54
+ li_mail.innerHTML += '<div class="field"><label for="recipients_name'+i+'"><?php echo $this->__('Name:') ?><em class="required">*<\/em><\/label><div class="input-box"><input name="recipients[name][]" type="text" class="input-text required-entry" id="recipients_name'+i+'" /><\/div>';
55
+ li_mail.innerHTML += '<div class="field"><label for="recipients_email'+i+'"><?php echo $this->__('Email Address:') ?><em class="required">*<\/em><\/label><div class="input-box"><input name="recipients[email][]" value="" title="<?php echo $this->__('Email Address') ?>" id="recipients_email'+i+'" type="text" class="input-text required-entry validate-email" /><\/div><\/div>';
56
+ i++;
57
+ recipCount++;
58
+ if(recipCount>=maxRecip && maxRecip != 0) {
59
+ $('add_recipient_button').hide();
60
+ $('max_recipient_message').show();
61
+ }
62
+
63
+ ul.appendChild(li_mail);
64
+ }
65
+ //]]>
66
+ </script>
67
+
68
+ <div class="send-friend">
69
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
70
+ <div class="page-title">
71
+ <h1><?php echo $this->__('Email to a Friend') ?></h1>
72
+ </div>
73
+ <form action="<?php echo $this->getSendUrl() ?>" method="post" id="product_sendtofriend_form">
74
+ <div class="fieldset">
75
+ <?php echo $this->getBlockHtml('formkey')?>
76
+ <h2 class="legend"><?php echo $this->__('Sender:') ?></h2>
77
+ <ul class="form-list" id="sender_options">
78
+ <li class="fields">
79
+ <div class="field">
80
+ <label for="sender_name"><?php echo $this->__('Name:') ?><em class="required">*</em></label>
81
+ <div class="input-box">
82
+ <input name="sender[name]" value="<?php echo $this->htmlEscape($this->getUserName()) ?>" title="<?php echo $this->__('Name') ?>" id="sender_name" type="text" class="input-text required-entry" />
83
+ </div>
84
+ </div>
85
+ <div class="field">
86
+ <label for="sender_email"><?php echo $this->__('E-mail:') ?><em class="required">*</em></label>
87
+ <div class="input-box">
88
+ <input name="sender[email]" value="<?php echo $this->htmlEscape($this->getEmail()) ?>" title="<?php echo $this->__('Email Address') ?>" id="sender_email" type="text" class="input-text required-entry validate-email" />
89
+ </div>
90
+ </div>
91
+ </li>
92
+ <li class="wide">
93
+ <label for="sender_message"><?php echo $this->__('Message:') ?><em class="required">*</em></label>
94
+ <div class="input-box">
95
+ <textarea name="sender[message]" class="input-text required-entry" id="sender_message" cols="3" rows="3"><?php echo $this->htmlEscape($this->getMessage())?></textarea>
96
+ </div>
97
+ </li>
98
+ </ul>
99
+ </div>
100
+ <div class="fieldset">
101
+ <h2 class="legend"><?php echo $this->__('Recipient:') ?></h2>
102
+ <ul class="form-list" id="recipients_options">
103
+ <li class="fields">
104
+ <div class="field">
105
+ <label for="recipients_name"><?php echo $this->__('Name:') ?><em class="required">*</em></label>
106
+ <div class="input-box">
107
+ <input name="recipients[name][]" type="text" class="input-text required-entry" id="recipients_name" />
108
+ </div>
109
+ </div>
110
+ <div class="field">
111
+ <label for="recipients_email"><?php echo $this->__('E-mail Address:') ?><em class="required">*</em></label>
112
+ <div class="input-box">
113
+ <input name="recipients[email][]" value="" title="<?php echo $this->__('Email Address') ?>" id="recipients_email" type="text" class="input-text required-entry validate-email" />
114
+ </div>
115
+ </div>
116
+ </li>
117
+ </ul>
118
+ </div>
119
+ <div class="buttons-set">
120
+ <p class="back-link"><a href="javascript:void(0)" onclick="history.back(); return false;"><small>&laquo; </small><?php echo $this->__('Back') ?></a></p>
121
+
122
+ <div id="max_recipient_message" style="display:none;">
123
+ <?php if ($this->getMaxRecipients()): ?>
124
+ <p class="limit"><?php echo $this->__('Maximum %d email addresses allowed.', $this->getMaxRecipients()) ?></p>
125
+ <?php endif; ?>
126
+ </div>
127
+ <?php if (1 < $this->getMaxRecipients()): ?>
128
+ <p id="add_recipient_button">
129
+ <!--button type="button" onclick="add_recipient();" class="button"><span><span><?php echo $this->__('Add Recipient') ?></span></span></button-->
130
+ <a href="javascript:void(0)" onclick="add_recipient();"><img src="<?php echo $this->getSkinUrl('images/btn_add_recipient.gif') ?>" alt="<?php echo $this->__('Add Recipient') ?>"/></a>
131
+ </p>
132
+ <?php endif; ?>
133
+
134
+ <div class="submit-send">
135
+ <!--button type="submit" class="button<?php if (!$this->canSend()):?> disabled<?php endif ?>"<?php if (!$this->canSend()):?> disabled="disabled"<?php endif ?>><span><span><?php echo $this->__('Send Email') ?></span></span></button-->
136
+ <input type="image" class="button<?php if (!$this->canSend()):?> disabled<?php endif ?>"<?php if (!$this->canSend()):?> disabled="disabled"<?php endif ?> src="<?php echo $this->getSkinUrl('images/btn_send_email.gif') ?>" alt="<?php echo $this->__('Send email') ?>"/>
137
+ </div>
138
+ </div>
139
+ </form>
140
+ <script type="text/javascript">
141
+ //<![CDATA[
142
+ var productSendtofriendForm = new VarienForm('product_sendtofriend_form');
143
+ productSendtofriendForm.submit = function() {
144
+ if(this.validator.validate()) {
145
+ this.form.submit();
146
+ }
147
+ }.bind(productSendtofriendForm);
148
+ //]]>
149
+ </script>
150
+ </div>
media/helloslide/hellowired/01.jpg ADDED
Binary file
media/helloslide/hellowired/02.jpg ADDED
Binary file
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>HelloWired_Free_Theme_1_4</name>
4
- <version>2.0.0</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.opensource.org/licenses/gpl-license.php">GNU General Public License (GPL)</license>
7
  <channel>community</channel>
@@ -35,11 +35,11 @@
35
  &lt;p&gt;This is a FREE theme and we have released it as it is under the &lt;a href="http://creativecommons.org/licenses/by/3.0/"&gt;Creative Common License&lt;/a&gt;. This theme does not include any support. Support is only available to HelloThemes members only. E-mail and comments will be ingnored if requesting for support. For support questions you will need to &lt;a title="Become a Member" href="http://www.hellothemes.com/pricing/"&gt;become a member&lt;/a&gt;. find out more by viewing our &lt;a href="http://www.hellothemes.com/pricing/"&gt;pricing details&lt;/a&gt;.&lt;/p&gt;&#xD;
36
  &lt;ul&gt;&#xD;
37
  &lt;/ul&gt;</description>
38
- <notes>ready for magento 1.7</notes>
39
  <authors><author><name>HelloThemes.com</name><user>hellothemes</user><email>sales@hellothemes.com</email></author></authors>
40
- <date>2013-05-06</date>
41
- <time>19:48:54</time>
42
- <contents></contents>
43
  <compatible/>
44
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
45
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>HelloWired_Free_Theme_1_4</name>
4
+ <version>3.0.0</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.opensource.org/licenses/gpl-license.php">GNU General Public License (GPL)</license>
7
  <channel>community</channel>
35
  &lt;p&gt;This is a FREE theme and we have released it as it is under the &lt;a href="http://creativecommons.org/licenses/by/3.0/"&gt;Creative Common License&lt;/a&gt;. This theme does not include any support. Support is only available to HelloThemes members only. E-mail and comments will be ingnored if requesting for support. For support questions you will need to &lt;a title="Become a Member" href="http://www.hellothemes.com/pricing/"&gt;become a member&lt;/a&gt;. find out more by viewing our &lt;a href="http://www.hellothemes.com/pricing/"&gt;pricing details&lt;/a&gt;.&lt;/p&gt;&#xD;
36
  &lt;ul&gt;&#xD;
37
  &lt;/ul&gt;</description>
38
+ <notes>Free Responsive Theme, ready for Magento 1.7</notes>
39
  <authors><author><name>HelloThemes.com</name><user>hellothemes</user><email>sales@hellothemes.com</email></author></authors>
40
+ <date>2013-05-14</date>
41
+ <time>18:38:15</time>
42
+ <contents><target name="mage"><dir name="app"><dir name="design"><dir name="frontend"><dir name="default"><dir name="hellowired"><dir name="layout"><file name="catalog.xml" hash="97462ccb1fa3250d928530746104344a"/><file name="catalogsearch.xml" hash="1dfaa9f0514d648f479e7df5caa32b24"/><file name="checkout.xml" hash="36b7fcfc795fa42becdcfbd18ef679e3"/><file name="newsletter.xml" hash="439561720d62cf656bb42f8655342777"/><file name="page.xml" hash="8b39b06dec7801d2276ea4465b761389"/><file name="sendfriend.xml" hash="490370602f45298621217fc61ebf5c1e"/></dir><dir name="locale"><dir name="en_US"><file name="translate.csv" hash="793e1ff86039f24caff6fad87a094fa1"/></dir></dir><dir name="template"><dir name="callouts"><file name="connect.phtml" hash="bfc57bd41c1b34c724824620a293a764"/></dir><dir name="catalog"><dir name="navigation"><file name="leftnav.phtml" hash="e80817e2a89f5402e31e6912d7f0e8e0"/><file name="mobile-nav.phtml" hash="8389f3fe41cdc245a7f9b7070e0db66c"/><file name="top.phtml" hash="9b308b05d7bd669338bffec962debec6"/></dir><dir name="product"><file name="featured.phtml" hash="5715ade41a3051541f6116825c37a8f2"/><dir name="list"><dir name="toolbar"><file name="pager.phtml" hash="10b3581ba39479118c6cf9afbec29815"/></dir><file name="upsell.phtml" hash="f61c1dee5693c6f6d85464441989599f"/></dir><file name="list.phtml" hash="fea37b3a612138f619fe30ad3414cc23"/><dir name="view"><file name="media.phtml" hash="b0bdf25b08bada8f440f891e6c296211"/><file name="tabs.phtml" hash="b40499f77eec57574271d0457864927d"/></dir><file name="view.phtml" hash="de48af8f436d0a6e4966bb869932f117"/></dir></dir><dir name="catalogsearch"><file name="form.mini.phtml" hash="d57f4e6b03e0ce406637b96658a7223c"/></dir><dir name="checkout"><file name="cart.phtml" hash="06b8d3ffff4440b9384256998a19d970"/></dir><dir name="newsletter"><file name="subscribe-home.phtml" hash="051e91a613189726e72222adb9024a99"/><file name="subscribe.phtml" hash="051e91a613189726e72222adb9024a99"/></dir><dir name="page"><file name="1column.phtml" hash="e471ab6dd046c225973e805b168c1321"/><file name="2columns-left.phtml" hash="d3ff83822e6e88c8d2c14bb248b969a9"/><file name="2columns-right.phtml" hash="209bb02f63af33610f6375eb40a59477"/><file name="3columns.phtml" hash="cadd9888fd8276ab1a8abb1de34a6718"/><dir name="html"><file name="footer.phtml" hash="508344308298cdcf9b803f7a8aeeaa07"/><file name="head.phtml" hash="a215253222f6bbb8b61c52ab7111e561"/><file name="header.phtml" hash="0f4f168274099a0524a5450364bc4d46"/></dir></dir><dir name="persistent"><dir name="checkout"><dir name="onepage"><file name="login.phtml" hash="c3d3164146cb59e43bbcb1acc7aeac97"/></dir></dir><dir name="customer"><dir name="form"><file name="login.phtml" hash="161e4f1be1cfd38fca8b16dc161d74b5"/></dir></dir></dir><dir name="sample"><file name="home.phtml" hash="471a018df7f51130e05495b14d3a57a4"/></dir><dir name="sendfriend"><file name="send.phtml" hash="b5bb09712ce7e209f01a1ab89d2e75cb"/></dir></dir></dir></dir></dir></dir></dir><dir name="media"><dir name="helloslide"><dir name="hellowired"><file name="01.jpg" hash="8394940d045b9469fd365bb42d37aba2"/><file name="02.jpg" hash="a5cd838a49eea03d47da023003b10039"/></dir></dir></dir><dir name="skin"><dir name="frontend"><dir name="default"><dir name="hellowired"><file name="Thumbs.db" hash="cb2b22de503e85fabc72003f1742e643"/><dir name="css"><file name="custom.css" hash="3c1a93d9c15ab9e207b513715742acf8"/><file name="print.css" hash="ec919a1dc9d0c072b9f4a7087702d146"/><file name="responsive.css" hash="7cfe09c6f8dd4e4c6a70288fffe33f88"/><file name="styles-ie.css" hash="b77e579f73abe518faccb21af85f9a4c"/><file name="styles.css" hash="a1793125b8e0b2a282bdd0efa01c3eb8"/><file name="widgets.css" hash="5a8dbe52c637487ed20722c27639df2f"/></dir><file name="favicon.ico" hash="88733ee53676a47fc354a61c32516e82"/><dir name="images"><file name="Thumbs.db" hash="8b21d32185b37e63c221222def451934"/><dir name="background"><file name="Thumbs.db" hash="0badf319776812cdcc7e668929bf4a14"/><file name="Untitled-1.png" hash="a3dc5eb2a4a869cc82d94302e8ce00b3"/><file name="bg.gif" hash="620b95645feec875e0ef8daf910afa2f"/><file name="bg.jpg" hash="ff80d21cff560c92a45b71515b9b95eb"/><file name="block_bg.gif" hash="81e4ce63fa18280b4f36957de8eafdf2"/><file name="block_bg_bottom.gif" hash="9908965eae79c94a7a733a35e2ae3592"/><file name="block_bg_repeat.gif" hash="63d76d45c547e59e470b35c9bb327eb0"/><file name="block_title_alt.gif" hash="ca86780d11b3c3c96f1bc58a399b1a42"/><file name="divider_top.gif" hash="6f4a88cf6dc1a8c7cc6e8d8cc961800b"/><file name="featured_product_bg.gif" hash="b83043d074011c2817d8a71e4235d53b"/><file name="footer_bg.jpg" hash="af78785a81485c6fd3920ea1ba356a90"/><file name="main_bg.jpg" hash="11df4a5d0d4ec7b9a4078653cf222bb7"/><file name="menu_active.gif" hash="a0a151eee4ae0f3b65e4f6c86e92c1b4"/><file name="menu_bg.gif" hash="7dc9dbbdbc4c7ab843efe4c8f9126b19"/><file name="menu_bg1.gif" hash="5894c590361c0a6ad8691aac05fc22cb"/><file name="menu_bg2 (2).gif" hash="672a69d6e43bd9dd4f73f0e096dd3a80"/><file name="menu_bg2.gif" hash="7a53ee9e5a69d34b700353d2541c80e5"/><file name="menu_bullet.jpg" hash="293791ea5494c1731504032dd5f87c8e"/><file name="menu_bullet.png" hash="dc61df107a2f10d65a402562bf2ebdc3"/><file name="menu_bullet_active.png" hash="0933e909b5b36ad05df57b4cd46ae8f8"/><file name="menu_bullet_ie6.gif" hash="6f7dc33c00165b0c3009125e9a1acd6d"/><file name="menu_bullet_ie6_active.gif" hash="d28fdff97d1d3e18327c6e1b1c073bbd"/><file name="menu_hover.gif" hash="a58ef6fb538561ff5f6a88c4d77d84b1"/><file name="menu_item.gif" hash="39c23f16c4f090b12c86b699cbf111c8"/><dir name="old"><file name="Thumbs.db" hash="97f4f6fefb6d193d429534d8bc51c769"/><file name="block_bg.gif" hash="c8d5fbf723010cba7ef49f9614f1ae0d"/><file name="block_bg_bottom.gif" hash="f253e15a18b75e3b75d70637915868ae"/><file name="block_bg_repeat.gif" hash="bfbfc2a2bcbb644bd1cabf3e5f3be31c"/></dir><file name="repeat_bg.jpg" hash="f1a71a39fc0c323e99af7b633e1a5fa1"/><file name="search_bg.png" hash="fd6b19a7bfbca790747da88a07c81e14"/><file name="slider_wrapper.png" hash="ca696a1d396a9f44d82d8e06de2eb7c9"/><file name="subscribe_bg.png" hash="8f8c906eebedae8f40d6cc217d989fb4"/><file name="wrapper_bg.png" hash="dd8a5a827cd94c915258fffb6234755a"/></dir><file name="bkg_add-to.gif" hash="30ad4986308f5012175006648ec002c4"/><file name="bkg_block-layered-title.gif" hash="5ba30a503859e0c74703e9451dc66ca5"/><file name="bkg_body.gif" hash="f721950262bb5c60227ee74bb435fa79"/><file name="bkg_btn-green.gif" hash="732c08dcbb45ecc07305a6fcc8a8e1a2"/><file name="bkg_btn-small.gif" hash="63a4d1b7cf6cf9f8c2ba557c21b3d6ec"/><file name="bkg_btn-small.png" hash="395fbc85113004f09b8e497c766f0b26"/><file name="bkg_btn.gif" hash="7b8125337333f9e097ccd0604166775a"/><file name="bkg_btn.png" hash="973036167ad3cf71f24d30c57d69a972"/><file name="bkg_btn1.png" hash="df9af47f282450892546effa54e7da59"/><file name="bkg_cart-totals.gif" hash="03cca215a8b864b1a96312d527395534"/><file name="bkg_collapse-gm.gif" hash="37c585c23bbfbb3ef8f51191513d435b"/><file name="bkg_collapse.gif" hash="2333c68e38163ed4656da82b9bcf362b"/><file name="bkg_grid.gif" hash="a6f64fedbac51fb1b86184cd488cc4e6"/><file name="bkg_nav_parent.gif" hash="0208ae272e474b99bf1f8743b525c342"/><file name="bkg_nav_top.gif" hash="e208d78164da001372d050b4933d021c"/><file name="bkg_pipe1.gif" hash="bca445209e5b0c9390c526ff6fb9bfcf"/><file name="bkg_pipe2.gif" hash="7da64eefaf4da3855ab6ee76dbced0c2"/><file name="bkg_pipe3.gif" hash="11bfac1e590f0c77fb12f37d7f05cd3c"/><file name="bkg_rating.gif" hash="d2ea21ea9824962892adf2e9d78f03ba"/><file name="bkg_subtotal.gif" hash="fa2f26527c87fc6b00be8b5e594e52f4"/><file name="bkg_tabs.gif" hash="3929ea638ee939e2280b909d291dd706"/><file name="bkg_toolbar.gif" hash="b51ad5ce6fc7c93c7be429822b7d0f54"/><file name="bkg_top-promo.gif" hash="9e11a17ae228afd7073f5082daa68094"/><file name="btn_checkout.gif" hash="79b6d671dc425b20d024255e76187f70"/><file name="btn_remove.gif" hash="e106b9cea6e73407f5311ebf024ebbbb"/><file name="btn_trash.gif" hash="bcb22f558a0eb32243a2a36645189e9f"/><file name="btn_window_close.gif" hash="e106b9cea6e73407f5311ebf024ebbbb"/><dir name="buttons"><file name="Thumbs.db" hash="2b46c9c87d92813592c9502e1ba473fa"/><file name="next-horizontal.png" hash="1f110004b9c6f27709452070e79e9ded"/><file name="prev-horizontal.png" hash="79c74b50cc090ad332e4c0bfe7b3270e"/><file name="subscribe_btn.gif" hash="d98e347081ecb2f1439b6998dd829e2e"/></dir><file name="calendar.gif" hash="b1468e5239504974c689eea5d93f86d4"/><dir name="catalog"><dir name="product"><dir name="placeholder"><file name="image.jpg" hash="097ab8a3051bc037ea3de0e17f440540"/><file name="small_image.jpg" hash="f825d16f97a640453553c79c48ebaa73"/><file name="thumbnail.jpg" hash="b2b682d28a08a748a73d2cda70ab5a57"/></dir></dir></dir><file name="creditcards.gif" hash="8d509925627c0584ab85e54c4be81b3c"/><file name="cvv.gif" hash="ed0f392004a405466291071a760b285d"/><file name="fam_book_open.png" hash="0ba89b9fbe7e88d4c6896ed0a1f495aa"/><dir name="fancybox"><file name="Thumbs.db" hash="999f7431c97e424cc37d57702614bb42"/><file name="fancy_closebox.png" hash="f2aace763cfcc4d6f3427a8a0842e55c"/><file name="fancy_left.png" hash="b73b9d26b3e1cca17ce894c8c899edb1"/><file name="fancy_progress.png" hash="66cdf8d9cd5089c45c74e75f9d81a3bc"/><file name="fancy_right.png" hash="7f25f2d34ad6186d17472774ce7ea298"/><file name="fancy_shadow_e.png" hash="638c422611740fd9f4756c0501db4dea"/><file name="fancy_shadow_n.png" hash="b97cd6eb4551bdbee52f55a9d2b6638c"/><file name="fancy_shadow_ne.png" hash="9107c16638a997e0a4932c5449173b16"/><file name="fancy_shadow_nw.png" hash="1d2cb29c5e81e1238ea68fb00c46c314"/><file name="fancy_shadow_s.png" hash="bd2f9c92a58a02b0c641268df0e738cb"/><file name="fancy_shadow_se.png" hash="182e5286e1f71169ff38792e21e32c0a"/><file name="fancy_shadow_sw.png" hash="1bd71ca620ac1bebed4f24d3f83f6c02"/><file name="fancy_shadow_w.png" hash="18776b730e696b3da9b6953538c8e285"/><file name="fancy_title_left.png" hash="c00b676485d203ed19427b71a5a9a469"/><file name="fancy_title_main.png" hash="af87440a2b36ea10fbd728a211c5b313"/><file name="fancy_title_right.png" hash="00fab8565c1c29d91d8d60fe8a9fd672"/><file name="loading.gif" hash="7e99e1159a3686f6aa4f90043c554483"/><file name="tl.png" hash="02e125bbaed0093265655bc9bb36265f"/><file name="tr.png" hash="7b0f5e3d1dee42a15daa83c543d3ed03"/></dir><dir name="flags"><file name="English.png" hash="e9d95b27e17f9d5c7cddeb365fe466ab"/><file name="French.png" hash="82affd22a4aac4d585df48591558b28f"/><file name="German.png" hash="a4a0753085ca464257bb3f416a20dd12"/><file name="Thumbs.db" hash="bf7976e21f933bf6dff59cd70188121e"/></dir><file name="grid-cal.gif" hash="b1468e5239504974c689eea5d93f86d4"/><file name="i_asc_arrow.gif" hash="54fa7a2610dca6402a8159a0de658894"/><dir name="icons"><file name="Thumbs.db" hash="85cf0b82af36d6c43adb001c4fe04149"/><file name="account_ico.png" hash="f4f149ece270842fe7a6354d4db485a2"/><file name="cart_ico.png" hash="5bf9153a24950b6fb16bf8b6b89c7f55"/><file name="checkout_ico.png" hash="075855447d570e573a4e8362122e6d45"/><file name="login_ico.png" hash="033202c7a51f0ac46b4a50c0e1d544c4"/><file name="search_ico.gif" hash="febba6489882971da4dc6bdebc597117"/><file name="wishlist_ico.png" hash="d2b36b3dbb3cb6a630441ea15cb0b5d0"/></dir><file name="logo.gif" hash="7a1864fabfdfd6bc73a8de1c607a53ca"/><file name="logo.png" hash="9d8505deb4fd93a72a18e7e6fae91538"/><file name="logo_email.gif" hash="47bc079d9b3933c419739b580e4d0f39"/><file name="logo_print.gif" hash="47bc079d9b3933c419739b580e4d0f39"/><file name="magnifier_handle.gif" hash="238fbdd7959f517db11c6f57ee4daaf4"/><dir name="media"><file name="Thumbs.db" hash="14dd1da6394adbef82083ae113e09335"/><file name="callout1.jpg" hash="0f274fb85b3f1b153072f8478ced414e"/><file name="footer_callout.png" hash="9dc69b9d5517457e08dfce85424e6e16"/><file name="fpo_no_crosssell.gif" hash="7aa2defb505f4d1353fadaac00812501"/><file name="hellothemes.png" hash="6b8a179099ed7f4614cbb32e6569315a"/><file name="home_co_bottom.gif" hash="52eb6bdfa8926e7a2d0e381b1604e868"/><file name="home_co_br.gif" hash="8ae386c3822b77287a6339068f53953b"/><file name="home_co_main.jpg" hash="c74e1e5276d3c09c6089ce157bda0b24"/><file name="home_co_tr.gif" hash="4fec17962d091640046cab9aa9f4b42e"/><file name="left_col_callout.jpg" hash="e19cc46c3c2b3777484d2847da8564d8"/><file name="promo1.jpg" hash="8394940d045b9469fd365bb42d37aba2"/><file name="promo2.jpg" hash="95026b3687454a1f5ef4b85dbd04f7dc"/><file name="promo3.jpg" hash="b2b165faae499e86466ef98904fa4eb4"/><file name="promo4.jpg" hash="3fcd50774145f15acabca4eba2c6c54a"/><file name="promo5.jpg" hash="35f06a59a5939a70e0e6919774900066"/><file name="promo6.jpg" hash="1fa96a0a899c96366050ab732c671de9"/><file name="promo7.jpg" hash="f6777f39d26f034afe05396a6435fba0"/></dir><file name="mobilemenu.gif" hash="188097ffd11083931aea062e72c737fc"/><file name="slider_bg.gif" hash="a6ba5fb82efc46553063661a8c2558ab"/><dir name="social"><file name="Thumbs.db" hash="2db98b7740dcc84f3f5c16c6e2bbe776"/><file name="facebook_ico.png" hash="2068752c9f930cd9ae34094a9e260bae"/><file name="twitter_ico.png" hash="5ca9579f57d9adc5dfb054f42f1390e1"/><file name="youtube_ico.png" hash="3b78693fe41fab4a01df39408864f3bc"/></dir><dir name="widgets"><file name="Thumbs.db" hash="bfad28d09bd73fd70be9871b008ad432"/><file name="i_widget-link.gif" hash="1bf753578171f147f0203e7b13bdd0c4"/></dir></dir><dir name="js"><file name="_imgpreview.js" hash="843eab30ec1cb07b3248c5bc1362d142"/><file name="cufon-yui.js" hash="7e47005ed153f788718c10e97da829b3"/><file name="custom.js" hash="abacb89ee8a2177c78c41fa06a8464ee"/><file name="hello.jquery.js" hash="d0cc22692b86bc2cbb5c411641c27ff2"/><file name="jquery-1.7.1.min.js" hash="4bab8348a52d17428f684ad1ec3a427e"/><file name="jquery.cycle.all.js" hash="7324032232fcadb3032cbaee1033b6f4"/><file name="less.min.js" hash="0abade579959a4a210c632ed921d6032"/><file name="pngfix.js" hash="d6633662ea98e3e136209736fcfca891"/><file name="respond.min.js" hash="ff4676c49703a66df7a5ff8dfe5aa444"/></dir></dir></dir></dir></dir></target></contents>
43
  <compatible/>
44
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
45
  </package>
skin/frontend/default/hellowired/Thumbs.db ADDED
Binary file
skin/frontend/default/hellowired/css/custom.css ADDED
@@ -0,0 +1,138 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #preview { position:absolute; border:1px solid #000; background:#333; padding:10px; font-size: 12px; text-align: center; width: 300px; display:none; color:#fff; z-index: 10; }
2
+
3
+
4
+ /* Fancybox Image Gallery */
5
+
6
+ div#fancy_overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; display: none; z-index: 90; }
7
+ div#fancy_loading { position: absolute; height: 40px; width: 40px; cursor: pointer; display: none; overflow: hidden; background: transparent; z-index: 100; }
8
+ div#fancy_loading div { position: absolute; top: 0; left: 0; width: 40px; height: 480px; background: transparent url('../images/fancybox/fancy_progress.png') no-repeat; }
9
+ div#fancy_outer { position: absolute; top: 0; left: 0; z-index: 90; padding: 20px 20px 40px 20px; margin: 0; background: transparent; display: none; }
10
+ div#fancy_inner { position: relative; width:100%; height:100%; background: #FFF; }
11
+ div#fancy_content { margin: 0; z-index: 100; position: absolute; }
12
+ div#fancy_div { background: #000; color: #FFF; height: 100%; width: 100%; z-index: 100; }
13
+ img#fancy_img { position: absolute; top: 0; left: 0; border:0; padding: 0; margin: 0; z-index: 100; width: 100%; height: 100%; }
14
+ div#fancy_close { position: absolute; top: -12px; right: -15px; height: 30px; width: 30px; background: url('../images/fancybox/fancy_closebox.png') top left no-repeat; cursor: pointer; z-index: 181; display: none; }
15
+ #fancy_frame { position: relative; width: 100%; height: 100%; display: none; }
16
+ #fancy_ajax { width: 100%; height: 100%; overflow: auto; }
17
+ a#fancy_left, a#fancy_right { position: absolute; bottom: 0px; height: 100%; width: 35%; cursor: pointer; z-index: 111; display: none; background-image: url("data:image/gif;base64,AAAA"); outline: none; overflow: hidden; }
18
+ a#fancy_left { left: 0px; }
19
+ a#fancy_right { right: 0px; }
20
+ span.fancy_ico { position: absolute; top: 50%; margin-top: -15px; width: 30px; height: 30px; z-index: 112; cursor: pointer; display: block; }
21
+ span#fancy_left_ico { left: -9999px; background: transparent url('../images/fancybox/fancy_left.png') no-repeat; }
22
+ span#fancy_right_ico { right: -9999px; background: transparent url('../images/fancybox/fancy_right.png') no-repeat; }
23
+ a#fancy_left:hover, a#fancy_right:hover { visibility: visible; background-color: transparent; }
24
+ a#fancy_left:hover span { left: 20px; }
25
+ a#fancy_right:hover span { right: 20px; }
26
+ #fancy_bigIframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: transparent; }
27
+ div#fancy_bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 70; border: 0; padding: 0; margin: 0; }
28
+ div.fancy_bg { position: absolute; display: block; z-index: 70; border: 0; padding: 0; margin: 0; }
29
+ div#fancy_bg_n { top: -20px; left: 0; width: 100%; height: 20px; background: transparent url('../images/fancybox/fancy_shadow_n.png') repeat-x; }
30
+ div#fancy_bg_ne { top: -20px; right: -20px; width: 20px; height: 20px; background: transparent url('../images/fancybox/fancy_shadow_ne.png') no-repeat; }
31
+ div#fancy_bg_e { right: -20px; height: 100%; width: 20px; background: transparent url('../images/fancybox/fancy_shadow_e.png') repeat-y; }
32
+ div#fancy_bg_se { bottom: -20px; right: -20px; width: 20px; height: 20px; background: transparent url('../images/fancybox/fancy_shadow_se.png') no-repeat; }
33
+ div#fancy_bg_s { bottom: -20px; left: 0; width: 100%; height: 20px; background: transparent url('../images/fancybox/fancy_shadow_s.png') repeat-x; }
34
+ div#fancy_bg_sw { bottom: -20px; left: -20px; width: 20px; height: 20px; background: transparent url('../images/fancybox/fancy_shadow_sw.png') no-repeat; }
35
+ div#fancy_bg_w { left: -20px; height: 100%; width: 20px; background: transparent url('../images/fancybox/fancy_shadow_w.png') repeat-y; }
36
+ div#fancy_bg_nw { top: -20px; left: -20px; width: 20px; height: 20px; background: transparent url('../images/fancybox/fancy_shadow_nw.png') no-repeat; }
37
+ div#fancy_title { position: absolute; z-index: 100; display: none; }
38
+ div#fancy_title div { color: #FFF; font: bold 12px Arial; padding-bottom: 3px; white-space: nowrap; }
39
+ div#fancy_title table { margin: 0 auto; }
40
+ div#fancy_title table td { padding: 0; vertical-align: middle; }
41
+ td#fancy_title_left { height: 32px; width: 15px; background: transparent url('../images/fancybox/fancy_title_left.png') repeat-x; }
42
+ td#fancy_title_main { height: 32px; background: transparent url('../images/fancybox/fancy_title_main.png') repeat-x; }
43
+ td#fancy_title_right { height: 32px; width: 15px; background: transparent url('../images/fancybox/fancy_title_right.png') repeat-x; }
44
+ .pop { position: absolute; display: inline; }
45
+ .pop .pop_menu { display: none; -moz-border-radius: 3px; -webkit-border-radius: 3px; z-index: 80; }
46
+ .pop .pop_toggle { background-image: url(../images/cart/arrow_down.png); background-repeat: no-repeat; background-position: center center; width: 20px; height: 20px; overflow: hidden; cursor: pointer; }
47
+ .active .pop_menu { display: block; background-color: #ebebeb; color: #fff; position: absolute; padding: .6em; width: 12em; z-index: 80; }
48
+ .active .pop_menu a { color: #fff; }
49
+ .active .pop_toggle { z-index: 2000; position: absolute; top: 0; left: 0; background-image: url(../images/cart/arrow_up.png); }
50
+ /* Easy Slider */
51
+ #slider-wrapper { float: left; position: relative; width:674px;}
52
+ #slider ul, #slider li, #slider2 ul, #slider2 li { margin:0; padding:0; list-style:none; }
53
+ #slider { width: 100%; height: 328px; }
54
+ .panel{width:100%!important;}
55
+ #slider2 { margin-top:1em; }
56
+ #slider li, #slider2 li { width: 674px; height: 328px; overflow:hidden; }
57
+ #prevBtn, #nextBtn, #slider1next, #slider1prev { display:block; width:30px; height:77px; position:absolute; left:-30px; top:71px; z-index:1000; }
58
+ #nextBtn, #slider1next { left:696px; }
59
+ #prevBtn a, #nextBtn a, #slider1next a, #slider1prev a { display:block; position:relative; width:30px; height:77px; background:url(../images/slider/btn_prev.gif) no-repeat 0 0; }
60
+ #nextBtn a, #slider1next a { background:url(../images/slider/btn_next.gif) no-repeat 0 0; }
61
+ /* numeric controls */
62
+
63
+ ol#controls { margin:1em 0; padding:0; height:20px; position: absolute; right: 10px; top: 10px; }
64
+ ol#controls li { margin:0 5px 0 0; padding:0; font-size: 12px; float:left; list-style:none; height:20px; line-height:20px;}
65
+ ol#controls li a { float:left; height:20px; line-height:20px; color:#999999; background: #000; padding:1px 7px; text-decoration:none; }
66
+ ol#controls li.current a { background: #000; font-weight: bold; color:#fff; }
67
+ ol#controls li a:focus, #prevBtn a:focus, #nextBtn a:focus { outline:none; }
68
+ /* // Easy Slider */
69
+
70
+ /* Cycle */
71
+ #controls { z-index: 50; position: absolute; top: 15px; right: 15px; }
72
+ #controls a {background: #000; margin: 0 5px; padding: 5px 8px; text-decoration: none;color:#999999; }
73
+ #controls a.activeSlide {background: #000; font-weight: bold; color:#fff; }
74
+ #controls a:focus { outline: none; }
75
+
76
+ #slider li span.comment {
77
+ color:#FFFFFF;
78
+ float:left;
79
+ position:relative;
80
+ top:-60px;
81
+ font-size: 15px;
82
+ text-align: right;
83
+ width: 654px;
84
+ padding-right: 20px;
85
+ background: #000;
86
+ line-height: 60px;
87
+ height: 60px;
88
+ }
89
+ /* //Cycle */
90
+
91
+
92
+ /**
93
+ * This <div> element is wrapped by jCarousel around the list
94
+ * and has the classname "jcarousel-container".
95
+ */
96
+ .jcarousel-container { position: relative; }
97
+ .jcarousel-clip { z-index: 2; padding: 0; margin: 0; overflow: hidden; position: relative; }
98
+ .jcarousel-list { z-index: 1; overflow: hidden; position: relative; top: 0; left: 0; margin: 0; padding: 0; }
99
+ .jcarousel-list li, .jcarousel-item { float: left; list-style: none; /* We set the width/height explicitly. No width/height causes infinite loops. */
100
+ width: 150px; height: 150px; border: 1px solid #cdcdcd; }
101
+ .jcarousel-list li:hover, .jcarousel-item:hover { border: 1px solid #a9a9a9; }
102
+ /**
103
+ jCarousel - Product Image Slider
104
+
105
+ */
106
+ .jcarousel-next { z-index: 3; display: none; }
107
+ .jcarousel-prev { z-index: 3; display: none; }
108
+ .jcarousel-skin-tango .jcarousel-container { float: left;background: #f4f4f4 url(../images/background/featured_product_bg.gif) repeat-x; }
109
+ .jcarousel-skin-tango .jcarousel-container-horizontal { width: 598px; padding: 15px 40px; -moz-border-radius: 10px; -webkit-border-radius: 10px; }
110
+ .jcarousel-skin-tango .jcarousel-container-vertical { width: 75px; height: 245px; padding: 40px 20px; }
111
+ .jcarousel-skin-tango .jcarousel-clip-horizontal { width: 598px; height: 108px; }
112
+ .jcarousel-skin-tango .jcarousel-clip-vertical { width: 75px; height: 245px; }
113
+ .jcarousel-skin-tango .jcarousel-item { width: 105px; height: 105px; }
114
+ .jcarousel-skin-tango .jcarousel-item-horizontal { margin-right: 15px; }
115
+ .jcarousel-skin-tango .jcarousel-item-vertical { margin-bottom: 15px; }
116
+ .jcarousel-skin-tango .jcarousel-item-placeholder { background: #fff; color: #000; }
117
+ /**
118
+ * Horizontal Buttons
119
+ */
120
+ .jcarousel-skin-tango .jcarousel-next-horizontal { position: absolute; top: 60px; right: 8px; width: 27px; height: 27px; cursor: pointer; background: transparent url(../images/buttons/next-horizontal.png) no-repeat 0 0; }
121
+ .jcarousel-skin-tango .jcarousel-next-horizontal:hover { background-position: -27px 0; }
122
+ .jcarousel-skin-tango .jcarousel-next-horizontal:active { background-position: -27px 0; }
123
+ .jcarousel-skin-tango .jcarousel-next-disabled-horizontal, .jcarousel-skin-tango .jcarousel-next-disabled-horizontal:hover, .jcarousel-skin-tango .jcarousel-next-disabled-horizontal:active { cursor: default; background-position: -54px 0; }
124
+ .jcarousel-skin-tango .jcarousel-prev-horizontal { position: absolute; top: 60px; left: 8px; width: 27px; height: 27px; cursor: pointer; background: transparent url(../images/buttons/prev-horizontal.png) no-repeat 0 0; }
125
+ .jcarousel-skin-tango .jcarousel-prev-horizontal:hover { background-position: -27px 0; }
126
+ .jcarousel-skin-tango .jcarousel-prev-horizontal:active { background-position: -27px 0; }
127
+ .jcarousel-skin-tango .jcarousel-prev-disabled-horizontal, .jcarousel-skin-tango .jcarousel-prev-disabled-horizontal:hover, .jcarousel-skin-tango .jcarousel-prev-disabled-horizontal:active { cursor: default; background-position: -54px 0; }
128
+ /**
129
+ * Vertical Buttons
130
+ */
131
+ .jcarousel-skin-tango .jcarousel-next-vertical { position: absolute; bottom: 5px; left: 43px; width: 32px; height: 32px; cursor: pointer; background: transparent url(../images/buttons/next-vertical.png) no-repeat 0 0; }
132
+ .jcarousel-skin-tango .jcarousel-next-vertical:hover { background-position: 0 -32px; }
133
+ .jcarousel-skin-tango .jcarousel-next-vertical:active { background-position: 0 -64px; }
134
+ .jcarousel-skin-tango .jcarousel-next-disabled-vertical, .jcarousel-skin-tango .jcarousel-next-disabled-vertical:hover, .jcarousel-skin-tango .jcarousel-next-disabled-vertical:active { cursor: default; background-position: 0 -96px; }
135
+ .jcarousel-skin-tango .jcarousel-prev-vertical { position: absolute; top: 5px; left: 43px; width: 32px; height: 32px; cursor: pointer; background: transparent url(../images/buttons/prev-vertical.png) no-repeat 0 0; }
136
+ .jcarousel-skin-tango .jcarousel-prev-vertical:hover { background-position: 0 -32px; }
137
+ .jcarousel-skin-tango .jcarousel-prev-vertical:active { background-position: 0 -64px; }
138
+ .jcarousel-skin-tango .jcarousel-prev-disabled-vertical, .jcarousel-skin-tango .jcarousel-prev-disabled-vertical:hover, .jcarousel-skin-tango .jcarousel-prev-disabled-vertical:active { cursor: default; background-position: 0 -96px; }
skin/frontend/default/hellowired/css/print.css ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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_modern
22
+ * @copyright Copyright (c) 2009 Irubin Consulting Inc. DBA Varien (http://www.varien.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
+ html { margin:0 !important; padding:0 !important; }
27
+ body { background:#fff !important; font-size:9pt !important; padding:0 !important; margin:10px !important; }
28
+ a { color:#2976c9 !important; }
29
+ th,td { color:#2f2f2f !important; border-color:#ccc !important; }
30
+
31
+ .header-container,
32
+ .nav-container,
33
+ .footer-container,
34
+ .pager,
35
+ .toolbar,
36
+ .actions,
37
+ .buttons-set { display:none !important; }
38
+
39
+ .page-print .data-table .cart-tax-total { background-position:100% -54px; }
40
+ .page-print .data-table .cart-tax-info { display:block !important; }
skin/frontend/default/hellowired/css/responsive.css ADDED
@@ -0,0 +1,739 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*!
2
+ * Bootstrap Responsive v2.0.1
3
+ *
4
+ * Copyright 2012 Twitter, Inc
5
+ * Licensed under the Apache License v2.0
6
+ * http://www.apache.org/licenses/LICENSE-2.0
7
+ *
8
+ * Designed and built with all the love in the world @twitter by @mdo and @fat.
9
+ */
10
+ .clearfix {
11
+ *zoom: 1;
12
+ }
13
+ .clearfix:before, .clearfix:after {
14
+ display: table;
15
+ content: "";
16
+ }
17
+ .clearfix:after {
18
+ clear: both;
19
+ }
20
+ .hidden {
21
+ display: none;
22
+ visibility: hidden;
23
+ }
24
+
25
+ @media (max-width: 480px) {
26
+ address { font-size: 11px;}
27
+ .product-view .product-img-box{width:100% !important;}
28
+ .main{min-height:105px;}
29
+ .header .logo {text-align:center !important;}
30
+ .nav-container, .sidebar, .link-compare{display:none !important;}
31
+ .span12, .container, .page { width: 260px;}
32
+ .product-view .product-shop .add-to-links li { display: inline-block;}
33
+ #slider-wrapper { float: left; position: relative; width: 100%!important;}
34
+ #slider { height: 165px !important; width: 100%!important;}
35
+ .panel { width: 100% !important;}
36
+ #slider .panel img {height: 165px; width: 100%;}
37
+ .jcarousel-skin-tango .jcarousel-container {position:relative;right:8px;}
38
+ .jcarousel-skin-tango .jcarousel-container-horizontal{width:224px !important;padding: 15px 26px !important;}
39
+ .jcarousel-skin-tango .jcarousel-clip-horizontal{width:230px !important;}
40
+ .jcarousel-skin-tango .jcarousel-next-horizontal{right:2px !important;}
41
+ .form-search{right:57px;}
42
+ .pager .pages{margin:0;}
43
+ .wired-home .subscribe{width:91%;margin-top: 15px;}
44
+ .footer .footer-block.first { margin-left: 15px;}
45
+ .footer ul li { display: block;}
46
+ .footer .payment { float: left; margin-top: 10px; padding-left: 15px; width: 210px;}
47
+ .product-tabs li{width:100%; border-right:0;}
48
+ .product-view .box-tags .form-add .input-box{width:130px;}
49
+ .product-view .product-img-box .product-image-zoom{height:260px; width:260px;}
50
+ .product-collateral .box-collateral { overflow: hidden; width: 101%;}
51
+ #products-list li a img, #products-list li a{width:100px; height:100px;}
52
+ .products-list .product-shop { margin-left: 120px;}
53
+ .product-options-bottom .add-to-cart { margin: 15px 0 0; width: 100%;}
54
+ .products-grid li.item {margin: 20px 0 !important;}
55
+ .footer-block {padding: 15px 0 0;}
56
+ .footer { padding: 10px 0;}
57
+ .ratings {display:none;}
58
+ .product-view .box-reviews .form-add .form-list input.input-text, .product-view .box-reviews .form-add .form-list textarea { width: 340px;}
59
+ .product-collateral {margin: 20px 0;}
60
+ .cart .discount{float:left;}
61
+ .cart .discount .discount-form, .cart .shipping .shipping-form { float: left; margin-left: 0 !important;}
62
+ .cart .totals table{width:220px;}
63
+ .cms-links ul, .cms-links ul li { background: none repeat scroll 0 0 transparent; display: inline; float: left; width: 100%;}
64
+ .cms-links{ float: left; width:60%;}
65
+ .access { float: right; width:40%; top:0;}
66
+ .access .links li { display: inline; float: left; font-size: 11px; margin-right: 10px; padding-top: 6px; width: 100%;}
67
+ .cms-links ul, .cms-links ul li { background: none repeat scroll 0 0 transparent; display: inline; float: left; padding-top: 4px; width: 100%;}
68
+ .cart .totals .checkout-types li{ position:relative;top:60px;}
69
+ .form-list li.wide select { width: 240px;}
70
+ .data-table thead th, .cart-table td {font-size:10px;padding:3px;}
71
+ .my-wishlist .buttons-set {text-align: center;}
72
+ .my-wishlist button.button span span { border: 0 none; font-weight: normal; padding: 0px;text-transform: capitalize;}
73
+ .account-login .col2-set .col-1, .account-login .col2-set .col-2 {width:100%;margin-bottom:20px;}
74
+ .cart .crosssell, .pager .limiter, .box-account.box-recent {display:none !important;}
75
+ .form-list li.wide textarea { width: 320px;}
76
+ .col3-layout .col-wrapper{ border: 0 none;}
77
+ .product-actions {text-align:left;}
78
+ .product-actions .btn-cart {float: left;}
79
+ #checkout-step-login .form-list input.input-text {width:137px;}
80
+ .product-view .box-tags .form-add input.input-text { width: 110px;}
81
+ .product-essential { border: 0 none; padding:0; box-shadow: none;}
82
+ .nav-collapse { -webkit-transform: translate3d(0, 0, 0); }
83
+ .cart .shipping .input-box {margin-left:0;}
84
+ .product-essential {background:none;}
85
+ .product-view .box-up-sell .products-grid td {width:auto;}
86
+ .cart .crosssell .product-image {padding: 5px;}
87
+ .send-friend .form-list .field {float:none;}
88
+ .send-friend .form-list li.wide textarea {width: 245px;}
89
+ .send-friend .form-list input.input-text, .send-friend .form-list textarea {width:245px;}
90
+ .send-friend .form-list {width: 275px;}
91
+ .cart-table .btn-remove2 {display:none;}
92
+ .cart .discount .input-box {margin: 0;}
93
+ .box-account .col2-set .col-1 {float: none;width: 100%;}
94
+ .box-account .col2-set .col-2 {float: none;width: 100%;margin-top:10px;}
95
+ .form-list .input-box {max-width:230px;}
96
+ #checkout-step-login .form-list input.input-text {width:220px;}
97
+ #checkout-step-login .col2-set .col-1 { float: none; width: 100%;}
98
+ #checkout-step-login .col2-set .col-2 {margin-top:15px; float: none; width: 100%;}
99
+ .product-view .box-up-sell .products-grid td {padding:5px;}
100
+ .product-view .box-up-sell .products-grid .product-image, .product-view .box-up-sell .products-grid .product-image img {height: auto;max-height: 50px;max-width: 50px;width: auto;}
101
+ .product-view .box-up-sell .product-name a {font-size: 11px;text-align: left;}
102
+ }
103
+
104
+ @media (max-width: 768px) {
105
+ .promo-right, .subpromo, .promo-bottom{display:none;}
106
+ .nav-mobile {display: block !important;}
107
+ .hidden-desktop { display:block !important; }
108
+ .hidden-phone { display:none; }
109
+ #nav, .sidebar, .customer-account-index .block-banner, .customer-account-index .block-cart, .customer-account-index .block-compare, .customer-account-index .block-reorder {display:none !important;}
110
+ #menu #left-nav{display: block !important;}
111
+ .sidebar{display:none;}
112
+ .header .logo { text-align:left;width:100%; margin-bottom:10px !important; }
113
+ .products-grid li.item, .products-grid .product-image{width:100%;}
114
+ .products-grid .product-image{text-align:center;}
115
+ .breadcrumbs {width:100% !important;}
116
+ .product-view .product-shop{float:none; width:100%;}
117
+ .product-tabs a { padding: 6px 10px;}
118
+ .customer-account-index .col-left, .checkout-onepage-index .col-left{display:block !important;}
119
+ .block { background: none repeat scroll 0 0 #F6F6F6;}
120
+ .block .block-content { background: none repeat scroll 0 0 transparent;}
121
+ .cart .totals{width:100%;}
122
+ #shopping-cart-table tbody td:nth-child(1), #shopping-cart-table th:nth-child(1), #shopping-cart-table tbody td:nth-child(3), #shopping-cart-table th:nth-child(3), #shopping-cart-table tbody td:nth-child(4), #shopping-cart-table th:nth-child(4){display:none;}
123
+ #wishlist-table tbody td:nth-child(1), #wishlist-table th:nth-child(1), #wishlist-table tbody td:nth-child(3), #wishlist-table th:nth-child(3), #wishlist-table tbody td:nth-child(4), #wishlist-table th:nth-child(4){display:none;}
124
+ #billing-buttons-container{width:86%;}
125
+ #checkout-progress-wrapper{ margin-top:15px;}
126
+ .block-progress .block-title{
127
+ background: #494949; /* Old browsers */
128
+ /* IE9 SVG, needs conditional override of 'filter' to 'none' */
129
+ background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzQ5NDk0OSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMyNDI0MjQiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
130
+ background: -moz-linear-gradient(top, #494949 0%, #242424 100%); /* FF3.6+ */
131
+ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#494949), color-stop(100%,#242424)); /* Chrome,Safari4+ */
132
+ background: -webkit-linear-gradient(top, #494949 0%,#242424 100%); /* Chrome10+,Safari5.1+ */
133
+ background: -o-linear-gradient(top, #494949 0%,#242424 100%); /* Opera 11.10+ */
134
+ background: -ms-linear-gradient(top, #494949 0%,#242424 100%); /* IE10+ */
135
+ background: linear-gradient(to bottom, #494949 0%,#242424 100%); /* W3C */
136
+ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#494949', endColorstr='#242424',GradientType=0 ); /* IE6-8 */
137
+ }
138
+ .cms-links{ float: left;}
139
+ .access { float: left;}
140
+ .copyright{height:100%;}
141
+ .cart .crosssell {display:none !important;}
142
+ .cart .cart-collaterals .col2-set, .cart .cart-collaterals .col2-set .col-2 {width:100%;}
143
+ .cart .totals .checkout-types {text-align:right;}
144
+ .account-login .content {min-height: 100px;}
145
+ .form-list select {width:240px;}
146
+ .form-list input.input-text, .form-list li.wide input.input-text {width:226px;}
147
+ .opc .step {padding:15px;}
148
+ .form-list label {font-size:10px;}
149
+ .featurd-image div {display:none !important;}
150
+
151
+ [class*="span"] {
152
+ margin-left: 0px;
153
+ }
154
+ .row-fluid {
155
+ width: 100%;
156
+ }
157
+ .row {
158
+ margin-left: 0;
159
+ }
160
+ .row > [class*="span"], .row-fluid > [class*="span"], .col-left, .boxed .product-view .product-shop, .boxed .product-shop,.boxed .product-img-box,.col3-layout .col-wrapper,.col3-layout .col-main, .products-grid li.item,.product-shop,.product-img-box, .header .logo {
161
+ float: none;
162
+ display: block;
163
+ width: auto;
164
+ margin: 0;
165
+ position:inherit;
166
+ }
167
+ }
168
+
169
+ @media (min-width: 480px)and (max-width: 768px){
170
+ .span12, .container, .page {width: 500px;}
171
+ #slider-wrapper { float: left; position: relative; width: 500px !important;}
172
+ #slider {height: 225px !important; width: 500px;}
173
+ #slider .panel img {height: 225px; width: 500px;}
174
+ .jcarousel-skin-tango .jcarousel-container-horizontal{width:425px!important;}
175
+ .jcarousel-skin-tango .jcarousel-clip-horizontal{width:420px!important;}
176
+ .wired-home .subscribe{width:94%; margin-top:10px;}
177
+ .footer .footer-block {float: left; margin-left: 0; margin-top: 10px; width: 220px;}
178
+ .footer .payment {float: left; margin-top: 10px;}
179
+ .access .links li { display:inline; margin-right: 5px; font-size: 12px;}
180
+ .cart .shipping .form-list select { width: 200px;}
181
+ .cart .shipping .form-list input.input-text, .cart .discount input.input-text { width: 194px;}
182
+ }
183
+
184
+ @media (min-width: 768px) and (max-width: 979px) {
185
+ .mini-products-list .product-details {display:none;}
186
+ #slider-wrapper{width:500px !important; }
187
+ .promo-right {width: 30%;}
188
+ #slider {height: 250px !important;}
189
+ .panel { height: 262px !important; width: 100% !important;}
190
+ #slider .panel img { height: 100% !important; width: 100% !important;}
191
+ .promo-right {width: 210px !important;}
192
+ .promo-right img {margin-bottom: 11px; width: 100%;}
193
+ .subpromo, .promo-bottom{ display:none; }
194
+ .jcarousel-skin-tango .jcarousel-container-horizontal{ width:375px !important; }
195
+ .jcarousel-skin-tango .jcarousel-clip-horizontal{ width:100% !important; }
196
+ .jcarousel-skin-tango .jcarousel-item{ padding:0!important;}
197
+ .footer .footer-block{width:100px;}
198
+ .block-content img{ width:100%;}
199
+ .products-grid li a img{ width:110px; height:100px;}
200
+ .products-grid li.item{ width:112px; height:100px; padding: 0 0 180px;}
201
+ .products-grid .product-image{ width:110px; height:100px;}
202
+ .product-tabs a {padding: 6px 10px;}
203
+ .form-list li.wide input.input-text {width: 255px;}
204
+ .product-view .product-shop {float: none; width: auto;}
205
+ .cart .cart-collaterals .col2-set .col-2, .cart .totals{width:475px;}
206
+ .cart .shipping .form-list input.input-text {width: 190px;}
207
+ .cart .shipping .form-list select, .cart .discount input.input-text { width: 197px;}
208
+ /*.header .logo {margin-right: 15px;}
209
+ .header .form-search input.input-text {width: 113px;}
210
+ .jcarousel-skin-tango .jcarousel-item {padding: 20px 10px;}
211
+ .categories-slide .product-image img{width:80px;}
212
+ .categories-slide .product-details { min-height: auto; padding: 10px 0 0 90px;}
213
+ .footer.copyright .span5 {width:290px;}
214
+ button.button.btn-cart span span {padding:0 7px;}
215
+ .product-essential {padding: 15px;}
216
+ .product-collateral {padding: 15px;}
217
+ .product-view .product-shop { float: none; margin-left: 0; width: auto;}
218
+ .product-collateral .tabs li a {padding: 4px 13px;}*/
219
+ .row {
220
+ margin-left: -20px;
221
+ *zoom: 1;
222
+ }
223
+ .row:before, .row:after {
224
+ display: table;
225
+ content: "";
226
+ }
227
+ .row:after {
228
+ clear: both;
229
+ }
230
+
231
+ [class*="span"] {
232
+ float: left;
233
+ margin-left: 20px;
234
+ }
235
+ .span1 {
236
+ width: 42px;
237
+ }
238
+ .span2 {
239
+ width: 102px;
240
+ }
241
+ .span3 {
242
+ width: 164px;
243
+ }
244
+ .span4 {
245
+ width: 228px;
246
+ }
247
+ .span5 {
248
+ width: 290px;
249
+ }
250
+ .span6 {
251
+ width: 352px !important;
252
+ }
253
+ .span7 {
254
+ width: 414px;
255
+ }
256
+ .span8 {
257
+ width: 476px;
258
+ }
259
+ .span9 {
260
+ width: 538px;
261
+ }
262
+ .span10 {
263
+ width: 600px;
264
+ }
265
+ .span11 {
266
+ width: 662px;
267
+ }
268
+ .span12, .container, .page {
269
+ width: 724px;
270
+ }
271
+ .offset1 {
272
+ margin-left: 82px;
273
+ }
274
+ .offset2 {
275
+ margin-left: 144px;
276
+ }
277
+ .offset3 {
278
+ margin-left: 206px;
279
+ }
280
+ .offset4 {
281
+ margin-left: 268px;
282
+ }
283
+ .offset5 {
284
+ margin-left: 330px;
285
+ }
286
+ .offset6 {
287
+ margin-left: 392px;
288
+ }
289
+ .offset7 {
290
+ margin-left: 454px;
291
+ }
292
+ .offset8 {
293
+ margin-left: 516px;
294
+ }
295
+ .offset9 {
296
+ margin-left: 578px;
297
+ }
298
+ .offset10 {
299
+ margin-left: 640px;
300
+ }
301
+ .offset11 {
302
+ margin-left: 702px;
303
+ }
304
+ .row-fluid {
305
+ width: 100%;
306
+ *zoom: 1;
307
+ }
308
+ .row-fluid:before, .row-fluid:after {
309
+ display: table;
310
+ content: "";
311
+ }
312
+ .row-fluid:after {
313
+ clear: both;
314
+ }
315
+ .row-fluid > [class*="span"] {
316
+ float: left;
317
+ margin-left: 2.762430939%;
318
+ }
319
+ .row-fluid > [class*="span"]:first-child {
320
+ margin-left: 0;
321
+ }
322
+ .row-fluid > .span1 {
323
+ width: 5.801104972%;
324
+ }
325
+ .row-fluid > .span2 {
326
+ width: 14.364640883%;
327
+ }
328
+ .row-fluid > .span3, .featured-products li {
329
+ width: 22.928176794%;
330
+ }
331
+ .row-fluid > .span4 {
332
+ width: 30.491712705%;
333
+ }
334
+ .row-fluid > .span5 {
335
+ width: 40.055248616%;
336
+ }
337
+ .row-fluid > .span6 {
338
+ width: 48.618784527%;
339
+ }
340
+ .row-fluid > .span7 {
341
+ width: 57.182320438000005%;
342
+ }
343
+ .row-fluid > .span8 {
344
+ width: 65.74585634900001%;
345
+ }
346
+ .row-fluid > .span9 {
347
+ width: 74.30939226%;
348
+ }
349
+ .row-fluid > .span10 {
350
+ width: 82.87292817100001%;
351
+ }
352
+ .row-fluid > .span11 {
353
+ width: 91.436464082%;
354
+ }
355
+ .row-fluid > .span12 {
356
+ width: 99.999999993%;
357
+ }
358
+ input.span1, textarea.span1, .uneditable-input.span1 {
359
+ width: 32px;
360
+ }
361
+ input.span2, textarea.span2, .uneditable-input.span2 {
362
+ width: 94px;
363
+ }
364
+ input.span3, textarea.span3, .uneditable-input.span3 {
365
+ width: 156px;
366
+ }
367
+ input.span4, textarea.span4, .uneditable-input.span4 {
368
+ width: 218px;
369
+ }
370
+ input.span5, textarea.span5, .uneditable-input.span5 {
371
+ width: 280px;
372
+ }
373
+ input.span6, textarea.span6, .uneditable-input.span6 {
374
+ width: 342px;
375
+ }
376
+ input.span7, textarea.span7, .uneditable-input.span7 {
377
+ width: 404px;
378
+ }
379
+ input.span8, textarea.span8, .uneditable-input.span8 {
380
+ width: 466px;
381
+ }
382
+ input.span9, textarea.span9, .uneditable-input.span9 {
383
+ width: 528px;
384
+ }
385
+ input.span10, textarea.span10, .uneditable-input.span10 {
386
+ width: 590px;
387
+ }
388
+ input.span11, textarea.span11, .uneditable-input.span11 {
389
+ width: 652px;
390
+ }
391
+ input.span12, textarea.span12, .uneditable-input.span12 {
392
+ width: 714px;
393
+ }
394
+ }
395
+
396
+ /*@media (max-width: 979px) {
397
+
398
+ body {
399
+ padding-top: 0;
400
+ }
401
+ .span5 {
402
+ margin-left: 0;
403
+ }
404
+ .footer .row-fluid > [class*="span"]:first-child {
405
+ margin-left: 2.5641% ;
406
+ }
407
+ .navbar-fixed-top {
408
+ position: static;
409
+ margin-bottom: 18px;
410
+ }
411
+ .blockHome .row-fluid > [class*="span"] {
412
+ margin-left: 0 !important;
413
+ }
414
+
415
+ .blockHome {.border-radius(2px); border:1px solid #D8D8D8 !important; }
416
+ .footer .row-fluid > .span3{
417
+ width: 21.93%;
418
+ }
419
+ .navbar-fixed-top .navbar-inner {
420
+ padding: 5px;
421
+ }
422
+ .navbar .container {
423
+ width: auto;
424
+ padding: 0;
425
+ }
426
+ .navbar .brand {
427
+ padding-left: 10px;
428
+ padding-right: 10px;
429
+ margin: 0 0 0 -5px;
430
+ }
431
+ .navbar .nav-collapse {
432
+ clear: left;
433
+ }
434
+ .navbar .nav {
435
+ float: none;
436
+ margin: 0 0 9px;
437
+ }
438
+ .navbar .nav > li {
439
+ float: none;
440
+ }
441
+ .navbar .nav > li > a {
442
+ margin-bottom: 2px;
443
+ }
444
+ .navbar .nav > .divider-vertical {
445
+ display: none;
446
+ }
447
+ .navbar .nav .nav-header {
448
+ color: #999999;
449
+ text-shadow: none;
450
+ }
451
+ .navbar .nav > li > a, .navbar .dropdown-menu a {
452
+ padding: 6px 15px;
453
+ font-weight: bold;
454
+ color: #999999;
455
+ -webkit-border-radius: 3px;
456
+ -moz-border-radius: 3px;
457
+ border-radius: 3px;
458
+ }
459
+ .navbar .dropdown-menu li + li a {
460
+ margin-bottom: 2px;
461
+ }
462
+ .navbar .nav > li > a:hover, .navbar .dropdown-menu a:hover {
463
+ background-color: #222222;
464
+ }
465
+ .navbar .dropdown-menu {
466
+ position: static;
467
+ top: auto;
468
+ left: auto;
469
+ float: none;
470
+ display: block;
471
+ max-width: none;
472
+ margin: 0 15px;
473
+ padding: 0;
474
+ background-color: transparent;
475
+ border: none;
476
+ -webkit-border-radius: 0;
477
+ -moz-border-radius: 0;
478
+ border-radius: 0;
479
+ -webkit-box-shadow: none;
480
+ -moz-box-shadow: none;
481
+ box-shadow: none;
482
+ }
483
+ .navbar .dropdown-menu:before, .navbar .dropdown-menu:after {
484
+ display: none;
485
+ }
486
+ .navbar .dropdown-menu .divider {
487
+ display: none;
488
+ }
489
+ .navbar-form, .navbar-search {
490
+ float: none;
491
+ padding: 9px 15px;
492
+ margin: 9px 0;
493
+ border-top: 1px solid #222222;
494
+ border-bottom: 1px solid #222222;
495
+ -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1);
496
+ -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1);
497
+ box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1);
498
+ }
499
+ .navbar .nav.pull-right {
500
+ float: none;
501
+ margin-left: 0;
502
+ }
503
+ .navbar-static .navbar-inner {
504
+ padding-left: 10px;
505
+ padding-right: 10px;
506
+ }
507
+ .btn-navbar {
508
+ display: block;
509
+ }
510
+ .nav-collapse {
511
+ overflow: hidden;
512
+ height: 0;
513
+ }
514
+ }
515
+ */
516
+
517
+ @media (max-width: 1200px) {
518
+ .mini-products-list .product-details {display:none}
519
+ .product-view .product-img-box {
520
+ float: none;
521
+ width:47%;
522
+ }
523
+ }
524
+
525
+ @media (min-width: 1200px) {
526
+ .row {
527
+ margin-left: -30px;
528
+ *zoom: 1;
529
+ }
530
+ .products-grid.row {
531
+ margin-left: -17px;
532
+ *zoom: 1;
533
+ }
534
+ .row:before, .row:after {
535
+ display: table;
536
+ content: "";
537
+ }
538
+ .row:after {
539
+ clear: both;
540
+ }
541
+ .featured-products li {
542
+ float:left;
543
+ margin-left:30px;
544
+ }
545
+ [class*="span"] {
546
+ float: left;
547
+ margin-left: 30px;
548
+ }
549
+ .category-products .span2 {
550
+ margin-left: 20px;
551
+ }
552
+ .boxed .product-shop {
553
+ width: 488px;
554
+ }
555
+ .boxed .product-img-box {
556
+ width: 298px;
557
+ }
558
+ .featured-products li {
559
+ width: 204px;
560
+ }
561
+ .span1 {
562
+ width: 70px;
563
+ }
564
+ .span2 {
565
+ width: 170px;
566
+ }
567
+ .span25 {
568
+ width: 210px;
569
+ }
570
+ .span3 {
571
+ width: 195px;
572
+ }
573
+ .span4 {
574
+ width: 265px;
575
+ }
576
+ .span5 {
577
+ width: 433px;
578
+ }
579
+ .span6 {
580
+ width: 570px;
581
+ }
582
+ .span7 {
583
+ width: 670px;
584
+ }
585
+ .span8 {
586
+ width: 674px;
587
+ }
588
+ .span9 {
589
+ width: 735px;
590
+ }
591
+ .span10 {
592
+ width: 970px;
593
+ }
594
+ .span11 {
595
+ width: 1070px;
596
+ }
597
+ .span12, .container,.page{
598
+ width: 960px;
599
+ }
600
+ .offset1 {
601
+ margin-left: 130px;
602
+ }
603
+ .offset2 {
604
+ margin-left: 230px;
605
+ }
606
+ .offset3 {
607
+ margin-left: 330px;
608
+ }
609
+ .offset4 {
610
+ margin-left: 430px;
611
+ }
612
+ .offset5 {
613
+ margin-left: 530px;
614
+ }
615
+ .offset6 {
616
+ margin-left: 630px;
617
+ }
618
+ .offset7 {
619
+ margin-left: 730px;
620
+ }
621
+ .offset8 {
622
+ margin-left: 830px;
623
+ }
624
+ .offset9 {
625
+ margin-left: 930px;
626
+ }
627
+ .offset10 {
628
+ margin-left: 1030px;
629
+ }
630
+ .offset11 {
631
+ margin-left: 1130px;
632
+ }
633
+ .row-fluid {
634
+ width: 100%;
635
+ *zoom: 1;
636
+ }
637
+ .row-fluid:before, .row-fluid:after {
638
+ display: table;
639
+ content: "";
640
+ }
641
+ .row-fluid:after {
642
+ clear: both;
643
+ }
644
+ .row-fluid > [class*="span"] {
645
+ float: left;
646
+ margin-left: 2.564102564%;
647
+ }
648
+ .row-fluid > [class*="span"]:first-child {
649
+ margin-left: 0;
650
+ }
651
+ .row-fluid .payment-options.span6 {
652
+ margin-left:0 !important;
653
+ margin-right: 2.5641% !important;
654
+ }
655
+ .row-fluid > .span1 {
656
+ width: 5.982905983%;
657
+ }
658
+ .row-fluid > .span2 {
659
+ width: 14.529914530000001%;
660
+ }
661
+ .row-fluid > .span25 {
662
+ width:18.785%;
663
+ }
664
+ .row-fluid > .span3 {
665
+ width: 21.8%;
666
+ }
667
+ .footer .row-fluid > .span3 {
668
+ width: 22.4% !imortant;
669
+ }
670
+ .row-fluid > .span4 {
671
+ width: 31.623931624%;
672
+ }
673
+ .row-fluid > .span5 {
674
+ width: 40.170940171000005%;
675
+ }
676
+ .row-fluid > .span6 {
677
+ width: 48.717948718%;
678
+ }
679
+ .row-fluid > .span7 {
680
+ width: 57.264957265%;
681
+ }
682
+ .row-fluid > .span8 {
683
+ width: 65.81196581200001%;
684
+ }
685
+ .row-fluid > .span9 {
686
+ width: 74.358974359%;
687
+ }
688
+ .row-fluid > .span10 {
689
+ width: 82.905982906%;
690
+ }
691
+ .row-fluid > .span11 {
692
+ width: 91.45299145300001%;
693
+ }
694
+ .row-fluid > .span12 {
695
+ width: 100%;
696
+ }
697
+ input.span1, textarea.span1, .uneditable-input.span1 {
698
+ width: 60px;
699
+ }
700
+ input.span2, textarea.span2, .uneditable-input.span2 {
701
+ width: 160px;
702
+ }
703
+ input.span3, textarea.span3, .uneditable-input.span3 {
704
+ width: 260px;
705
+ }
706
+ input.span4, textarea.span4, .uneditable-input.span4 {
707
+ width: 360px;
708
+ }
709
+ input.span5, textarea.span5, .uneditable-input.span5 {
710
+ width: 460px;
711
+ }
712
+ input.span6, textarea.span6, .uneditable-input.span6 {
713
+ width: 560px;
714
+ }
715
+ input.span7, textarea.span7, .uneditable-input.span7 {
716
+ width: 660px;
717
+ }
718
+ input.span8, textarea.span8, .uneditable-input.span8 {
719
+ width: 760px;
720
+ }
721
+ input.span9, textarea.span9, .uneditable-input.span9 {
722
+ width: 860px;
723
+ }
724
+ input.span10, textarea.span10, .uneditable-input.span10 {
725
+ width: 960px;
726
+ }
727
+ input.span11, textarea.span11, .uneditable-input.span11 {
728
+ width: 1060px;
729
+ }
730
+ input.span12, textarea.span12, .uneditable-input.span12 {
731
+ width: 1160px;
732
+ }
733
+ .thumbnails {
734
+ margin-left: -30px;
735
+ }
736
+ .thumbnails > li {
737
+ margin-left: 30px;
738
+ }
739
+ }
skin/frontend/default/hellowired/css/styles-ie.css ADDED
@@ -0,0 +1,187 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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_modern
22
+ * @copyright Copyright (c) 2009 Irubin Consulting Inc. DBA Varien (http://www.varien.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 .main { height:350px; }
29
+ * html .account-login .content { height:200px; }
30
+ .block li.item,
31
+ .block-poll li,
32
+ .opc li.section { vertical-align:top; }
33
+
34
+ * html button.button span { background-image:url(../images/bkg_btn.gif); }
35
+ * html .form-search button.button span,
36
+ * html .block button.button span,
37
+ * html .product-view .box-tags .form-add button.button span,
38
+ * html .footer .form-subscribe button.button span { background-image:url(../images/bkg_btn-small.gif); }
39
+ * html #nav li.parent a { background: url(../images/background/menu_bullet_ie6.gif) no-repeat 90% 50%; }
40
+ * html #nav li.parent a:hover { background: url(../images/background/menu_bullet_ie6.gif) no-repeat 90% 50%; }
41
+
42
+ * html .footer { padding: 30px 0px 30px 10px; }
43
+ * html .footer .footer-block { margin-left: 10px; display:inline; }
44
+ * html .copyright .f-right { margin-top: 12px; }
45
+ * html button.button span { position:relative; color: #fff; }
46
+ * html button.button span { background:url("../images/bkg_btn.gif") no-repeat scroll 0 0 transparent;}
47
+ * html button.button span span {background-position:100% 0;padding:0 15px 0 9px;}
48
+
49
+ /* Doubled Margin Fixes */
50
+ .product-view .product-img-box .more-views li,
51
+ .product-view .box-tags .form-add .input-box,
52
+ .sp-methods select.month,
53
+ .footer .form-subscribe .input-box, .footer .footer-block,
54
+ .wired-home .promo { display:inline; }
55
+
56
+ .copyright .f-right img { margin-top: -3px;padding:0px !important;}
57
+ /********** < Navigation styles */
58
+ #nav li,
59
+ #nav li a { zoom:1; }
60
+ #nav li { vertical-align:top; }
61
+ /* Show Menu */
62
+ #nav li.over ul.shown-sub { left:0; }
63
+ #leftnav li.over ul.shown-sub { left:100px; }
64
+ #nav li.over li ul.shown-sub { left:100px; }
65
+ #nav li.parent ul li a { background-image: none !important; }
66
+
67
+
68
+ .access { width: 600px; }
69
+ .access ul {}
70
+ .access ul li { display:inline;float:left; }
71
+
72
+ /********** < Navigation styles */
73
+
74
+ select { margin-bottom:1px; }
75
+ input.radio { width:13px; height:13px; }
76
+ input.checkbox { width:13px; height:13px; }
77
+ button.button { height:28px; }
78
+ button.button span { position:relative; color: #fff; }
79
+ button.btn-checkout { height:28px; }
80
+ .form-list label { position:relative; z-index:0; }
81
+ .form-list label.required em { position:absolute; top:0; right:-8px; }
82
+ .form-list .input-box input.input-text { float:left; }
83
+
84
+ .form-search button.button,
85
+ .block button.button,
86
+ .product-view .box-tags .form-add button.button,
87
+ .footer .form-subscribe button.button { height:23px; }
88
+
89
+ .cart .discount .buttons-set button.button,
90
+ .cart .shipping .buttons-set button.button { height:19px; }
91
+
92
+ table { face-color:expression(runtimeStyle.scrollbarFaceColor = '#fff', cellSpacing = 0); }
93
+
94
+ .product-view .product-img-box .zoom.disabled { filter:alpha(opacity=30); }
95
+
96
+ .gift-messages-form { position:relative; zoom:1; }
97
+
98
+ .tool-tip .btn-close a { margin:0; }
99
+ .footer .footer-block { display: inline; margin-left: 25px; }
100
+
101
+
102
+ .product-view .box-tags .product-tags li { padding:0 4px 0 7px; }
103
+ .footer li {}
104
+
105
+ /* Clearer */
106
+ .clearer { display:block; clear:both; font-size:0; line-height:0; height:0; overflow:hidden; }
107
+
108
+ /* Clears and hasLayout fixes */
109
+ .header-container,.copyright, .footer .f-left,
110
+ .header-container .top-container,.wired-home .promo,
111
+ .header,
112
+ .top-bar,
113
+ .quick-access,
114
+ .form-search,
115
+ #nav,
116
+ .main,
117
+ .footer,
118
+ .footer .form-subscribe,
119
+ .footer-container .bottom-container,
120
+ .col-main,
121
+ .col2-set,
122
+ .col3-set,
123
+ .col4-set,
124
+ .messages li,
125
+ .search-autocomplete li,
126
+ .block,
127
+ .block .block-content,
128
+ .block .actions,
129
+ .block li.item,
130
+ .block-poll li,
131
+ .block-poll .label,
132
+ .block-layered-nav .currently li,
133
+ .block-account .block-content li a,
134
+ .mini-products-list .product-details,
135
+ .page-title,
136
+ .rss-title h1,
137
+ .products-grid,
138
+ .products-list li.item,
139
+ .box-account .box-head,
140
+ .dashboard .box .box-title,
141
+ .order-info ul,
142
+ .box-reviews li.item,
143
+ .box-tags li.item,
144
+ .pager,
145
+ .sorter,
146
+ .ratings,
147
+ .add-to-box,
148
+ .add-to-cart,
149
+ .product-essential,
150
+ .product-collateral,
151
+ .product-tabs,
152
+ .product-view .product-img-box .more-views ul,
153
+ .product-view .box-tags .form-add,
154
+ .product-options .options-list li,
155
+ .product-options-bottom,
156
+ .truncated,
157
+ .truncated .truncated_full_value,
158
+ .product-review,
159
+ .cart,
160
+ .cart-collaterals,
161
+ .cart .crosssell li.item,
162
+ .cart .discount,
163
+ .cart .discount .discount-form,
164
+ .cart .shipping .shipping-form,
165
+ .opc .step-title,
166
+ .opc .step,
167
+ .multiple-checkout,
168
+ .sp-methods,
169
+ .checkout-progress,
170
+ .multiple-checkout .place-order,
171
+ .form-list li,
172
+ .form-list .field,
173
+ .form-list .input-box,
174
+ .group-select li,
175
+ .buttons-set,
176
+ .page-print .print-head,
177
+ .cart-tax-total,
178
+ .advanced-search-summary,
179
+ .advanced-search-summary p,
180
+ .gift-messages-form .item,
181
+ .send-friend .form-list li p { zoom:1; }
182
+
183
+ /* Hover Fix */
184
+ iframe.hover-fix { position:absolute; left:-1px; top:-1px; z-index:-1; background:transparent; filter:progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=0); }
185
+
186
+
187
+ .form-subscribe button.button span{padding:0px;}
skin/frontend/default/hellowired/css/styles.css ADDED
@@ -0,0 +1,1891 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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_modern
22
+ * @copyright Copyright (c) 2009 Irubin Consulting Inc. DBA Varien (http://www.varien.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:#e0e0e0 ; font:12px/1.55 arial, helvetica, sans-serif; color:#444; text-align:center; }
30
+
31
+ img { border:0; vertical-align:top; }
32
+
33
+ a { color:#505050; text-decoration:none; }
34
+ a:hover { text-decoration:underline; }
35
+ :focus { outline: 0; }
36
+
37
+ /* Headings */
38
+ h1 { font-size:2em; font-weight:normal; line-height:1.15; }
39
+ h2 { font-size:1.5em; line-height:1.25; margin-bottom:.45em; }
40
+ h3 { font-size:1.35em; line-height:1.25; margin-bottom:.45em; }
41
+ h4 { font-size:1.05em; line-height:1.35; margin-bottom:.45em; }
42
+ h5 { font-size:1.05em; line-height:1.35; margin-bottom:.45em; }
43
+ h6 { font-size:1em; line-height:1.35; margin-bottom:1em; }
44
+
45
+ /* Forms */
46
+ form { display:inline; }
47
+ fieldset { border:0; }
48
+ legend { display:none; }
49
+
50
+ /* Table */
51
+ table { border:0; /*border-collapse:collapse;*/ border-spacing:0; empty-cells:show; font-size:100%; }
52
+ caption,th,td { vertical-align:top; text-align:left; font-weight:normal; }
53
+
54
+ /* Content */
55
+ p { margin:0 0 1em; }
56
+ strong { font-weight:bold; }
57
+ address { font-style:normal; line-height:1.35; }
58
+ cite { font-style:normal; }
59
+ q,
60
+ blockquote { quotes:none; }
61
+ q:before,
62
+ q:after { content:''; }
63
+ small { font-size:1em; }
64
+ big { font-size:1.15em; }
65
+ /*sup { font-size:1em; vertical-align:top; }*/
66
+
67
+ /* Lists */
68
+ ul,ol { list-style:none; }
69
+
70
+ /* Tools */
71
+ .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; }
72
+ .nobr { white-space:nowrap !important; }
73
+ .wrap { white-space:normal !important; }
74
+ .a-left { text-align:left !important; }
75
+ .a-center { text-align:center !important; }
76
+ .a-right { text-align:right !important; }
77
+ .v-top { vertical-align:top; }
78
+ .v-middle { vertical-align:middle; }
79
+ .f-left,
80
+ .left { float:left !important; }
81
+ .f-right,
82
+ .right { float:right !important; }
83
+ .f-none { float:none !important; }
84
+ .f-fix { float:left; width:100%; }
85
+ .no-display { display:none; }
86
+ .no-margin { margin:0 !important; }
87
+ .no-padding { padding:0 !important; }
88
+ .no-bg { background:none !important; }
89
+ /* ======================================================================================= */
90
+
91
+
92
+ /* Layout ================================================================================ */
93
+ .page { width:960px;margin:0px auto; text-align:left; padding: 0px 20px 20px 20px; background: #fff; border: 5px solid #cfcfcf; border-width: 0px 5px 5px 5px;}
94
+ .page-print { background:#fff; padding:25px 30px; text-align:left; }
95
+ .page-empty { background:#fff; padding:20px; text-align:left; }
96
+ .page-popup { background:#fff; padding:25px 30px; text-align:left; }
97
+ .main-container {}
98
+ .main {border-top:0;padding-bottom: 20px; min-height:350px; }
99
+
100
+ /* Base Columns */
101
+ .col-left { float:left; width:200px; padding:0 0 1px; }
102
+ .col-main { float:left; width:740px; padding:0 0 1px; }
103
+ .col-right { float:right; width:200px; padding:0 0 1px;}
104
+
105
+ /* 1 Column Layout */
106
+ .col1-layout .main { padding:16px 10px 40px; }
107
+ .col1-layout .col-main { float:none; width:auto; }
108
+
109
+ /* 2 Columns Layout */
110
+ .col2-left-layout .col-main { float:right; }
111
+ .col2-right-layout .col-main {}
112
+
113
+ /* 3 Columns Layout */
114
+ .col3-layout .col-main { width:520px; margin-left: 20px; }
115
+ .col3-layout .col-wrapper { float:left; width:689px; }
116
+ .col3-layout .col-wrapper .col-main { float:right; }
117
+
118
+ /* Content Columns */
119
+ .col2-set .col-1 { float:left; width:48.5%; }
120
+ .col2-set .col-2 { float:right; width:48.5%; }
121
+ .col2-set .col-narrow { width:32%; }
122
+ .col2-set .col-wide { width:65%; }
123
+
124
+ .col3-set .col-1 { float:left; width:32%; }
125
+ .col3-set .col-2 { float:left; width:32%; margin-left:2%; }
126
+ .col3-set .col-3 { float:right; width:32%; }
127
+
128
+ .col4-set .col-1 { float:left; width:23.5%; }
129
+ .col4-set .col-2 { float:left; width:23.5%; margin:0 2%; }
130
+ .col4-set .col-3 { float:left; width:23.5%; }
131
+ .col4-set .col-4 { float:right; width:23.5%; }
132
+ /* ======================================================================================= */
133
+
134
+
135
+ /* Global Styles ========================================================================= */
136
+ /* Form Elements */
137
+ input,select,textarea,button { font:12px/15px Arial, Helvetica, sans-serif; vertical-align:middle; color:#2f2f2f; }
138
+ input.input-text,select,textarea { background:#fff; border:1px solid #b6b6b6; }
139
+ input.input-text,textarea { padding:2px; }
140
+ select { padding:1px; }
141
+ select option { padding-right:10px; }
142
+ select.multiselect option { border-bottom:1px solid #b6b6b6; padding:1px 5px; }
143
+ select.multiselect option:last-child { border-bottom:0; }
144
+ textarea { overflow:auto; }
145
+ input.radio { margin-right:3px; }
146
+ input.checkbox { margin-right:3px; }
147
+ input.qty { width:2.5em !important; }
148
+ button.button::-moz-focus-inner { padding:0; border:0; } /* FF Fix */
149
+ button.button { -webkit-border-fit:lines; } /* <- Safari & Google Chrome Fix */
150
+ button.button { overflow:visible; width:auto; border:0; padding:0; margin:0; background:transparent; cursor:pointer; }
151
+ button.button span { float:left; height:29px; background:transparent url(../images/bkg_btn.png) 0 0 no-repeat; padding:0 0 0 6px; font:bold 11px/25px Tahoma, Verdana, Arial, sans-serif; text-transform:uppercase; line-height: 27px; text-align:center; white-space:nowrap; color:#555; color:#fff; text-shadow: 0px 1px #ce6000 !important; }
152
+ button.button:hover span { background-position: bottom left; }
153
+ button.button span span { background-position:100% 0; padding:0 15px 0 9px; }
154
+ button.button:hover span span { background-position: bottom right; }
155
+ button.disabled span { color:#bbb !important; }
156
+
157
+ /*button.btn-cart span {}*/
158
+ button.btn-checkout span { height:28px; border:0; padding:0 0 0 6px; font:bold 12px/26px Arial, Helvetica, sans-serif; color:#fff; }
159
+ button.btn-checkout span span { padding:0 20px; }
160
+ button.btn-checkout.no-checkout span { background-position:0 100%; }
161
+ button.btn-checkout.no-checkout span span { background-position:100% 100%; }
162
+
163
+ p.control input.checkbox,
164
+ p.control input.radio { margin-right:6px; }
165
+ /* Form Highlight */
166
+ /*input.input-text:focus,select:focus,textarea:focus { background-color:#edf7fd; }*/
167
+ /*.highlight { background:#efefef; }*/
168
+
169
+ /* Form lists */
170
+ /* Grouped fields */
171
+ /*.form-list { width:535px; margin:0 auto; overflow:hidden; }*/
172
+ .form-list li { margin:0 0 6px; }
173
+ .form-list label { float:left; color:#555; font-weight:bold; position:relative; z-index:0; }
174
+ .form-list label.required {}
175
+ .form-list label.required em { float:right; font-style:normal; color:#eb340a; position:absolute; top:0; right:-7px; }
176
+ .form-list li.control label { float:none; }
177
+ .form-list li.control input.radio,
178
+ .form-list li.control input.checkbox { margin-top:-1px; margin-right:4px; }
179
+ .form-list li.control .input-box { clear:none; display:inline; width:auto; }
180
+ /*.form-list li.fields { margin-right:-15px; }*/
181
+ .form-list .input-box { display:block; clear:both; width:260px; }
182
+ .form-list .field { float:left; width:275px; }
183
+ .form-list input.input-text { width:254px; }
184
+ .form-list textarea { width:254px; height:10em; }
185
+ .form-list select { width:260px; }
186
+ .form-list li.wide .input-box { width:535px; }
187
+ .form-list li.wide input.input-text { width:529px; }
188
+ .form-list li.wide textarea { width:529px; }
189
+ .form-list li.wide select { width:535px; }
190
+ .form-list li.additional-row { border-top:1px solid #ccc; margin-top:10px; padding-top:7px; }
191
+ .form-list li.additional-row .btn-remove { float:right; margin:5px 0 0; }
192
+ .form-list .input-range input.input-text { width:74px; }
193
+ /* Customer */
194
+ .form-list .customer-name-prefix .input-box,
195
+ .form-list .customer-name-suffix .input-box,
196
+ .form-list .customer-name-prefix-suffix .input-box,
197
+ .form-list .customer-name-prefix-middlename .input-box,
198
+ .form-list .customer-name-middlename-suffix .input-box,
199
+ .form-list .customer-name-prefix-middlename-suffix .input-box { width:auto; }
200
+
201
+ .form-list .name-prefix { width:65px; }
202
+ .form-list .name-prefix select { width:55px; }
203
+ .form-list .name-prefix input.input-text { width:49px; }
204
+
205
+ .form-list .name-suffix { width:65px; }
206
+ .form-list .name-suffix select { width:55px; }
207
+ .form-list .name-suffix input.input-text { width:49px; }
208
+
209
+ .form-list .name-middlename { width:70px; }
210
+ .form-list .name-middlename input.input-text { width:49px; }
211
+
212
+ .form-list .customer-name-prefix-middlename-suffix .name-firstname,
213
+ .form-list .customer-name-prefix-middlename .name-firstname { width:140px; }
214
+ .form-list .customer-name-prefix-middlename-suffix .name-firstname input.input-text,
215
+ .form-list .customer-name-prefix-middlename .name-firstname input.input-text { width:124px; }
216
+ .form-list .customer-name-prefix-middlename-suffix .name-lastname { width:205px; }
217
+ .form-list .customer-name-prefix-middlename-suffix .name-lastname input.input-text { width:189px; }
218
+
219
+ .form-list .customer-name-prefix-suffix .name-firstname { width:210px; }
220
+ .form-list .customer-name-prefix-suffix .name-lastname { width:205px; }
221
+ .form-list .customer-name-prefix-suffix .name-firstname input.input-text,
222
+ .form-list .customer-name-prefix-suffix .name-lastname input.input-text { width:189px; }
223
+
224
+ .form-list .customer-name-prefix-suffix .name-firstname { width:210px; }
225
+ .form-list .customer-name-prefix-suffix .name-lastname { width:205px; }
226
+ .form-list .customer-name-prefix-suffix .name-firstname input.input-text,
227
+ .form-list .customer-name-prefix-suffix .name-lastname input.input-text { width:189px; }
228
+
229
+ .form-list .customer-name-prefix .name-firstname,
230
+ .form-list .customer-name-middlename .name-firstname { width:210px; }
231
+
232
+ .form-list .customer-name-suffix .name-lastname,
233
+ .form-list .customer-name-middlename .name-firstname,
234
+ .form-list .customer-name-middlename-suffix .name-firstname,
235
+ .form-list .customer-name-middlename-suffix .name-lastname { width:205px; }
236
+
237
+ .form-list .customer-name-prefix .name-firstname input.input-text,
238
+ .form-list .customer-name-suffix .name-lastname input.input-text,
239
+ .form-list .customer-name-middlename .name-firstname input.input-text,
240
+ .form-list .customer-name-middlename-suffix .name-firstname input.input-text,
241
+ .form-list .customer-name-middlename-suffix .name-lastname input.input-text { width:189px; }
242
+
243
+ .form-list .customer-dob .dob-month,
244
+ .form-list .customer-dob .dob-day,
245
+ .form-list .customer-dob .dob-year { float:left; width:85px; }
246
+ .form-list .customer-dob input.input-text { display:block; width:74px; }
247
+ .form-list .customer-dob label { font-size:10px; font-weight:normal; color:#888; }
248
+ .form-list .customer-dob .dob-day,
249
+ .form-list .customer-dob .dob-month { width:60px; }
250
+ .form-list .customer-dob .dob-day input.input-text,
251
+ .form-list .customer-dob .dob-month input.input-text { width:46px; }
252
+ .form-list .customer-dob .dob-year { width:140px; }
253
+ .form-list .customer-dob .dob-year input.input-text { width:134px; }
254
+
255
+ .buttons-set { clear:both; margin:4em 0 0; padding:8px 0 0; border-top:1px solid #e4e4e4; text-align:right; }
256
+ .buttons-set p.required { margin:0 0 10px; }
257
+ .buttons-set .back-link { float:left; margin:0; }
258
+ .buttons-set button.button { float:right; margin-left:5px; }
259
+
260
+ .buttons-set-order { margin:10px 0 0; }
261
+ .buttons-set-order .please-wait { padding:5px 7px 0 0; }
262
+
263
+ .fieldset { margin:0 10px 25px; }
264
+ .fieldset .legend { margin:0 -10px 12px; background:#f1f1f1; padding:2px 10px; font-size:13px; line-height:1.25; }
265
+
266
+ /* Form Validation */
267
+ .validation-advice { clear:both; min-height:13px; margin:3px 0 0; padding-left:13px; font-size:11px; line-height:13px; background:url(../images/validation_advice_bg.gif) 2px 3px no-repeat; color:#eb340a; }
268
+ .validation-failed { border:1px solid #eb340a !important; background:#faebe7 !important; }
269
+ .validation-passed {}
270
+ p.required { font-size:11px; text-align:right; color:#EB340A; }
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:#df280a; font-weight:bold; }
278
+ .notice { color:#e26703; }
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 !important; }
284
+ .messages li li { margin:0 0 3px !important; }
285
+ .error-msg,
286
+ .success-msg,
287
+ .note-msg,
288
+ .notice-msg { border-style:solid !important; border-width:1px !important; padding:4px 12px !important; font-size:11px !important; font-weight:bold !important; }
289
+ .error-msg { border-color:#f16048; background-color:#faebe7; color:#df280a; }
290
+ .success-msg { border-color:#446423; background-color:#eff5ea; color:#3d6611; }
291
+ .note-msg,
292
+ .notice-msg { border-color:#fcd344; background-color:#fafaec; color:#3d6611; }
293
+
294
+ /* BreadCrumbs */
295
+ .breadcrumbs a { color:#7f7f7f; }
296
+ .breadcrumbs li { display:inline; }
297
+ .breadcrumbs li strong { font-weight:bold; }
298
+
299
+ /* Page Heading */
300
+ .page-title { width:100%; overflow:hidden; margin:0 0 16px; }
301
+ .page-title h1,
302
+ .page-title h2 { font-size:23px; font-weight:normal; }
303
+ .page-title .separator { margin:0 3px; }
304
+ .page-title .link-rss { float:right; margin:7px 0 0; }
305
+ .title-buttons { text-align:right; }
306
+ .title-buttons h1,
307
+ .title-buttons h2,
308
+ .title-buttons h3,
309
+ .title-buttons h4,
310
+ .title-buttons h5,
311
+ .title-buttons h6 { float:left; }
312
+
313
+ .subtitle { clear:both; padding:12px 0 0; font-size:16px; font-weight:bold; margin:0 0 6px; }
314
+
315
+ /* Pager */
316
+ .pager { font-size:11px; background:#fff url(../images/bkg_toolbar.gif) 0 100% repeat-x; padding:4px 8px; border-top:1px solid #ddd; text-align:center; }
317
+ .pager .amount { float:left; margin:0; }
318
+ .pager .limiter { float:right; }
319
+ .pager .limiter label { vertical-align:middle; }
320
+ .pager .limiter select { padding:0; margin:0 0 1px; vertical-align:middle; }
321
+ .pager .pages { margin:0 140px; }
322
+ .pager .pages ol { display:inline; }
323
+ .pager .pages li { display:inline; margin:0 2px; }
324
+ .pager .pages .current {}
325
+
326
+ /* Sorter */
327
+ .sorter { font-size:11px; background:#fff url(../images/bkg_toolbar.gif) 0 100% repeat-x; padding:3px 8px; border-top:1px solid #ddd; }
328
+ .sorter .view-mode { float:left; margin:0; }
329
+ .sorter .sort-by { float:right; padding-right:36px; }
330
+ .sorter .sort-by label { vertical-align:middle; }
331
+ .sorter .sort-by select { padding:0; margin:0 0 1px; vertical-align:middle; }
332
+ .sorter .link-feed {}
333
+
334
+ /* Toolbar */
335
+ .toolbar {}
336
+ .toolbar .pager { padding:3px 8px; }
337
+ .toolbar .sorter {}
338
+ .toolbar-bottom {}
339
+
340
+ /* Data Table */
341
+ .data-table { width:100%; }
342
+ .data-table tr.odd { background:#fff }
343
+ .data-table tr.even { background:#fcfcfc; }
344
+ .data-table tr.last th,
345
+ .data-table tr.last td { border-bottom:0 !important; }
346
+ .data-table th { padding:2px 8px; font-size:10px; text-transform:uppercase; white-space:nowrap; }
347
+ .data-table th.wrap { white-space:normal; }
348
+ .data-table th a { color:#fff; }
349
+ .data-table td { padding:3px 8px; }
350
+
351
+ .data-table thead,
352
+ .data-table thead tr { background:#e9e9e9; }
353
+
354
+ .data-table tfoot { border-bottom:1px solid #d9dde3; }
355
+ .data-table tfoot tr { background-color:#f3f3f3 !important; }
356
+ .data-table tbody th { padding:3px 8px; font-size:11px; font-weight:bold; text-transform:none; white-space:normal; }
357
+ .data-table tbody th,
358
+ .data-table tbody td { border-bottom:1px solid #d9dde3; }
359
+ .data-table tfoot strong { font-size:14px; }
360
+ /* Bundle products tables */
361
+ .data-table tbody.odd tr { background:#fff; }
362
+ .data-table tbody.even tr { background:#fcfcfc; }
363
+ .data-table tbody.odd tr td,
364
+ .data-table tbody.even tr td { border-bottom:0; }
365
+ .data-table tbody.odd tr.border td,
366
+ .data-table tbody.even tr.border td { border-bottom:1px solid #d9dde3; }
367
+
368
+ .data-table tbody td .option-label { font-weight:bold; font-style:italic; }
369
+ .data-table tbody td .option-value { padding-left:10px; }
370
+
371
+ /* Tax Details Row */
372
+ tr.tax-total { cursor:pointer; }
373
+ tr.tax-total td {}
374
+ tr.tax-total .tax-collapse { float:right; text-align:right; padding-left:20px; background:url(../images/bkg_collapse.gif) 0 4px no-repeat; cursor:pointer; }
375
+ tr.show-details .tax-collapse { background-position:0 -53px; }
376
+ tr.show-details td {}
377
+ tr.tax-details td { background-color:#dae1e4; color:#626465; }
378
+ tr.tax-details-first td { border-top:1px solid #d2d8db; }
379
+
380
+ /* Shopping cart tax info */
381
+ .cart-tax-info { display:block; }
382
+ .cart-tax-info,
383
+ .cart-tax-info .cart-price { padding-right:20px; }
384
+ .cart-tax-total { display:block; padding-right:20px; background:url(../images/bkg_collapse.gif) 100% 4px no-repeat; cursor:pointer; }
385
+ .cart-tax-info .price,
386
+ .cart-tax-total .price { display:inline !important; font-weight:normal !important; }
387
+ .cart-tax-total-expanded { background-position:100% -53px; }
388
+
389
+ /* Class: std - styles for admin-controlled content */
390
+ .std .subtitle { padding:0; }
391
+ .std ol.ol { list-style:decimal outside; padding-left:1.5em; }
392
+ .std ul.disc { margin:0 0 10px; }
393
+ .std ul.disc { list-style:disc outside; padding-left:18px; }
394
+ .std dl dt { font-weight:bold; }
395
+ .std dl dd { margin:0 0 10px; }
396
+ /*.std ul,
397
+ .std ol,
398
+ .std dl,
399
+ .std p,
400
+ .std address,
401
+ .std blockquote { margin:0 0 1em; padding:0; }
402
+ .std ul { list-style:disc outside; padding-left:1.5em; }
403
+ .std ol { list-style:decimal outside; padding-left:1.5em; }
404
+ .std ul ul { list-style-type:circle; }
405
+ .std ul ul,
406
+ .std ol ol,
407
+ .std ul ol,
408
+ .std ol ul { margin:.5em 0; }
409
+ .std dt { font-weight:bold; }
410
+ .std dd { padding:0 0 0 1.5em; }
411
+ .std blockquote { font-style:italic; padding:0 0 0 1.5em; }
412
+ .std address { font-style:normal; }
413
+ .std b,
414
+ .std strong { font-weight:bold; }
415
+ .std i,
416
+ .std em { font-style:italic; }*/
417
+
418
+ /* Misc */
419
+ .links li { display:inline; }
420
+ .links li.first { padding-left:0 !important; }
421
+ .links li.last { background:none !important; padding-right:0 !important; }
422
+
423
+ .link-cart { font-weight:bold; color:#d62502; }
424
+ .link-wishlist { color:#444; }
425
+ .link-reorder {}
426
+ .link-compare {}
427
+ .link-print { /*background:url(../images/i_print.gif) 0 2px no-repeat; padding:3px 0 3px 25px;*/ }
428
+ .link-rss { background:url(../images/i_rss.gif) 0 1px no-repeat; padding-left:18px; line-height:14px; white-space:nowrap; }
429
+ .btn-remove { display:block; width:12px; height:12px; font-size:0; line-height:0; background:url(../images/btn_remove.gif) 0 0 no-repeat; text-indent:-999em; overflow:hidden; }
430
+ .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; }
431
+
432
+ .separator { margin:0 3px; }
433
+
434
+ .divider { clear:both; display:block; font-size:0; line-height:0; height:1px; background:#ccc; margin:10px 0; text-indent:-999em; overflow:hidden; }
435
+
436
+ /* Noscript Notice */
437
+ .noscript { border:1px solid #ddd; border-width:0 0 1px; background:#ffff90; font-size:12px; line-height:1.25; text-align:center; color:#2f2f2f; }
438
+ .noscript .noscript-inner { width:950px; margin:0 auto; padding:12px 0 12px; background:url(../images/i_notice.gif) 20px 50% no-repeat; }
439
+ .noscript p { margin:0; }
440
+
441
+ /* Demo Notice */
442
+ .demo-notice { margin:0; padding:6px 10px; background:#d75f07; font-size:11px; line-height:1.15; text-align:center; color:#fff; }
443
+ /* ======================================================================================= */
444
+
445
+
446
+ /* Header ================================================================================ */
447
+ .logo { float:left; }
448
+ .header-container {}
449
+
450
+ .header { margin:0px; padding: 25px 15px 20px 10px; position: relative; }
451
+ .header .logo { float:left; text-decoration:none !important; }
452
+ .header .logo strong { position:absolute; top:-999em; left:-999em; width:0; height:0; font-size:0; line-height:0; text-indent:-999em; overflow:hidden; }
453
+
454
+ .header .top-promo { float:left; width:117px; height:30px; margin:12px 10px 0; background:url(../images/bkg_top-promo.gif) 0 0 no-repeat; text-indent:-999em; overflow:hidden; }
455
+
456
+
457
+ .access { clear: right; float: right;position:relative; top: 10px; }
458
+ .access .links{ position:relative; }
459
+ .access ul { float: right; }
460
+ .access .links li { display:inline; margin-right: 10px; font-size: 12px;}
461
+ .access .links li a { color: #999999; padding-left: 17px; text-shadow: 0px 1px #fff; }
462
+ .access .links li a:hover { color: #000; text-decoration: none; }
463
+ .access .links li.first { padding-left:0 !important; }
464
+ .access .links li.last { background:none !important; padding-right:0 !important; margin-right: 0px;}
465
+ .access .links li.last a {background: url(../images/icons/login_ico.png) no-repeat left center; }
466
+ .access .links li.first a { background: url(../images/icons/account_ico.png) no-repeat left center; }
467
+ .top-link-wishlist { background: url(../images/icons/wishlist_ico.png) no-repeat left center; }
468
+ .top-link-cart { background: url(../images/icons/cart_ico.png) no-repeat left center !important; }
469
+ .top-link-checkout { background: url(../images/icons/checkout_ico.png) no-repeat left center!important; }
470
+
471
+ .quick-access { background:#444; color:#fff; padding:7px 13px; text-align:right; }
472
+ .quick-access .welcome-msg { display:inline; margin:0; color:#fff; }
473
+ .quick-access .form-language { float:left; }
474
+ .quick-access .form-language label { font-weight:bold; padding-right:5px; color:#fff; vertical-align:middle; }
475
+ .quick-access .form-language select { padding:0; }
476
+ .quick-access .form-language select.flags option { background-position:4px 50%; background-repeat:no-repeat; padding-left:25px; }
477
+ .quick-access .links { padding-left:8px; }
478
+ .quick-access .links,
479
+ .quick-access .links li { display:inline; }
480
+ .quick-access .links li { padding:0 4px 0 1px; }
481
+ .quick-access .nlinks a { color:#ddd; }
482
+ .quick-access .links a { padding:0 7px 0 0; background:url(../images/bkg_pipe1.gif) no-repeat 100% 50%; }
483
+ .quick-access .links li.last a { padding:0; background:none; }
484
+
485
+ .cms-links { position:relative; float: right; top: 0; }
486
+ .cms-links ul, .cms-links ul li { display:inline; float:left; }
487
+ .cms-links li { padding-right: 10px; margin-right: 10px; background:url(../images/background/divider_top.gif) no-repeat right center; }
488
+ .cms-links li.last { margin-right:0px;padding-right:0px; background: none;}
489
+ .cms-links li.welcome { color: #f88613;font-weight: bold; }
490
+ .cms-links li a { color:#999999; }
491
+ .cms-links li a:hover { color: #000; text-decoration: none; }
492
+
493
+ .top-bar { padding:3px 12px 2px 0px; line-height:21px;margin-top: -10px;margin-bottom: 10px; border-bottom: 4px solid #ddd; }
494
+ .top-bar .breadcrumbs { float:left; width:580px; }
495
+ .form-search { float:right; padding-top: 5px; background: url(../images/background/search_bg.png) no-repeat; width: 169px; height: 28px; position: relative; top: 7px; right:7px; }
496
+ .form-search label { display: none;float:left; font-size:12px; font-weight:bold; padding:0 5px 0 0; }
497
+ .form-search .search_btn { float: right;padding-right: 5px; }
498
+ .form-search input.input-text { float:left; width:125px;padding-left: 5px;border:none; background: transparent; }
499
+ .form-search button.button { float:left; }
500
+ .form-search button.button span { height:23px; background-image:url(../images/bkg_btn-small.png); line-height:21px; }
501
+ .form-search .search-autocomplete { z-index:999; }
502
+ .form-search .search-autocomplete ul { border:1px solid #999; background-color:#f9f5f0; }
503
+ .form-search .search-autocomplete li { text-align:left; border-bottom:1px solid #f4eee7; padding:2px 8px 1px 8px; cursor:pointer; }
504
+ .form-search .search-autocomplete li .amount { float:right; font-weight:bold; }
505
+ .form-search .search-autocomplete li.odd { background-color:#f6f6f6; }
506
+ .form-search .search-autocomplete li.selected { background-color:#ecf9ea; }
507
+
508
+ .header-container .top-container { padding:5px 12px; background:#fff; border:1px solid #bbb; border-width:0 1px 1px; text-align:right; }
509
+
510
+ /********** < Navigation */
511
+ #navigation { background: url(../images/background/menu_bg.gif) no-repeat top left; height: 44px; margin-bottom: 15px; }
512
+ .nav-container {}
513
+ #nav { float:left; height: 44px; font-size:13px; }
514
+
515
+ /* ALL Levels */ /* Style consistent throughout all nav levels */
516
+ #nav li { position:relative; text-align:left; }
517
+ #nav li.over { z-index:999; }
518
+ #nav a,
519
+ #nav a:hover { display:block; line-height:1.3em; text-decoration:none; }
520
+ #nav span { display:block; cursor:pointer; white-space:nowrap; }
521
+ #nav li ul span {white-space:normal; }
522
+
523
+ /* 0 Level */
524
+ #nav li { float:left;margin:0;}
525
+ #nav a { float:left; color:#fff; text-shadow: 0px 1px #3f3f3f; line-height: 42px;padding: 0px 10px;}
526
+ #nav li.over a,
527
+ #nav a:hover, #nav li a:hover { /*color:#444; text-shadow: 0px 1px #fff;*/}
528
+ #nav a:hover { line-height: 42px; }
529
+ #nav li:hover a { /*color: #444 !important; text-shadow: 0px 1px #fff; */}
530
+ #nav li.over, #nav li:hover { /*color: #444 !important;*/}
531
+ #nav li.active {}
532
+ #nav li.active a{ /*color: #444 !important;text-shadow: 0px 1px #fff !important; */}
533
+ #nav li{background:url(../images/background/menu_bullet.png) no-repeat 90% 50%; padding-right: 35px;}
534
+ #nav li.home, #nav li.home a:hover { -moz-border-radius: 8px 0px 0px 8px;-webkit-border-radius: 8px 0px 0px 8px;border-radius: 8px 0px 0px 8px; }
535
+ #nav li.home{background:none; padding-right:0;}
536
+ #nav li.home a{ padding-left: 12px;}
537
+
538
+ /* 1st Level */
539
+ #nav ul li,
540
+ #nav ul li.active,
541
+ #nav ul li.over { float:none; border:none; background:none; margin:0; padding:0;text-transform:none; }
542
+ #nav ul li.parent { background:url(../images/bkg_nav_parent.gif) no-repeat 100% 50%; }
543
+ #nav ul li.last { padding-bottom:0; }
544
+ #nav ul li.active { margin:0; border:0; background:none; }
545
+ #nav ul a,
546
+ #nav ul a:hover { float:none; padding:0; background:none; line-height:normal;}
547
+ #nav ul li a { font-weight:normal !important; }
548
+
549
+ /* 2nd Level */
550
+ #nav ul { position:absolute; width:15em; top:40px; left:-10000px; -moz-box-shadow:3px 6px 8px 1px rgba(0, 0, 0, 0.3); padding:0; background: #e0e0e0;}
551
+
552
+ /* Show menu */
553
+ #nav li.over > ul { left:0px; }
554
+ #nav li.over > ul li.over > ul { left:100px; }
555
+ #nav li.over ul ul { left:-10000px; }
556
+ #nav li:hover > ul li:hover {background-image:none !important; }
557
+ #nav li.parent > ul li a { background-image:none;text-shadow: 0px 1px #fff !important; }
558
+ #nav li.parent > ul li a:hover { background-image:none;text-shadow: 0px 1px #fff !important; }
559
+ #nav ul li a { padding:6px 10px; color:#444 !important; border-bottom: 1px solid #b9b9b9;border-top: 1px solid #f4f4f4;border-left: 1px solid #b9b9b9; border-right: 1px solid #b9b9b9; }
560
+ #nav ul li.last a { border-bottom: 0px; }
561
+ #nav ul li a:hover { padding:6px 10px; color:#444 !important;background: #efefef !important; text-shadow: none !important; border-top: 1px solid #f7f7f7;}
562
+
563
+ /* 3rd+ Level */
564
+ #nav ul ul { top:5px;border: 1px solid #bdbdbd; }
565
+ #nav ul ul li a { border-width: 1px 0px; }
566
+
567
+
568
+ /*************** LEFT NAVIGATION **************** /
569
+
570
+ #leftnav { font-size:1em;margin-bottom: 1em; }
571
+
572
+ /************** ALL LEVELS *************/ /* Style consistent throughout all nav levels */
573
+ #leftnav li { position:relative; text-transform:normal; text-align:left; }
574
+ #leftnav li.over { z-index:999; }
575
+ #leftnav a, #leftnav a:hover { display:block; white-space:nowrap; text-decoration:none; }
576
+ #leftnav span { display:block; cursor:pointer; white-space:nowrap; }
577
+ #leftnav li ul span { white-space:normal; }
578
+ /************ 0 LEVEL ***************/
579
+ #leftnav li { border-bottom: 1px solid #ddd; }
580
+ #leftnav li.active, #leftnav li.active a { }
581
+ #leftnav li a{ padding:8px 5px 7px 10px; color:#797979; text-shadow: 0px 1px #fff; }
582
+ #leftnav li.active { background-color: #e9e9e9;}
583
+ #leftnav li.over a, #leftnav a:hover { color:#2e2e2e; }
584
+ #leftnav li.parent a { background: url(../images/background/leftnav_arrow.gif) 95% center no-repeat;}
585
+ #leftnav li:hover, #leftnav li.over { background: #f2f1e9; }
586
+ /************ 1ST LEVEL ************/
587
+ #leftnav ul li span { line-height: 1.3em; }
588
+ #leftnav ul li, #leftnav ul li.active, #leftnav ul li.over { float:none; border:none; padding:0; padding-bottom:1px; border-bottom:1px solid #C5C5C5; text-transform:none; }
589
+ #leftnav ul li.parent { background: url(../images/background/leftnav_arrow.gif) 95% center no-repeat;}
590
+ #leftnav ul li.parent a { background-image: none !important; }
591
+ #leftnav ul li.last { padding-bottom:0; }
592
+ #leftnav ul li.active { margin:0; border:0; background:none; }
593
+ #leftnav ul a, #leftnav ul a:hover { float:none; padding:0; background:none; }
594
+ #leftnav ul li a { font-weight:normal !important; }
595
+ #leftnav ul li a:hover { background-color: #f2f1e9 !important; }
596
+ /************ 2ND LEVEL ************/
597
+ #leftnav ul { position:absolute; width:18em; top:5px; left:-10000px; padding:0; background:#f6f6f6; border:1px solid #C5C5C5; }
598
+ /* Show menu */
599
+ #leftnav li.over > ul { left:150px; }
600
+ #leftnav li.over > ul li.over > ul { left:100px; }
601
+ #leftnav li.over ul ul { left:-10000px; }
602
+ #leftnav ul li { background:#f6f6f6; }
603
+ #leftnav li.parent ul li a{ background: none !important; }
604
+ #leftnav ul li:hover { background: none; border-bottom:1px solid #C5C5C5; }
605
+ #leftnav ul li a { padding:7px 7px; }
606
+ #leftnav ul li a:hover { padding:7px; background: #f2f1e9 !important; }
607
+ /************ 3RD+ LEVEL ************/
608
+ #leftnav ul ul { top:5px; }
609
+ /* End Left Navigation */
610
+ #nav-top { font-size: 1em; width: 960px; }
611
+ #nav-top ul { list-style: none; padding: 0px; margin-left:3em; }
612
+ #nav-top li { float: left; padding: 0px; margin-right:5px; }
613
+ #nav-top li a { display: block; background: #dddabb; color: #666134; padding: 6px 7px; }
614
+ #nav-top li a:hover { background: #899065 url(../images/nav_top_ahover_blue.gif) top right no-repeat; ; color:#fff; text-decoration: none; }
615
+
616
+ /********** Navigation > */
617
+ /* ======================================================================================= */
618
+
619
+
620
+
621
+ /*********** Connect ************/
622
+
623
+ .connect {float: right; position: relative; top: 10px;right: 10px;}
624
+ .connect img {margin-right: 2px; opacity: 0.8; }
625
+ .connect img:hover {opacity:1;}
626
+
627
+
628
+ /* Sidebar =============================================================================== */
629
+ .block { background: #fff url(../images/background/block_bg_repeat.gif) repeat-y top left; margin:0 0 15px; line-height:1.35;padding-right: 0px;}
630
+ .block .block-title { background: #1f1f1f url(../images/background/block_title_alt.gif) no-repeat; padding: 10px 8px 8px 10px; margin-right: 0px;}
631
+ .block .block-title strong { display:block; font:bold 12px/1.5 Arial, Helvetica, sans-serif; text-transform:uppercase; color:#fff;text-shadow: 0px -1px #000; }
632
+ .block .block-title strong span {}
633
+ .block .block-title a { text-decoration:none !important; }
634
+ .block .block-subtitle { font-size:10px; margin:0 0 10px; padding:0 0 2px; border-bottom:1px solid #ddd; text-transform:uppercase; }
635
+ .block .block-content { padding:12px 15px 15px 15px; background:url(../images/background/block_bg_bottom.gif) no-repeat bottom left; font-size: 12px;}
636
+ .block .block-content li.item { border-bottom:1px solid #ddd; padding-bottom:5px; margin-bottom:5px; }
637
+ .block .block-content li.item.last { border-bottom:0; padding-bottom:0; margin-bottom:0; }
638
+ .block .btn-remove { float:right; margin:1px 0 2px 5px; }
639
+ .block .actions { border-top:1px solid #ddd; padding:5px 0 0; margin:5px 0 0; text-align:right; }
640
+ .block .actions a { float:left; }
641
+ .block .actions button.button { float:right; }
642
+ .block .empty { margin:0; }
643
+ .block .price-box { margin:5px 0; }
644
+ .block button.button span { height:23px; background-image:url(../images/bkg_btn-small.png); line-height:20px; }
645
+ .block button.button span span { color: #444; text-shadow: 0px 1px #fff !important; }
646
+ /*.block li.odd { background-color:#f4f3f3; }
647
+ .block li.even { background-color:#fafafa; }*/
648
+
649
+ /* Mini Products List */
650
+ .mini-products-list .product-image { float:left; width:50px; border:1px solid #a9a9a9; }
651
+ .mini-products-list .product-details { margin-left:60px; }
652
+
653
+ /* Block: Account */
654
+ .catalog-listing .product-image img {display:block;overflow:hidden;width:170px;height:170px;}
655
+ .block-account .block-title { border:0; background:#666; }
656
+ .block-account .block-title strong { color:#fff; }
657
+ .block-account .block-content li a { display:block; border-bottom:1px solid #ddd; padding:3px 0; color:#5f5d5c; text-decoration:none !important; }
658
+ .block-account .block-content li a:hover { color:#444; }
659
+ .block-account .block-content li.last a { border-bottom:0; }
660
+ .block-account .block-content li.current { border-bottom:1px solid #ddd; padding:3px 0; }
661
+ .block-account .block-content li.current.last { border-bottom:0; }
662
+
663
+ /* Block: Currency Switcher */
664
+ .block-currency { background:#f4f4f4; }
665
+ .block-currency .block-title { border:0; background:none; padding:7px 10px 2px; text-transform:none; }
666
+ .block-currency .block-title strong { text-transform:none; }
667
+ .block-currency .block-content { padding:0 10px 12px; }
668
+ .block-currency .block-content select { width:100%; padding:0; }
669
+
670
+ /* Block: Left Nav */
671
+ .block-leftnav .block-content { padding:0px; }
672
+
673
+ /* Block: Layered Navigation */
674
+ .block-layered-nav { border:0; }
675
+ .block-layered-nav .block-title { }
676
+ .block-layered-nav .block-content { padding:0; }
677
+ .block-layered-nav .block-subtitle { margin:0; font-size:12px; font-weight:bold; padding:2px 10px; color:#333; }
678
+ .block-layered-nav dt { font-weight:bold; border-top:1px solid #fff; padding:8px 10px 0 10px; font-size:12px; }
679
+ .block-layered-nav dd { padding:0 10px 8px 10px; border-bottom:1px solid #ddd; }
680
+ .block-layered-nav dd li { line-height:1.35; margin:0 0 3px; }
681
+ .block-layered-nav dd a { color:#444; }
682
+ .block-layered-nav .last { border-bottom: 0px; }
683
+ .block-layered-nav .currently { padding:6px 0 0; }
684
+ .block-layered-nav .currently li { padding:2px 10px; }
685
+ .block-layered-nav .currently .label { font-weight:bold; }
686
+ .block-layered-nav .currently .btn-remove { margin:2px 0 0; }
687
+ .block-layered-nav .actions { padding:5px 10px; margin:0; }
688
+ .block-layered-nav .actions a { float:none; }
689
+
690
+ /* Block: Cart */
691
+ .block-cart .block-title span { background: url(../images/icons/cart_ico.png) no-repeat left center; padding-left: 20px;}
692
+ .block-cart .block-title strong { }
693
+ .block-cart .summary { background:#fdebcd; padding:8px; margin:-12px -13px 8px; text-align:center; position:relative; z-index:1; }
694
+ .block-cart .amount { margin:0; }
695
+ .block-cart .amount a { font-weight:bold; }
696
+ .block-cart .subtotal { background:url(../images/bkg_subtotal.gif) no-repeat 50% 0; margin:5px 0 0; line-height:23px; }
697
+ .block-cart .subtotal .price { font-weight:bold; }
698
+ .block-cart .actions { display:none !important; }
699
+
700
+ /* Block: Wishlist */
701
+ .block-wishlist .actions { text-align:right; }
702
+ .block-wishlist .actions a { float:none; }
703
+
704
+ /* Block: Related */
705
+ .block-related .block-subtitle { font-size:11px; font-weight:bold; border:0; padding:0; margin:0 0 8px; text-transform:none; }
706
+ .block-related input.checkbox { float:right; }
707
+ .block-related .product { margin-right:20px; }
708
+
709
+ /* Block: Compare Products */
710
+ .page-popup .link-print { background:url(../images/i_print.gif) 0 2px no-repeat; padding:3px 0 3px 25px; }
711
+ .compare-table { border:0; }
712
+ .compare-table thead,
713
+ .compare-table thead tr.first { background:#fff; }
714
+ .compare-table thead tr.first th,
715
+ .compare-table thead tr.first td { border:0; background:none; padding:0 0 4px; font-size:0; line-height:0; }
716
+ .compare-table .btn-remove { float:right; background-image:url(../images/btn_remove.gif); width:12px; height:12px; }
717
+ .compare-table tbody th { background:#e9e9e9; }
718
+ .compare-table tbody th,
719
+ .compare-table tbody td { padding:10px; border:0; border-top:1px solid #ccc; border-left:1px solid #ccc; }
720
+ .compare-table tbody td.last { border-right:1px solid #ccc; }
721
+ .compare-table tbody tr.last th,
722
+ .compare-table tbody tr.last td { border-bottom:1px solid #ccc !important; }
723
+ .compare-table tr.add-to-row td { background:#fffada; text-align:center; }
724
+ .compare-table tr.first td { text-align:center; }
725
+ .compare-table tr.first td .product-name { font-size:13px; font-weight:bold; margin:0 0 5px; color:#203548; }
726
+ .compare-table tr.first td .product-name a { color:#203548; }
727
+ .compare-table tr.first td .ratings { width:69px; margin:0 auto; }
728
+ .compare-table tr.first td p,
729
+ .compare-table tr.add-to-row td p { margin:0; }
730
+ .compare-table .add-to-links li { background:none; padding:0; }
731
+
732
+ /* Block: Recently Viewed */
733
+ .block-viewed {}
734
+
735
+ /* Block: Recently Compared */
736
+ .block-compared {}
737
+
738
+ /* Block: Poll */
739
+ .block-poll .block-subtitle { font-size:12px; }
740
+ .block-poll label { color:#777; font-weight:bold; }
741
+ .block-poll input.radio { float:left; margin:1px -18px 0 0; }
742
+ .block-poll .label { display:block; margin-left:18px; }
743
+ .block-poll li { padding:3px 9px; }
744
+ .block-poll .actions { margin:5px 0 0; }
745
+ .block-poll .answer { font-weight:bold; }
746
+ .block-poll .votes { float:right; margin-left:10px; }
747
+
748
+ /* Block: Tags */
749
+ .block-tags .block-content ul { font-size:13px; }
750
+ .block-tags .block-content li { display:inline; padding-right:4px; }
751
+ .block-tags .block-content li a { color:#444; }
752
+ .block-tags .actions { text-align:right; }
753
+ .block-tags .actions a { float:none; }
754
+
755
+ /* Block: Reorder */
756
+ .block-reorder input.checkbox { float:left; margin:2px -20px 0 0; }
757
+ .block-reorder .product-name { margin-left:20px; }
758
+ .block-reorder .validation-advice { margin:3px 9px 7px; }
759
+
760
+ /* Block: Banner */
761
+ .block-banner { border:0; }
762
+ .block-banner .block-content { padding:0; background:#fff; text-align:center; }
763
+
764
+ /* Block: Login */
765
+ .block-login .block-content { padding:5px 10px; }
766
+ .block-login label { font-weight:bold; color:#555; }
767
+ .block-login input.input-text { display:block; width:167px; margin:3px 0; }
768
+ .block-login .actions { background:none; padding:0; margin:3px 0 0; }
769
+
770
+ /* Block Styling
771
+
772
+ .block-account .block-title, .block-layered-nav .block-title,
773
+ .block-compare .block-title { background: url(../images/background/block_title_alt.gif) no-repeat top left; }
774
+
775
+ .block-account .block-title strong, .block-layered-nav .block-title strong,
776
+ .block-compare .block-title strong { text-shadow: 0px 1px #000; }*/
777
+ /* ======================================================================================= */
778
+
779
+
780
+ /* Category Page ========================================================================= */
781
+ .category-title { margin:0 0 7px; }
782
+ .category-title h1 { padding:3px 0; color:#444444; font-size:1.8em; font-weight:bold; line-height:1.25; }
783
+ .category-image { width:100%; overflow:hidden; margin:0 0 10px; text-align:center; }
784
+ .category-image img { width: 100%; }
785
+ .category-description { margin:0 0 10px; }
786
+ .category-products {}
787
+ .catalog-category-view img { max-width: 100%;}
788
+
789
+ /* View Type: Grid */
790
+ .products-grid { position:relative; }
791
+ .products-grid.last { border-bottom:0; }
792
+ .products-grid li.item { float:left; width:171px; padding:0 0 90px; }
793
+ .products-grid .product-image { display:block; width:170px; height:170px; border:1px solid #ddd; border-width:1px 1px 1px 0; margin:0 0 10px; }
794
+ .products-grid.first .product-image { border-top:0; }
795
+ .products-grid li.last .product-image { border-right:0; }
796
+ .products-grid .product-name { font-size:12px; margin:0 0 6px; }
797
+ .products-grid .product-name a { color:#444; text-decoration:underline; }
798
+ .products-grid .product-name a:hover { text-decoration:none; }
799
+ .products-grid .price-box { margin:5px 0; }
800
+ .products-grid .availability { line-height:21px; }
801
+ .products-grid .actions { position:absolute; bottom:20px; }
802
+ .3column-layout .col-main { width: 200px; }
803
+ .col2-left-layout .products-grid,
804
+ .col2-right-layout .products-grid { width:730px; margin:0 auto; }
805
+ .col1-layout .products-grid,
806
+ .page-empty .products-grid { width:684px; margin:0 auto; }
807
+
808
+ /* View Type: List */
809
+ .products-list li.item { border-bottom:1px solid #d9ddd3; padding:12px 10px; }
810
+ .products-list li.item.last { border-bottom:0; }
811
+ .products-list .product-shop { margin-left:185px; }
812
+ .products-list .product-image { float:left; width:170px; height:170px; margin:0 0 10px; }
813
+ .products-list .product-name { font-size:12px; margin:0 0 6px; }
814
+ .products-list .product-name a { color:#444; text-decoration:underline; }
815
+ .products-list .product-name a:hover { text-decoration:none; }
816
+ .products-list .price-box { float:left; margin:4px 13px 0 0; }
817
+ .products-list .availability { float:left; margin:3px 0 0; }
818
+ .products-list .desc { clear:both; padding:6px 0 0; margin:0 0 13px; line-height:1.35; }
819
+ .products-list .desc .link-more { font-size:11px; }
820
+ .products-list .add-to-links { clear:both; }
821
+ /* ======================================================================================= */
822
+
823
+
824
+ /* Product View ========================================================================== */
825
+ /* Rating */
826
+ .no-rating { margin:0; }
827
+
828
+ .ratings { line-height:1.25; margin:7px 0; }
829
+ .ratings strong { float:left; margin:0 3px 0 0; }
830
+ .ratings .rating-links { margin:0; }
831
+ .ratings .rating-links .separator { margin:0 2px; }
832
+ .ratings dt {}
833
+ .ratings dd {}
834
+ .rating-box { width:50px; height:10px; font-size:0; line-height:0; background:url(../images/bkg_rating.gif) 0 0 repeat-x; text-indent:-999em; overflow:hidden; }
835
+ .rating-box .rating { float:left; height:10px; background:url(../images/bkg_rating.gif) 0 100% repeat-x; }
836
+ .ratings .rating-box { float:left; margin:2px 3px 0 0; }
837
+ .ratings .amount {}
838
+
839
+ .ratings-table th,
840
+ .ratings-table td { font-size:11px; line-height:1.15; padding:3px 0; }
841
+ .ratings-table th { font-weight:bold; padding-right:8px; }
842
+ .ratings-table td { padding:4px 0 0; }
843
+
844
+ /* Availability */
845
+ .availability { margin:0; }
846
+ .availability span { font-weight:bold; }
847
+ .availability.in-stock span {}
848
+ .availability.out-of-stock span { color:#d83820; }
849
+ .product-view .product-shop .availability { font-size:11px; }
850
+ .product-view .product-shop .availability span { font-weight:normal; }
851
+
852
+ /* Email to a Friend */
853
+ .email-friend { margin:0; }
854
+
855
+ /* Alerts */
856
+ .alert-price { margin:0; font-size:11px; }
857
+ .alert-stock { margin:0; font-size:11px; }
858
+
859
+ /********** < Product Prices */
860
+ .price { white-space:nowrap !important; }
861
+
862
+ .price-box { margin:5px 0 10px; }
863
+ .price-box .price { font-size:13px; font-weight:bold; color:#396f00; }
864
+
865
+ /* Regular price */
866
+ .regular-price { color:#396f00; }
867
+ .regular-price .price { font-size:13px; font-weight:bold; color:#396f00; }
868
+
869
+ /* Old price */
870
+ .old-price { margin:0; }
871
+ .old-price .price-label { font-size:12px; font-weight:bold; white-space:nowrap; }
872
+ .old-price .price { font-weight:bold; font-size:13px; color:#396f00; text-decoration:line-through; }
873
+
874
+ /* Special price */
875
+ .special-price { margin:0; }
876
+ .special-price .price-label { font-size:11px; font-weight:bold; text-transform:uppercase; white-space:nowrap; color:#000; }
877
+ .special-price .price { font-size:13px; font-weight:bold; }
878
+
879
+ /* Minimal price (as low as) */
880
+ .minimal-price { margin:0; }
881
+ .minimal-price .price-label { font-size:12px; font-weight:bold; white-space:nowrap; }
882
+
883
+ .minimal-price-link { display:block; font-size:12px; text-decoration:underline; color:#444; }
884
+ .minimal-price-link .label {color:#444;}
885
+ .minimal-price-link .price { font-weight:normal; color:#444; }
886
+
887
+ /* Including tax */
888
+ .price-including-tax { display:block; color:#888; }
889
+ .price-including-tax .label { font-size:10px; text-transform:uppercase; white-space:nowrap; color:#888; }
890
+ .price-including-tax .price { font-size:13px; font-weight:bold; color:#396f00; }
891
+
892
+ /* Excluding tax */
893
+ .price-excluding-tax { display:block; color:#888; }
894
+ .price-excluding-tax .label { font-size:10px; text-transform:uppercase; white-space:nowrap; color:#888; }
895
+ .price-excluding-tax .price { font-size:12px; font-weight:normal; color:#396f00; }
896
+
897
+ /* Incl tax (for order tables) */
898
+ .price-incl-tax { display:block; }
899
+ .price-incl-tax .label { display:block; white-space:nowrap; }
900
+ .price-incl-tax .price { display:block; font-weight:bold; }
901
+
902
+ /* Excl tax (for order tables) */
903
+ .price-excl-tax { display:block; }
904
+ .price-excl-tax .label { display:block; white-space:nowrap; }
905
+ .price-excl-tax .price { display:block; font-weight:normal; }
906
+
907
+ /* FTP */
908
+ .weee { display:block; font-size:11px; color:#444; }
909
+ .weee .price { font-size:11px; font-weight:normal; }
910
+
911
+ /* Price range */
912
+ .price-from { margin:0; }
913
+ .price-from .price-label { font-size:12px; font-weight:bold; white-space:nowrap; }
914
+
915
+ .price-to { margin:0; }
916
+ .price-to .price-label { font-size:12px; font-weight:bold; white-space:nowrap; }
917
+
918
+ /* Price notice next to the options */
919
+ .price-notice { padding-left:7px; }
920
+ .price-notice .price { font-weight:bold; }
921
+
922
+ /* Price as configured */
923
+ .price-as-configured { margin:0; }
924
+ .price-as-configured .price-label { font-weight:bold; white-space:nowrap; text-transform:uppercase; }
925
+
926
+ .price-box-bundle { padding:0 0 10px 0; }
927
+ .price-box-bundle .price-box { margin:0 !important; padding:0 !important; }
928
+ .price-box-bundle .price { color:#222; }
929
+ f/********** Product Prices > */
930
+
931
+ /* Tier Prices */
932
+ .tier-prices { margin:10px 0; padding:10px; background:#f4f9ea; border:1px solid #ddd; }
933
+ .tier-prices .benefit { font-style:italic; font-weight:bold; }
934
+ .tier-prices .price { font-weight:bold;; }
935
+
936
+ .tier-prices-grouped li .price { font-weight:bold; }
937
+
938
+ /* Add to Links */
939
+ .add-to-links { margin:3px 0 0; }
940
+ .add-to-links li { background:url(../images/bkg_add-to.gif) 2px 50% no-repeat; line-height:1.25; padding-left:12px; }
941
+ .add-to-links li a { color:#444; }
942
+ .add-to-links .separator { display:none; }
943
+
944
+ /* Add to Cart */
945
+ .add-to-cart label { float:left; margin-right:5px; font-weight:bold; line-height:20px; color:#555; }
946
+ .add-to-cart .qty { float:left; margin-right:5px; }
947
+ .add-to-cart button.button { float:left; margin:-3px 0 0; }
948
+
949
+ /* Add to Links + Add to Cart */
950
+ .add-to-box { margin:10px 0; }
951
+ .add-to-box .add-to-cart { margin:10px 0; border:1px solid #eee; background-color:#f8f8f8; padding:10px; text-align:right; }
952
+ .add-to-box .or { display:none !important; }
953
+ .add-to-box .add-to-links { margin:10px 0; text-align:right; }
954
+ .add-to-box .add-to-links li .separator { display:none !important; }
955
+
956
+
957
+ .product-view {}
958
+
959
+ .product-essential { padding:0 0 25px; }
960
+ .product-essential h2 { font:bold 12px/1.25 Arial, Helvetica, sans-serif; }
961
+
962
+ .product-collateral {}
963
+ .product-collateral h2 { font-size:19px; font-weight:normal; line-height:1.15; }
964
+ .product-collateral .box-collateral {}
965
+
966
+ /* Product Images */
967
+ .product-view .product-img-box { float:left; width:352px; }
968
+ .col3-layout .product-view .product-img-box { float:none; margin:0 auto; }
969
+ .product-view .product-img-box .product-image { margin:0 0 10px; border:1px solid #cacaca; }
970
+ .product-view .product-img-box .product-image-zoom { position:relative; width:350px; height:320px; overflow:hidden; z-index:9; }
971
+ .product-view .product-img-box .product-image-zoom img { position:absolute; left:0; top:0; cursor:move; }
972
+ .product-view .product-img-box .zoom-notice { margin:0 0 10px; text-align:center; }
973
+ .product-view .product-img-box .zoom { position:relative; z-index:9; height:24px; margin:0 auto 13px; padding:0 28px; background:url(../images/slider_bg.gif) 50% 50% no-repeat; cursor:pointer; }
974
+ .product-view .product-img-box .zoom.disabled { -moz-opacity:.3; -webkit-opacity:.3; -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";/*IE8*/ opacity:.3; }
975
+ .product-view .product-img-box .zoom #track { position:relative; height:18px; }
976
+ .product-view .product-img-box .zoom #handle { position:absolute; left:0; width:9px; height:22px; background:url(../images/magnifier_handle.gif) 0 0 no-repeat; }
977
+ .product-view .product-img-box .zoom .btn-zoom-out { position:absolute; left:0px; top:3px; }
978
+ .product-view .product-img-box .zoom .btn-zoom-in { position:absolute; right:0px; top:3px; }
979
+ .product-view .product-img-box .more-views h2 { font-size:10px; font-weight:normal; padding:0 0 2px; border-bottom:1px solid #ccc; margin:0 0 8px; text-transform:uppercase; }
980
+ .product-view .product-img-box .more-views ul { margin-left:-10px }
981
+ .product-view .product-img-box .more-views li { float:left; margin:0 0 8px 10px; }
982
+ .product-view .product-img-box .more-views li a { float:left; width:66px; height:66px; border:1px solid #ddd; overflow:hidden; }
983
+
984
+ .product-image-popup { margin:0 auto; }
985
+ .product-image-popup .nav { font-weight:bold; text-align:center; }
986
+ .product-image-popup .image { display:block; margin:10px 0; }
987
+ .product-image-popup .image-label { font-size:12px; font-weight:bold; margin:0 0 10px; color:#2f2f2f; }
988
+
989
+ /* Product Shop */
990
+ .product-view .product-shop { float:right; width:363px; }
991
+ .col1-layout .product-view .product-shop { float:right; width:576px; }
992
+ .col3-layout .product-view .product-shop { float:none; width:auto; }
993
+ .product-view .product-shop .product-name { margin:0 0 5px; }
994
+ .product-view .product-shop .product-name h1 { font:bold 22px/1.25 Arial, Helvetica, sans-serif; }
995
+ .product-view .product-shop .availability { margin:10px 0; }
996
+ .product-view .product-shop .short-description { margin:10px 0; }
997
+ .product-view .product-shop .price-box { margin:10px 0; }
998
+ .product-view .product-shop .add-to-links { margin:0; }
999
+ .product-view .product-shop .add-to-links { text-align:right; }
1000
+ .product-view .product-shop .add-to-links li { display:inline; margin-left:12px; }
1001
+ .product-view .product-shop .add-to-links li .separator { display:none !important; }
1002
+
1003
+ /* Product Options */
1004
+ .product-options { margin:20px 0 0; padding:0 15px 10px; background-color:#f4f9ea; border:1px solid #ddd; }
1005
+ .product-options dt { padding:10px 0 0; font-weight:normal; }
1006
+ .product-options dt label { font-weight:bold; }
1007
+ .product-options dt span.required { color:#eb340a; }
1008
+ .product-options dt .qty-holder { float:right; margin-right:15px; }
1009
+ .product-options dt .qty-holder label { vertical-align:middle; }
1010
+ .product-options dt .qty-disabled { background:none; border:0; padding:3px; color:#444; }
1011
+ .product-options dd { padding:5px 10px 15px; margin:0 0 5px; border-bottom:1px solid #ddd; }
1012
+ .product-options dl.last dd.last { border-bottom:0; padding-bottom:5px; margin-bottom:0; }
1013
+ .product-options dd input.input-text { width:98%; }
1014
+ .product-options dd textarea { width:98%; height:8em; }
1015
+ .product-options dd select { width:99%; }
1016
+ .product-options dd .multiselect option { border-bottom:1px dotted #d9e5ee; padding:2px 4px; }
1017
+ .product-options ul.options-list { margin-right:5px; }
1018
+ .product-options ul.options-list li { padding:2px 0; }
1019
+ .product-options ul.options-list input.radio { float:left; margin-top:3px; }
1020
+ .product-options ul.options-list input.checkbox { float:left; margin-top:2px; }
1021
+ .product-options ul.options-list .label { display:block; margin-left:18px; }
1022
+ .product-options ul.options-list label { font-weight:normal; }
1023
+ .product-options ul.validation-failed { padding:0 7px; }
1024
+ .product-options p.required { margin-bottom:0; padding:15px 0 0; }
1025
+
1026
+ .product-options-bottom { background-color:#f6f6f6; padding:15px 20px; border:1px solid #e4e4e4; border-top:0; }
1027
+ .product-options-bottom .tier-prices { margin:0; padding:0 0 10px; border:0; background:0; }
1028
+ .product-options-bottom .price-box { float:left; margin:0; }
1029
+ .product-options-bottom .price-label { float:left; padding-right:5px; }
1030
+ .product-options-bottom .price-tax { float:left; }
1031
+ .product-options-bottom .add-to-cart { float:right; margin:0; padding:0; border:0; background:0; }
1032
+
1033
+ .product-shop .product-options-bottom .price-box { float:none; margin:0; }
1034
+ .product-shop .product-options-bottom .price-label { float:none; padding-right:0; }
1035
+ .product-shop .product-options-bottom .price-tax { float:none; }
1036
+ .product-shop .product-options-bottom .add-to-cart { clear:both; float:none; padding:12px 0 0; text-align:left; }
1037
+
1038
+ /* Grouped Product */
1039
+ .product-view .grouped-items-table .price-box { margin:0; padding:0; }
1040
+
1041
+ /* Product Tabs */
1042
+ .product-tabs { margin-bottom:15px; border-bottom:1px solid #666; background:#f2f2f2 url(../images/bkg_tabs.gif) 0 100% repeat-x; }
1043
+ .product-tabs li { float:left; border-right:1px solid #a4a4a4; border-left:1px solid #fff; font-size:1.1em; line-height:1.5em; }
1044
+ .product-tabs li.first { border-left:0; }
1045
+ .product-tabs li.last { border-right:0; }
1046
+ .product-tabs a { display:block; padding:6px 15px; color:#444; }
1047
+ .product-tabs a:hover { background-color:#ddd; text-decoration:none; color:#444; }
1048
+ .product-tabs li.active a,
1049
+ .product-tabs li.active a:hover { background-color:#666; font-weight:bold; color:#fff; }
1050
+ .product-tabs-content h2 { display:none; font-size:12px; font-weight:bold; }
1051
+
1052
+ /* Mini Products Grid */
1053
+ .mini-products-grid { width:100%; }
1054
+ .mini-products-grid td { width:20%; padding:0 8px 8px 0; }
1055
+ .mini-products-grid .product-image { display:block; border:1px solid #cacaca; margin:0 0 10px; float:left;}
1056
+ .mini-products-grid .product-name { width:115px; margin:0 0 6px; overflow:hidden; }
1057
+ .mini-products-grid .product-name a { color:#444; text-decoration:underline; }
1058
+ .mini-products-grid .product-name a:hover { text-decoration:none; }
1059
+ .mini-products-grid td.empty {}
1060
+ .mini-products-grid td.last { padding-right:0; }
1061
+ .mini-products-grid .ratings .rating-box { float:none; display:block; margin:0 0 3px; }
1062
+
1063
+ /* Block: Description */
1064
+ .product-view .box-description {}
1065
+
1066
+ /* Block: Additional */
1067
+ .product-view .box-additional .data-table th,
1068
+ .product-view .box-additional .data-table td { line-height:1.25; }
1069
+
1070
+ /* Block: Upsell */
1071
+ .product-view .box-up-sell h2 { margin:0 0 8px; }
1072
+ #product_tabs_upsell_products_contents h2 { display:block; }
1073
+
1074
+ /* Block: Tags */
1075
+ .product-view .box-tags { margin:0; }
1076
+ .product-view .box-tags h3 { font-size:12px; }
1077
+ .product-view .box-tags .product-tags { display:block; margin:0 0 15px; }
1078
+ .product-view .box-tags .product-tags li { display:inline; background:url(../images/bkg_pipe3.gif) 100% 4px no-repeat; padding:0 7px 0 4px; }
1079
+ .product-view .box-tags .product-tags li.first { padding-left:0; }
1080
+ .product-view .box-tags .product-tags li.last { background:none; padding-right:0; }
1081
+ .product-view .box-tags .form-add label { display:block; font-size:12px; font-weight:bold; margin:0 0 3px; }
1082
+ .product-view .box-tags .form-add .input-box { float:left; width:305px; margin:0 5px 0 0; }
1083
+ .product-view .box-tags .form-add input.input-text { width:299px; }
1084
+ /*.product-view .box-tags .form-add button.button span { height:23px; background-image:url(../images/bkg_btn-small.png); line-height:20px; }*/
1085
+ .product-view .box-tags .note { margin:2px 0 0; font-size:10px; }
1086
+
1087
+ /* Block: Reviews */
1088
+ .product-view .box-reviews dl { margin:15px 0; }
1089
+ .product-view .box-reviews dt a,
1090
+ .product-view .box-reviews dt span { font-weight:bold; }
1091
+ .product-view .box-reviews dd { margin:0 0 15px; }
1092
+ .product-view .box-reviews dd small { font-style:italic; }
1093
+ .product-view .box-reviews .form-add { margin:15px 0 0; }
1094
+ .product-view .box-reviews .form-add h3 { font-size:13px; font-weight:normal; }
1095
+ .product-view .box-reviews .form-add h3 span { font-weight:bold; }
1096
+ .product-view .box-reviews .form-add h4 { font-size:12px; }
1097
+ .product-view .box-reviews .form-add .data-table td { text-align:center; }
1098
+ .product-view .box-reviews .form-add .form-list { margin:15px 0 0; }
1099
+ .product-view .box-reviews .form-add .form-list .input-box { width:460px; }
1100
+ .product-view .box-reviews .form-add .form-list input.input-text,
1101
+ .product-view .box-reviews .form-add .form-list textarea { width:454px; }
1102
+
1103
+ /* Send a Friend */
1104
+ .send-friend .form-list { width:535px; overflow:hidden; }
1105
+ .send-friend .form-list li { margin-right:-15px; }
1106
+ .send-friend .form-list li p { margin:0 15px 0 0; }
1107
+ .send-friend .buttons-set .limit { float:right; margin:0 7px 0 0; font-size:11px; line-height:25px; }
1108
+ /* ======================================================================================= */
1109
+
1110
+
1111
+ /* Content Styles ================================================================= */
1112
+ .product-name { margin:0; font-size:1em; font-weight:normal; line-height:1.55; }
1113
+ /*.product-name a { color:#444; }*/
1114
+
1115
+ /* Product Tags */
1116
+ .tags-list { display:block; font-size:13px; border:1px solid #ddd; background:#f6f6f6; padding:10px; }
1117
+ .tags-list li { display:inline !important; margin:0 4px 0 0; }
1118
+ .tags-list li a { color:#1b2d3b; }
1119
+
1120
+ /* Advanced Search */
1121
+ .advanced-search .form-list label { width:160px; padding-right:10px; }
1122
+ .advanced-search .form-list .input-box,
1123
+ .advanced-search .form-list .input-range { float:left; clear:none; }
1124
+ .advanced-search-amount { margin:0 0 10px; }
1125
+ .advanced-search-summary { margin:10px 0; border:1px solid #ddd; background:#ecf9ea; padding:10px; }
1126
+ .advanced-search-summary ul { float:left; width:49%; }
1127
+ .advanced-search-summary strong { color:#E17C24; }
1128
+ .advanced-search-summary li { margin:2px 0; }
1129
+ .advanced-search-summary p { clear:both; font-weight:bold; margin:0; }
1130
+
1131
+ /* CMS Home Page */
1132
+ .cms-home .main { padding:0px; }
1133
+ .cms-home .subtitle {}
1134
+ .cms-index-index .subtitle {}
1135
+
1136
+ /* Sitemap */
1137
+ .page-sitemap .links { text-align:right; margin:0 8px -22px 0; }
1138
+ .page-sitemap .links a { text-decoration:none; position:relative; }
1139
+ .page-sitemap .links a:hover { text-decoration:underline; }
1140
+ .page-sitemap .sitemap { margin:12px; }
1141
+ .page-sitemap .sitemap a { color:#444; }
1142
+ .page-sitemap .sitemap li { margin:3px 0; }
1143
+ .page-sitemap .sitemap li.level-0 { margin:10px 0 0; font-weight:bold; }
1144
+ .page-sitemap .sitemap li.level-0 a { color:#4f8100; }
1145
+
1146
+ /* RSS */
1147
+ .rss-title h1 { background:url(../images/i_rss-big.png) 0 3px no-repeat; padding-left:27px; }
1148
+ .rss-table .link-rss { display:block; line-height:1.55; background-position:0 4px; }
1149
+ /* ======================================================================================= */
1150
+
1151
+
1152
+ /* Shopping Cart ========================================================================= */
1153
+ .cart .page-title {}
1154
+
1155
+ /* Checkout Types */
1156
+ .cart .page-title .checkout-types { display:none !important; }
1157
+
1158
+ /* Shopping Cart Table */
1159
+ .cart-table th { padding:2px 10px; }
1160
+ .cart-table td { padding:10px; }
1161
+ .cart-table .product-name { font-weight:bold; margin:0 0 5px; color:#444; }
1162
+ .cart-table .item-msg { margin:5px 0; font-size:11px; font-weight:bold; color:#df280a; }
1163
+ .cart-table tfoot td { padding:5px 10px; }
1164
+ .cart-table .btn-continue { float:left; }
1165
+ .cart-table .btn-continue span { background:none; padding:0; font:normal 11px/25px Arial, Helvetica, sans-serif; color:#4f8100; text-transform:none; text-decoration:underline; }
1166
+ .cart-table .btn-continue span span { text-shadow: none !important; }
1167
+ .cart-table .btn-continue:hover span { text-decoration:none; }
1168
+ .cart-table .btn-update span {}
1169
+
1170
+ /* Shopping Cart Collateral boxes */
1171
+ .cart .cart-collaterals { padding:25px 0 0; }
1172
+ .cart .cart-collaterals .col2-set .col-1 { width:222px; }
1173
+ .cart .cart-collaterals .col2-set .col-2 { width:655px; background:#ffebd9; }
1174
+
1175
+ .cart .crosssell { border:1px solid #ddd; background:#f7f7f7; padding:10px; }
1176
+ .cart .crosssell h2 { font-size:12px; font-weight:bold; }
1177
+ .cart .crosssell .product-image { float:left; width:75px; height:75px; }
1178
+ .cart .crosssell .product-details { margin-left:85px; }
1179
+ .cart .crosssell .product-name { font-weight:bold; }
1180
+ .cart .crosssell li.item { margin:0 0 8px; padding-bottom:5px; border-bottom:1px solid #ddd; }
1181
+ .cart .crosssell li.last { border-bottom:0; padding-bottom:0; margin:0; }
1182
+ .cart .crosssell .link-compare { font-weight:normal; }
1183
+ .cart .no-crosssell { width:100%; overflow:hidden; }
1184
+ .cart .no-crosssell img { display:block; margin:0 0 10px; }
1185
+
1186
+ /* Discount Codes & Estimate Shipping and Tax Boxes */
1187
+ .cart .discount,
1188
+ .cart .shipping { background:#ffebd9; padding:10px 0; margin:0 12px; }
1189
+ .cart .discount h2,
1190
+ .cart .shipping h2 { float:left; width:225px; font:normal 14px/16px Arial, Helvetica, sans-serif; color:#d54c01; }
1191
+ .cart .discount .discount-form,
1192
+ .cart .shipping .shipping-form { margin-left:240px; }
1193
+ .cart .discount .buttons-set,
1194
+ .cart .shipping .buttons-set { margin:10px 0 0; border:0; padding:0; text-align:left; }
1195
+ .cart .discount .buttons-set button.button,
1196
+ .cart .shipping .buttons-set button.button { float:none; margin:0; }
1197
+ .cart .discount .buttons-set button.button span,
1198
+ .cart .shipping .buttons-set button.button span { height:19px; background-image:url(../images/bkg_btn-green.gif); padding:0 0 0 9px; font-size:10px; line-height:18px; color:#fff;text-shadow: none !important; }
1199
+ .cart .discount .buttons-set button.button span span,
1200
+ .cart .shipping .buttons-set button.button span span { padding:0 19px 0 10px; }
1201
+
1202
+ .cart .discount { border-bottom:1px solid #f2d8c1 ; }
1203
+ .cart .discount label { font-weight:bold; color:#555; }
1204
+ .cart .discount .input-box { width:225px; }
1205
+ .cart .discount input.input-text { width:220px; }
1206
+
1207
+ .cart .shipping p { margin:0 0 3px; }
1208
+ .cart .shipping .sp-methods { margin:10px 0 0; padding:6px 0 0; border-top:1px solid #f2d8c1; }
1209
+ .cart .shipping .form-list .input-box { width:270px; }
1210
+ .cart .shipping .form-list input.input-text { width:220px; }
1211
+ .cart .shipping .form-list select { width:225px; }
1212
+
1213
+ /* Shopping Cart Totals */
1214
+ .cart .totals { background:#fff url(../images/bkg_cart-totals.gif) 0 0 no-repeat;float: right;padding: 12px 0;width: 655px;}
1215
+ .cart .totals table { float:right; width:400px; margin:0 0 8px; }
1216
+ .cart .totals td { padding:0 0 0 15px; }
1217
+ .cart .totals tr.last td {}
1218
+ .cart .totals tfoot td {}
1219
+ .cart .totals tfoot td strong { font-size:14px; font-weight:bold; color:#e02f00; }
1220
+ .cart .totals .checkout-types { font-size:13px; padding:4px 0; text-align:right; }
1221
+ .cart .totals .checkout-types li { clear:both; margin:0 0 5px; }
1222
+
1223
+ /* Options Tool Tip */
1224
+ .item-options dt { font-weight:bold; font-style:italic; }
1225
+ .item-options dd { padding-left:10px; }
1226
+ .truncated { cursor:help; }
1227
+ .truncated a.dots { cursor:help; text-decoration:none !important; }
1228
+ .truncated a.details { cursor:help; text-decoration:none !important; display:inline-block; border-bottom:1px dotted #4f8100; }
1229
+ .truncated .truncated_full_value { position:relative; z-index:999; }
1230
+ .truncated .truncated_full_value dl { position:absolute; top:-99999em; z-index:999; width:250px; padding:8px; border:2px solid #ddd; border-bottom-color:#666; background-color:#f6f6f6; }
1231
+ .truncated .truncated_full_value dt { margin-top:0; }
1232
+ .truncated .show dl { top:-20px; left:50%; }
1233
+ .col-left .truncated .show dl { left:30px; top:10px; }
1234
+ .col-right .truncated .show dl { left:-240px; top:10px; }
1235
+ /* ======================================================================================= */
1236
+
1237
+
1238
+ /* Checkout ============================================================================== */
1239
+ /********** < Common Checkout Styles */
1240
+ /* Shipping and Payment methods */
1241
+ .sp-methods { margin:0 0 8px; }
1242
+ .sp-methods dt { margin:13px 0 5px; font-weight:bold; }
1243
+ .sp-methods dd {}
1244
+ .sp-methods dd li { margin:5px 0; }
1245
+ .sp-methods label { font-weight:bold; color:#555; }
1246
+ .sp-methods .price { font-weight:bold; }
1247
+ .sp-methods .form-list { padding-left:20px; }
1248
+ .sp-methods .form-list li { margin:0 0 8px; }
1249
+ .sp-methods select.month { width:154px; margin-right:10px; }
1250
+ .sp-methods select.year { width:96px; }
1251
+ .sp-methods input.cvv { width:3em !important; }
1252
+ .sp-methods .centinel-logos a { margin-right:3px; }
1253
+ .sp-methods .centinel-logos img { vertical-align:middle; }
1254
+
1255
+ .please-wait { float:right; }
1256
+ .please-wait img { vertical-align:middle; }
1257
+ .cvv-what-is-this { font-size:11px; cursor:help; margin-left:10px; }
1258
+
1259
+ /* Tooltip */
1260
+ .tool-tip { border:2px solid #ddd; border-bottom-color:#666; background:#f6f6f6; padding:15px 20px; position:absolute; z-index:9999; }
1261
+ .tool-tip .btn-close { margin:-9px -14px 0; text-align:right; }
1262
+ .tool-tip .btn-close a { display:block; margin:0 0 0 auto; width:12px; height:12px; background:url(../images/btn_window_close.gif) 100% 0 no-repeat; text-align:left; text-indent:-999em; overflow:hidden; }
1263
+ .tool-tip .tool-tip-content { padding:5px; }
1264
+
1265
+ /* Gift Messages */
1266
+ .gift-messages h3 { font-size:12px; font-weight:bold; color:#e87403; }
1267
+ .gift-messages p.control { color:#8e8d8b; }
1268
+ .gift-messages-form { position:relative; }
1269
+ .gift-messages-form label { float:none !important; position:static !important; }
1270
+ .gift-messages-form h4 { font-size:12px; font-weight:bold; color:#e87403; }
1271
+ .gift-messages-form .whole-order { margin:0 0 25px; }
1272
+ .gift-messages-form .item { margin:0 0 10px; }
1273
+ .gift-messages-form .item .product-img-box { float:left; width:75px; }
1274
+ .gift-messages-form .item .product-image { margin:0 0 7px; }
1275
+ .gift-messages-form .item .number { margin:0; font-weight:bold; text-align:center; color:#8a8987; }
1276
+ .gift-messages-form .item .details { margin-left:90px; }
1277
+ .gift-messages-form .item .details .product-name { font-size:13px; font-weight:bold; margin:0 0 10px; }
1278
+ .gift-messages-form .item .details .form-list .field { width:255px; }
1279
+ .gift-messages-form .item .details .form-list .input-box { width:240px; }
1280
+ .gift-messages-form .item .details .form-list input.input-text { width:234px; }
1281
+ .gift-messages-form .item .details .form-list li.wide .input-box { width:500px; }
1282
+ .gift-messages-form .item .details .form-list li.wide textarea { width:494px; }
1283
+
1284
+ .gift-message-link { font-size:11px; background:url(../images/bkg_collapse-gm.gif) 100% 6px no-repeat; padding-right:7px; }
1285
+ .gift-message-link.expanded { background-position:100% -40px; }
1286
+ .gift-message-row { background:#f2efe9; }
1287
+ .gift-message-row .btn-close { float:right; width:12px; height:12px; background:url(../images/btn_remove.gif) 0 0 no-repeat; font-size:0; line-height:0; text-indent:-999em; overflow:hidden; }
1288
+
1289
+ /* Checkout Agreements */
1290
+ .checkout-agreements li { margin:30px 0; }
1291
+ .checkout-agreements .agreement-content { overflow:auto; height:12em; padding:10px; background:#fbfbfb; border:1px solid #e4e4e4; }
1292
+ .checkout-agreements .agree { margin:0; padding:10px 0 10px 11px; }
1293
+ .checkout-agreements .agree input.checkbox { margin-right:6px; }
1294
+ .checkout-agreements .agree label { font-weight:bold; color:#555; }
1295
+
1296
+ .opc .checkout-agreements { padding:5px 30px; }
1297
+ .opc .checkout-agreements li { margin:20px 0 0; }
1298
+ .opc .checkout-agreements .agreement-content { background:#fff; padding:5px; }
1299
+ .opc .checkout-agreements .agree { padding-left:6px; }
1300
+
1301
+ /* Centinel */
1302
+ .centinel {}
1303
+
1304
+ .opc .centinel { padding:10px 30px; }
1305
+
1306
+ /* Generic Info Set */
1307
+ .info-set { background:#fbfbfb; border:1px solid #ddd; margin:0 0 25px; padding:20px; }
1308
+ .info-set h2 { font-size:12px; font-weight:bold; margin:0 0 10px; }
1309
+ .info-set h3,
1310
+ .info-set h4 { font-size:12px; font-weight:bold; }
1311
+ .info-set h2 a,
1312
+ .info-set h3 a,
1313
+ .info-set h4 a { font-weight:normal; }
1314
+ .info-set h2.legend { margin:-20px -20px 15px; padding:3px 10px; background:#777; border-bottom:1px solid #777; position:relative; color:#fff; }
1315
+ .info-set h2.legend a { color:#fff; }
1316
+ .info-set h3.legend { margin:0 0 10px; }
1317
+ .info-set .divider { margin:0 -20px; padding:25px 0; position:relative; }
1318
+ .info-set .box { margin:0 0 15px; }
1319
+ .info-set .box h2 { color:#e26703; }
1320
+ .info-set .data-table .product-name { font-size:1em !important; font-weight:bold !important; color:#4f8100 !important; }
1321
+ .info-set .data-table .product-name a { font-weight:bold !important; }
1322
+ .info-set .data-table .item-options { margin:5px 0 0; }
1323
+ /********** Common Checkout Styles > */
1324
+
1325
+ /* One Page Checkout */
1326
+ .block-progress { border:0; margin:0; }
1327
+ .block-progress .block-title { }
1328
+ .block-progress .block-title strong { font-size:12px; }
1329
+ .block-progress .block-content { background:none; padding:0; }
1330
+ .block-progress dt { font-size:10px; line-height:1.35; background:#eee; border:1px solid #ddd; margin:0 0 6px; padding:2px 8px; color:#555; text-transform:uppercase; }
1331
+ .block-progress dd { border-top:0; padding:2px 10px; margin:0 0 6px; }
1332
+ .block-progress dt.complete {}
1333
+ .block-progress dt.complete a { text-transform:none; }
1334
+ .block-progress dd.complete {}
1335
+ .block-progress p { margin:0; }
1336
+
1337
+ .opc .buttons-set { margin-top:0; padding-top:2em; }
1338
+ .opc .buttons-set p.required { margin:0; padding:0 0 10px; }
1339
+ .opc .buttons-set.disabled button.button { display:none; }
1340
+ .opc .buttons-set .please-wait { height:28px; line-height:28px; }
1341
+ .opc .ul { list-style:disc outside; padding-left:18px; }
1342
+
1343
+ .opc { position:relative; }
1344
+ .opc li.section {}
1345
+
1346
+ .opc .step-title { border:1px solid #ddd; border-top-color:#fff; background:#eee; padding:10px; text-align:right; -moz-border-radius: 5px 5px 0px 0px; }
1347
+ .opc .step-title .number { float:left; background:#fff; border:1px solid #fff; padding:0 3px; margin:0 5px 0 0; font:normal 11px/12px arial, helvetica, sans-serif; color:#444; }
1348
+ .opc .step-title h2 { float:left; margin:0; font:bold 12px/14px Arial, Helvetica, sans-serif; color:#999; }
1349
+ .opc .step-title a { display:none; float:right; font-size:11px; line-height:16px; }
1350
+
1351
+ .opc .allow .step-title { background:#999; border-color:#999; border-top-color:#fff; color:#fff; cursor:pointer; }
1352
+ .opc .allow .step-title .number {}
1353
+ .opc .allow .step-title h2 { color:#fff; }
1354
+ .opc .allow .step-title a { display:block; font-size:10px; color:#fff; text-transform:uppercase; }
1355
+
1356
+ .opc .active .step-title { background:#e46b00; border-color:#e46b00; border-top-color:#fff;color:#fff; cursor:default; }
1357
+ .opc .active .step-title .number {}
1358
+ .opc .active .step-title h2 { color:#fff; }
1359
+ .opc .active .step-title a { display:none; }
1360
+
1361
+ .opc .step { border:1px solid #ddd; border-top:0; background:#fbfbfb; padding:15px 30px; position:relative; }
1362
+ .opc .step .tool-tip { right:30px; }
1363
+
1364
+ #opc-login h3 { font-size:13px; border-bottom:1px solid #e4e4e4; padding-bottom:2px; text-transform:uppercase; }
1365
+ #opc-login h4 { font-size:1em; font-weight:bold; margin:0; color:#2f2f2f; }
1366
+
1367
+ #opc-shipping_method .buttons-set { border-top:0; }
1368
+ .opc .gift-messages-form { margin:0 -30px; background:#f4f4f4; border:1px solid #ddd; border-width:1px 0; padding:22px 24px 22px 30px; }
1369
+ .opc .gift-messages-form .inner-box { padding:5px; height:260px; overflow:auto; }
1370
+
1371
+ #opc-review .step { padding:0; }
1372
+ #opc-review .product-name { font-weight:bold; }
1373
+ #opc-review .item-options { margin:5px 0 0; }
1374
+ #opc-review .buttons-set { border:0; padding:15px 30px; }
1375
+ #opc-review .buttons-set p { margin:0; line-height:28px; }
1376
+ #opc-review .buttons-set .please-wait { height:28px; line-height:28px; }
1377
+
1378
+ /* Multiple Addresses Checkout */
1379
+ .checkout-progress { padding:0 90px; margin:0 0 20px; }
1380
+ .checkout-progress li { float:left; width:19%; margin:0 3px 0 0; border-top:6px solid #999; padding:2px 0 0; font-weight:bold; text-align:center; color:#888; }
1381
+ .checkout-progress li.active { border-top-color:#e96200; color:#e96200; }
1382
+
1383
+ .multiple-checkout h2 { font-size:12px; font-weight:bold; margin:0 0 10px; }
1384
+ .multiple-checkout h3,
1385
+ .multiple-checkout h4 { font-size:12px; font-weight:bold; }
1386
+ .multiple-checkout h2 a,
1387
+ .multiple-checkout h3 a,
1388
+ .multiple-checkout h4 a { font-weight:normal; }
1389
+ .multiple-checkout .data-table .product-name { font-size:1em !important; font-weight:bold !important; color:#4f8100 !important; }
1390
+ .multiple-checkout .data-table .product-name a { font-weight:bold !important; }
1391
+ .multiple-checkout .data-table .item-options { margin:5px 0 0; }
1392
+
1393
+ .multiple-checkout .gift-messages { margin:15px 0 0; }
1394
+
1395
+ .multiple-checkout .tool-tip { top:50%; margin-top:-120px; right:20px; }
1396
+
1397
+ .multiple-checkout .col2-set,
1398
+ .multiple-checkout .col3-set { background:#fbfbfb; border:1px solid #ddd; margin:0 0 25px; padding:20px; }
1399
+ .multiple-checkout .col2-set h2.legend { margin:-20px -20px 15px; padding:3px 10px; background:#777; border-bottom:1px solid #777; position:relative; color:#fff; }
1400
+ .multiple-checkout .col2-set h3.legend { margin:0 0 10px; }
1401
+ .multiple-checkout .col2-set .divider { margin:0 -20px; padding:25px 0; position:relative; }
1402
+ .multiple-checkout .box { margin:0 0 15px; }
1403
+
1404
+ .multiple-checkout .place-order .please-wait { float:right; padding:5px 10px 0 0; }
1405
+ .multiple-checkout .place-order .grand-total { float:right; }
1406
+ .multiple-checkout .place-order .grand-total .inner {}
1407
+ .multiple-checkout .place-order .grand-total big { float:left; margin-right:12px; font-size:1.5em; font-weight:bold; line-height:28px; color:#e26703; }
1408
+ .multiple-checkout .place-order .grand-total div { float:left; }
1409
+
1410
+ /* Step 1 */
1411
+ #multiship-addresses-table td { padding:10px; }
1412
+ #multiship-addresses-table tfoot td { padding:5px 10px; }
1413
+
1414
+ /* Step 2 */
1415
+ .multiple-checkout .gift-messages-form .item .details .form-list { width:100%; overflow:hidden; }
1416
+ .multiple-checkout .gift-messages-form .item .details .form-list li { margin-right:-15px; }
1417
+ .multiple-checkout .gift-messages-form .item .details .form-list .field { width:230px; }
1418
+ .multiple-checkout .gift-messages-form .item .details .form-list .input-box { width:215px; }
1419
+ .multiple-checkout .gift-messages-form .item .details .form-list input.input-text { width:209px; }
1420
+ .multiple-checkout .gift-messages-form .item .details .form-list li.wide .input-box { width:445px; }
1421
+ .multiple-checkout .gift-messages-form .item .details .form-list li.wide textarea { width:439px; }
1422
+ .checkout-multishipping-shipping .box-sp-methods { border:1px solid #ddd; background:#eee; padding:13px; position:relative; }
1423
+ .checkout-multishipping-shipping .box-sp-methods .pointer { display:none; }
1424
+
1425
+ /* Step 3 */
1426
+ .checkout-multishipping-billing .multiple-checkout { position:relative; }
1427
+ /* ======================================================================================= */
1428
+
1429
+
1430
+ /* Account Login/Create Pages ============================================================ */
1431
+ .account-login .content { min-height:200px; padding:0 10px; }
1432
+ .account-login .content h2 { margin:0 -10px 12px; background:#f1f1f1; padding:2px 10px; font-size:13px; line-height:1.25; }
1433
+ .account-login .buttons-set {}
1434
+
1435
+ .account-create {}
1436
+ /* Account Login/Create Pages ============================================================ */
1437
+
1438
+
1439
+ /* My Account ============================================================================= */
1440
+ .my-account .title-buttons .link-rss { float:none; margin:0; }
1441
+
1442
+ /********** < Dashboard */
1443
+ .dashboard .welcome-msg { margin:0 8em 1.5em 0; }
1444
+ .dashboard .welcome-msg p { margin:0; }
1445
+ .dashboard .col2-set { margin:0 0 15px; }
1446
+
1447
+ /* General Box */
1448
+ .box-account { margin:0 0 15px; }
1449
+ .box-account .box-head { margin:0 0 5px; text-align:right; }
1450
+ .box-account .box-head h2 { float:left; margin:0; font-size:14px; font-weight:bold; color:#4f8100; }
1451
+ .box-account .box-head a { font-size:10px; text-transform:uppercase; }
1452
+
1453
+ .dashboard .box .box-title { background:#f1f1f1; padding:2px 10px; margin:0 0 12px; text-align:right; }
1454
+ .dashboard .box .box-title h3,
1455
+ .dashboard .box .box-title h4 { float:left; margin:0; font-size:12px; font-weight:bold; line-height:1.35; }
1456
+ .dashboard .box .box-title a { font-size:10px; text-transform:uppercase; }
1457
+ .dashboard .box .box-content { padding:0 10px; }
1458
+
1459
+ /* Block: Recent Orders */
1460
+ .dashboard .box-recent {}
1461
+
1462
+ /* Block: Account Information */
1463
+ .dashboard .box-info {}
1464
+ .dashboard .box-info h4 { font-size:11px; font-weight:bold; }
1465
+
1466
+ /* Block: Reviews */
1467
+ .dashboard .box-reviews .box-head { background:#f1f1f1; padding:2px 10px; margin:0 0 12px; }
1468
+ .dashboard .box-reviews .box-head h2 { font-size:12px; font-weight:bold; line-height:1.35; color:#444; }
1469
+ .dashboard .box-reviews .number { display:none; float:left; font-size:10px; font-weight:bold; line-height:1; color:#fff; margin:3px -20px 0 0; padding:2px 3px; background:#0a263c; }
1470
+ .dashboard .box-reviews .details { padding:0 10px; }
1471
+ .dashboard .box-reviews li.item { margin:0 0 7px; }
1472
+ .dashboard .box-reviews li.item.last { margin:0; }
1473
+ .dashboard .box-reviews .ratings { margin:7px 0 0; }
1474
+
1475
+ /* Block: Tags */
1476
+ .dashboard .box-tags .box-head { background:#f1f1f1; padding:2px 10px; margin:0 0 12px; }
1477
+ .dashboard .box-tags .box-head h2 { font-size:12px; font-weight:bold; line-height:1.35; color:#444; }
1478
+ .dashboard .box-tags .number { display:none; float:left; font-size:10px; font-weight:bold; line-height:1; color:#fff; margin:3px -20px 0 0; padding:2px 3px; background:#0a263c; }
1479
+ .dashboard .box-tags .details { padding:0 10px; }
1480
+ .dashboard .box-tags li.item { margin:0 0 7px; }
1481
+ .dashboard .box-tags li.item.last { margin:0; }
1482
+ .dashboard .box-tags .tags strong,
1483
+ .dashboard .box-tags .tags ul,
1484
+ .dashboard .box-tags .tags ul li { display:inline; }
1485
+ /********** Dashboard > */
1486
+
1487
+ /* Address Book */
1488
+ .addresses-list h2 { background:#f1f1f1; padding:2px 10px; margin:0 0 12px; font-size:13px; font-weight:bold; line-height:1.25; }
1489
+ .addresses-list h3 { font-weight:bold; font-size:12px; }
1490
+ .addresses-list address { margin:0 0 3px; }
1491
+ .addresses-list p { margin:0; }
1492
+ .addresses-list a { font-weight:bold; }
1493
+ .addresses-list .link-remove {}
1494
+ .addresses-list .separator { margin:0 3px; }
1495
+ .addresses-list li.item { padding:0 10px; margin:0 0 12px; }
1496
+ .addresses-list li.empty {}
1497
+ .addresses-list li.empty p { font-weight:bold; }
1498
+ .addresses-list .addresses-additional li.item {}
1499
+
1500
+ /* Order View */
1501
+ .order-info dt { display:none; }
1502
+ .order-info ul { margin-bottom:15px; border-bottom:1px solid #666; background:#f2f2f2 url(../images/bkg_tabs.gif) 0 100% repeat-x; }
1503
+ .order-info li{ float:left; border-right:1px solid #a4a4a4; border-left:1px solid #fff; font-size:1.1em; line-height:1em; }
1504
+ .order-info li.first { border-left:0; }
1505
+ .order-info li.last { border-right:0; }
1506
+ .order-info li a { display:block; padding:6px 15px; color:#444; }
1507
+ .order-info li a:hover { background-color:#ddd; text-decoration:none; color:#444; }
1508
+ .order-info li.current { background-color:#666; font-weight:bold; padding:6px 15px; color:#fff; }
1509
+
1510
+ .order-date { margin:10px 0; }
1511
+
1512
+ .order-info-box { margin:0 0 15px; }
1513
+ .order-info-box h2 { font-size:13px; font-weight:bold; border-bottom:1px solid #ddd; margin:0 0 8px; }
1514
+ .order-info-box .box-payment p { margin:0 0 5px; }
1515
+ .order-info-box .box-payment th { font-weight:bold; padding-right:7px; }
1516
+
1517
+ .order-items { width:100%; overflow-x:auto; }
1518
+ .order-items h2 { font-weight:bold; font-size:13px; }
1519
+ .order-items h3 { font-weight:bold; font-size:12px; }
1520
+ .order-items .product-name { font-weight:bold !important; }
1521
+ .order-items .link-print { float:right; font-size:10px; text-transform:uppercase; }
1522
+ .order-items p .link-print { float:none; font-weight:bold; font-size:11px; text-transform:none; }
1523
+
1524
+ .order-gift-message { margin:15px 0; }
1525
+ .gift-message dt strong { color:#555; }
1526
+ .gift-message dd { margin:5px 0 0; font-size:13px; }
1527
+
1528
+ .order-about { margin:15px 0; }
1529
+ .order-about dt { font-weight:bold; }
1530
+ .order-about dd { font-size:13px; margin:0 0 7px; }
1531
+
1532
+ .tracking-table { margin:0 0 15px; }
1533
+ .tracking-table th { font-weight:bold; white-space:nowrap; }
1534
+ .tracking-table th,
1535
+ .tracking-table td { padding:1px 5px 0 0; }
1536
+
1537
+ .tracking-table-popup { width:100%; }
1538
+ .tracking-table-popup th { font-weight:bold; white-space:nowrap; }
1539
+ .tracking-table-popup th,
1540
+ .tracking-table-popup td { padding:1px 8px; }
1541
+
1542
+ /* Order Print Pages */
1543
+ .page-print .print-head { margin:0 0 15px; }
1544
+ .page-print .print-head .logo { float:left; }
1545
+ .page-print .print-head address { float:left; margin-left:15px; }
1546
+ .page-print h1 { font-size:15px; font-weight:bold; }
1547
+ .page-print h2,
1548
+ .page-print h3 { font-size:12px; font-weight:bold; }
1549
+ .page-print h2.h2 { font-size:15px; font-weight:bold; text-align:right; }
1550
+ .page-print .order-date { border-bottom:1px solid #ccc; padding:0 0 10px; margin:0 0 10px; }
1551
+ .page-print .col2-set { margin:0 0 10px; }
1552
+ /* Price Rewrites */
1553
+ .page-print .gift-message-link { display:none; }
1554
+ .page-print .price-excl-tax,
1555
+ .page-print .price-incl-tax { display:block; white-space:nowrap; }
1556
+ .page-print .cart-price,
1557
+ .page-print .price-excl-tax .label,
1558
+ .page-print .price-incl-tax .label,
1559
+ .page-print .price-excl-tax .price,
1560
+ .page-print .price-incl-tax .price { display:inline; }
1561
+
1562
+ /* My Wishlist */
1563
+ .my-wishlist .data-table td { padding:10px; }
1564
+ .my-wishlist .product-image { display:block; width:113px; height:113px; margin:0 0 5px; }
1565
+ .my-wishlist textarea { display:block; width:97%; height:109px; }
1566
+ .my-wishlist .buttons-set { border:0; padding:0; margin:0 0 -3em; }
1567
+ .my-wishlist .buttons-set button.button { float:none; }
1568
+ .my-wishlist .buttons-set .btn-add span,
1569
+ .my-wishlist .buttons-set .btn-share span {}
1570
+ #wishlist-table .add-to-links { white-space:nowrap; }
1571
+
1572
+ /* My Tags */
1573
+ .my-tag-edit { float:left; margin:0 0 10px; }
1574
+ .my-tag-edit .btn-remove { float:right; margin:5px 0 0 5px; }
1575
+ #my-tags-table { clear:both; }
1576
+ #my-tags-table td { padding:10px; }
1577
+ #my-tags-table .add-to-links { white-space:nowrap; }
1578
+
1579
+ /* My Reviews */
1580
+ #my-reviews-table td { padding:10px; }
1581
+ #my-reviews-table .rating-box { margin:3px 0 0; }
1582
+
1583
+ .product-review .product-img-box { float:left; width:140px; }
1584
+ .product-review .product-img-box .product-image { display:block; width:125px; height:125px; }
1585
+ .product-review .product-img-box .label { font-size:11px; margin:0 0 3px; }
1586
+ .product-review .product-img-box .ratings .rating-box { float:none; display:block; margin:0 0 3px; }
1587
+ .product-review .product-details { margin-left:150px; }
1588
+ .product-review .product-name { font-size:16px; font-weight:bold; margin:0 0 10px; }
1589
+ .product-review h3 { font-size:12px; margin:0 0 3px; color:#2f2f2f; }
1590
+ .product-review .ratings-table { margin:0 0 10px; }
1591
+ .product-review dt { font-weight:bold; }
1592
+ .product-review dd { font-size:13px; margin:5px 0 0; }
1593
+ /* ======================================================================================= */
1594
+
1595
+
1596
+ /* Footer ================================================================================ */
1597
+ .footer-container { background: #F5F3F2; -moz-border-radius: 10px; -webkit-border-radius: 10px; border-radius: 10px;}
1598
+ .footer { padding: 30px 0px 30px 25px;margin-bottom: 20px; margin-top: 20px;}
1599
+ .footer a { color:#444; }
1600
+
1601
+ .footer h6 { font-size: 13px;margin-bottom: 10px; }
1602
+ .footer .footer-block { width: 161px; float: left;margin-left: 15px;dislay: inline;}
1603
+ .footer .footer-block.first { margin-left: 0px; }
1604
+ .footer .payment { float: right; width: 210px;padding-right: 20px; }
1605
+ .footer li { display: block; padding:0 5px 5px 0; margin:0 3px 0 0; }
1606
+ .footer .links li.last { background:none !important; padding-right:0 !important; }
1607
+
1608
+ .copyright { -moz-border-radius: 10px; -webkit-border-radius: 10px; border-radius: 10px;position:relative; clear:both; border-top: 1px solid #ddd; background: #333; padding: 0px 20px; height: 40px; }
1609
+ .copyright { color: #CCC; }
1610
+ .copyright address,.copyright .f-right {line-height: 40px; }
1611
+ .copyright .f-right img { padding-top: 8px;}
1612
+ .copyright a { color: #fff; }
1613
+ .copyright .bugs { margin:0; }
1614
+ .copyright .bugs a { font-weight:bold;}
1615
+
1616
+ .footer .form-subscribe { margin:8px 0; }
1617
+ .footer .form-subscribe label,
1618
+ .footer .form-subscribe .input-box,
1619
+ .footer .form-subscribe button.button { float:left; }
1620
+ .footer .form-subscribe label { padding-top:2px; font-weight:bold; color:#555; }
1621
+ .footer .form-subscribe .input-box { width:186px;}
1622
+ .footer .form-subscribe input.input-text { width:180px; }
1623
+ .footer .form-subscribe button.button span { height:23px; background-image:url(../images/bkg_btn-small.png); line-height:20px; }
1624
+ .footer .form-subscribe button.button span span { color: #444 !important; text-shadow: 0px 1px #fff !important; }
1625
+
1626
+ .footer .footer-callout { display:block; margin:-10px 0 10px; position:relative; }
1627
+ .footer .store-switcher { color:#555; text-align:right; }
1628
+ .footer .store-switcher label { font-weight:bold; vertical-align:middle; }
1629
+ .footer .store-switcher select { padding:0; vertical-align:middle; }
1630
+
1631
+ .footer-container .bottom-container { margin:0 0 8px; text-align:right; }
1632
+ /* ======================================================================================= */
1633
+
1634
+ /* Sample Data============================================================================ */
1635
+ .home-callout { margin-bottom:12px; }
1636
+ .home-callout img { display:block }
1637
+ /*.home-spot { float:left; width:470px; margin-left:20px; }*/
1638
+ .best-selling h3 { margin:12px 0 6px 0; color:#e25203; font-size:1.2em; }
1639
+ .best-selling table { border-top:1px solid #ccc; }
1640
+ .best-selling tr.odd { background:#eee url(../images/best_selling_tr_odd_bg.gif) 0 100% repeat-x; }
1641
+ .best-selling tr.even { background:#fff url(../images/best_selling_tr_even_bg.gif) 0 100% repeat-x; }
1642
+ .best-selling td { width:50%; border-bottom:1px solid #ccc; padding:8px 10px 8px 8px; font-size:11px; }
1643
+ .best-selling .product-img { float:left; border:2px solid #dcdcdc; }
1644
+ .best-selling .product-description { margin-left:107px; line-height:1.3em; }
1645
+ .best-selling a.product-name,
1646
+ .home-spot .best-selling a.product-name:hover { color:#203548; }
1647
+ /* ======================================================================================= */
1648
+
1649
+
1650
+ /* ========================================
1651
+ HOMEPAGE LAYOUT
1652
+ =============================================== */
1653
+
1654
+ .wired-home { }
1655
+
1656
+ .wired-home .slider { float: left; width: 674px; height: 328px; position:relative; }
1657
+ #slider .panel img { height: 328px; width: 674px;}
1658
+ #slider .panel span.comment { display:block;float:left;width: 674px;}
1659
+ .wired-home .promo-right { float: right; width: 265px; }
1660
+ .wired-home .promo-right img { margin-bottom: 22px; }
1661
+ .wired-home .promo-right img.last { margin-bottom:0px; }
1662
+
1663
+ .wired-home .promo-bottom { clear: both; margin-top: 15px; }
1664
+
1665
+ .wired-home .subpromo { margin: 20px 0px;clear:both; }
1666
+ .wired-home .subpromo .brands { float: right; }
1667
+ .wired-home .subpromo .offers { float: left; }
1668
+ .wired-home .subpromo .offers img { margin-right: 20px; float: left;white-space: pre-wrap; }
1669
+
1670
+ .wired-home .featured-social { margin-top: 15px; }
1671
+ .wired-home .subscribe { min-height: 110px;width: 235px; -moz-border-radius: 10px; -webkit-border-radius: 10px; float: right;background: #f4f4f4 url(../images/background/featured_product_bg.gif) repeat-x; padding: 10px 15px; }
1672
+ .wired-home .subscribe strong { font-size: 16px; }
1673
+ .wired-home .form-subscribe { margin:8px 0; background:url(../images/background/subscribe_bg.png) no-repeat; width: 233px; height: 33px;position:relative; }
1674
+ .wired-home .form-subscribe label { display: none; }
1675
+ .wired-home .form-subscribe label,
1676
+ .wired-home .form-subscribe .input-box,
1677
+ .wired-home .form-subscribe button.button { float:left;}.form-subscribe button.button { float:left; position:absolute;right:5px;}
1678
+ .wired-home .form-subscribe label { padding-top:2px; font-weight:bold; color:#555; }
1679
+ .wired-home .form-subscribe .input-box { width:136px; margin:0 5px; }
1680
+ .wired-home .form-subscribe input.input-text { width:160px; padding: 10px 0 0 40px; background: none; border: none;}
1681
+ .wired-home .form-subscribe button.button { position:absolute; float: right; top: 10px;}
1682
+ .wired-home .form-subscribe button.button span { text-indent: -9999px; height:13px;width: 12px; background: transparent url(../images/buttons/subscribe_btn.gif) no-repeat top left; line-height:13px; }
1683
+ .wired-home .form-subscribe button.button span span { background: none !important; color: #444 !important; text-shadow: 0px 1px #fff !important; }
1684
+
1685
+ /* Clears ================================================================================ */
1686
+ .clearer:after,.wired-home .promo:after,.footer .f-left:after,
1687
+ .header-container:after,.featured-social:after,
1688
+ .header-container .top-container:after, .copyright:after,.wired-home .subpromo:after,
1689
+ .header:after,
1690
+ .top-bar:after,
1691
+ .quick-access:after,
1692
+ .form-search:after,
1693
+ #nav:after,
1694
+ .main:after,
1695
+ .footer:after,
1696
+ .footer .form-subscribe:after,
1697
+ .footer-container .bottom-container:after,
1698
+ .col-main:after,
1699
+ .col2-set:after,
1700
+ .col3-set:after,
1701
+ .col4-set:after,
1702
+ .search-autocomplete li:after,
1703
+ .block .block-content:after,
1704
+ .block .actions:after,
1705
+ .block li.item:after,
1706
+ .block-poll li:after,
1707
+ .block-layered-nav .currently li:after,
1708
+ .page-title:after,
1709
+ .products-grid:after,
1710
+ .products-list li.item:after,
1711
+ .box-account .box-head:after,
1712
+ .dashboard .box .box-title:after,
1713
+ .order-info ul:after,
1714
+ .box-reviews li.item:after,
1715
+ .box-tags li.item:after,
1716
+ .pager:after,
1717
+ .sorter:after,
1718
+ .ratings:after,
1719
+ .add-to-box:after,
1720
+ .add-to-cart:after,
1721
+ .product-essential:after,
1722
+ .product-collateral:after,
1723
+ .product-tabs:after,
1724
+ .product-view .product-img-box .more-views ul:after,
1725
+ .product-view .box-tags .form-add:after,
1726
+ .product-options .options-list li:after,
1727
+ .product-options-bottom:after,
1728
+ .product-review:after,
1729
+ .cart:after,
1730
+ .cart-collaterals:after,
1731
+ .cart .crosssell li.item:after,
1732
+ .opc .step-title:after,
1733
+ .checkout-progress:after,
1734
+ .multiple-checkout .place-order:after,
1735
+ .group-select li:after,
1736
+ .form-list li:after,
1737
+ .form-list .field:after,
1738
+ .buttons-set:after,
1739
+ .page-print .print-head:after,
1740
+ .advanced-search-summary:after,
1741
+ .gift-messages-form .item:after,
1742
+ .send-friend .form-list li p:after { display:block; content:"."; clear:both; font-size:0; line-height:0; height:0; overflow:hidden; }
1743
+
1744
+
1745
+ /* Clear Fix */
1746
+ .clearfix:after {
1747
+ content: ".";
1748
+ display: block;
1749
+ clear: both;
1750
+ visibility: hidden;
1751
+ line-height: 0;
1752
+ height: 0;
1753
+ }
1754
+
1755
+ .clearfix {
1756
+ display: inline-block;
1757
+ }
1758
+
1759
+ html[xmlns] .clearfix {
1760
+ display: block;
1761
+ }
1762
+
1763
+ * html .clearfix {
1764
+ height: 1%;
1765
+ }
1766
+
1767
+ /* Menu Mobile ================================================================================ */
1768
+
1769
+ #menu {
1770
+ /* background: url("../images/background/menu_bg.gif") no-repeat scroll left top transparent;
1771
+ height: 44px;
1772
+ margin-bottom: 15px;
1773
+ border: 1px solid #CCCCCC;
1774
+ border-radius: 5px 5px 5px 5px;
1775
+ margin-top: 10px;*/
1776
+ }
1777
+ .hidden-desktop {
1778
+ display: none;
1779
+ margin-bottom:15px;
1780
+ }
1781
+ .header #menu .menutop {
1782
+ text-align: center;
1783
+ }
1784
+ #menu .toggle {
1785
+ border-radius: 5px 5px 5px 5px;
1786
+ color: #fff;
1787
+ display: block;
1788
+ font-size: 15px;
1789
+ font-weight: 700;
1790
+ padding: 8px 0;
1791
+ text-align:center;
1792
+ }
1793
+ #menu .toggle span {
1794
+ background: url("../images/mobilemenu.gif") no-repeat scroll 0 0 transparent;
1795
+ display: inline-block;
1796
+ height: 16px;
1797
+ margin-left: 10px;
1798
+ position: relative;
1799
+ top: 2px;
1800
+ width: 16px;
1801
+ }
1802
+ #menu #left-nav {
1803
+ z-index: 2147483647;
1804
+ padding: 0;
1805
+ }
1806
+ #left-nav {
1807
+ padding: 10px 0;
1808
+ position: relative;
1809
+ background: #494949; /* Old browsers */
1810
+ /* IE9 SVG, needs conditional override of 'filter' to 'none' */
1811
+ background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzQ5NDk0OSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMyNDI0MjQiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
1812
+ background: -moz-linear-gradient(top, #494949 0%, #242424 100%); /* FF3.6+ */
1813
+ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#494949), color-stop(100%,#242424)); /* Chrome,Safari4+ */
1814
+ background: -webkit-linear-gradient(top, #494949 0%,#242424 100%); /* Chrome10+,Safari5.1+ */
1815
+ background: -o-linear-gradient(top, #494949 0%,#242424 100%); /* Opera 11.10+ */
1816
+ background: -ms-linear-gradient(top, #494949 0%,#242424 100%); /* IE10+ */
1817
+ background: linear-gradient(to bottom, #494949 0%,#242424 100%); /* W3C */
1818
+ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#494949', endColorstr='#242424',GradientType=0 ); /* IE6-8 */
1819
+ }
1820
+ #menu #left-nav li.category {
1821
+ height: 42px;
1822
+ }
1823
+ ul.subcategory li a{
1824
+ color: #000!important;
1825
+ float: left;
1826
+ line-height: 42px;
1827
+ padding: 0 10px;
1828
+ }
1829
+
1830
+ #menu #left-nav li ul.subcategory{
1831
+ background: none repeat scroll 0 0 #E0E0E0!important;
1832
+ }
1833
+ #menu #left-nav li ul.subcategory li.active, #menu #left-nav li ul.subcategory li.openn, #menu #left-nav li ul.subcategory li.over{
1834
+ background:#efefef;
1835
+
1836
+ }
1837
+ #left-nav li.active, #left-nav li.openn {
1838
+ background-color: #FFFFFF;
1839
+ background-image: linear-gradient(#F7F7F7, #FFFFFF);
1840
+ background-repeat: repeat-x;
1841
+ }
1842
+ #left-nav li {
1843
+ position: relative;
1844
+ }
1845
+ #left-nav li.active, #left-nav li.openn, #left-nav li.over{
1846
+ background:url("../images/background/menu_active.gif") repeat-x scroll 0 0 #EFEFEF;
1847
+ color:#000!important;
1848
+ text-shadow:none!important;
1849
+ }
1850
+ #left-nav li a:hover{
1851
+ text-decoration:none;
1852
+ color:#000;
1853
+ text-shadow:none;
1854
+ }
1855
+ #left-nav li.active a, #left-nav li.openn a {
1856
+ color: #3E3E3E;
1857
+ text-shadow: 1px 1px 0 #FFFFFF;
1858
+ }
1859
+ #left-nav li a {
1860
+ color: #fff;
1861
+ float: left;
1862
+ line-height: 42px;
1863
+ padding: 0 10px;
1864
+ }
1865
+ #left-nav li span.arrow {
1866
+ position: absolute;
1867
+ right: 5px;
1868
+ text-align: center;
1869
+ top: 5px;
1870
+ width: 20px;
1871
+ }
1872
+ #left-nav li.openn span.arrow i, #left-nav li.active span.arrow i {}
1873
+ #left-nav li span.arrow i, #left-nav li.active.openn span.arrow i {
1874
+ background: url("../images/background/menu_bullet.png") no-repeat scroll 90% 50% transparent;
1875
+ display: block;
1876
+ height: 14px;
1877
+ margin: 4px auto;
1878
+ width: 13px;
1879
+ }
1880
+
1881
+ #left-nav ul li a, #left-nav ul li ul li a {
1882
+ padding-left: 25px;
1883
+ }
1884
+ #left-nav li li{
1885
+ background:#eoeoeo!important;
1886
+ }
1887
+ #left-nav ul ul a {
1888
+ padding-left: 40px !important;
1889
+ }
1890
+ .access .links li a{background: url("../images/icons/wishlist_ico.png") no-repeat scroll left center transparent;}
1891
+ /* ======================================================================================= */
skin/frontend/default/hellowired/css/widgets.css ADDED
@@ -0,0 +1,90 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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_modern
22
+ * @copyright Copyright (c) 2009 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
23
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
24
+ */
25
+
26
+ /* Widgets =============================================================================== */
27
+ .widget { display:inline; }
28
+ .widget .widget-title { clear:both; padding:15px 0 0; margin:0 0 7px; }
29
+ .widget .widget-title h2 { font-size:15px; font-weight:bold; color:#e25203; }
30
+
31
+ .widget .mini-products-images-list .product-image { display:block; width:76px; height:76px; border:1px solid #a9a9a9; margin:0 auto; }
32
+ .widget .mini-products-images-list li.item { float:left; width:77px; height:77px; border:0 !important; padding:5px 9px !important; }
33
+
34
+ /* Widget: Catalog New Proructs List */
35
+ .widget-new-products { display:block; }
36
+ .col-main .widget-new-products { margin:7px 0; }
37
+ .widget-new-products .products-grid .product-image,
38
+ .widget-new-products .products-list .product-image { width:85px; height:85px; }
39
+ .widget-new-products .products-list .product-shop { margin-left:100px; }
40
+
41
+ /* Widget: Recently Viewed Proructs */
42
+ .widget-viewed { display:block; }
43
+ .col-main .widget-viewed { margin:7px 0; }
44
+ .widget-viewed .products-grid .product-image,
45
+ .widget-viewed .products-list .product-image { width:85px; height:85px; }
46
+ .widget-viewed .products-list .product-shop { margin-left:100px; }
47
+
48
+ /* Widget: Recently Compared Proructs */
49
+ .widget-compared { display:block;}
50
+ .col-main .widget-compared { margin:7px 0; }
51
+ .widget-compared .products-grid .product-image,
52
+ .widget-compared .products-list .product-image { width:85px; height:85px; }
53
+ .widget-compared .products-list .product-shop { margin-left:100px; }
54
+
55
+ /* Widget: CMS Static Block */
56
+ .widget-static-block {}
57
+ .sidebar .widget-static-block { display:block; margin:0 0 15px; }
58
+
59
+ /* Widgets: Links Common Styles */
60
+ .top-container .widget a { padding:0 0 0 7px; }
61
+
62
+ .bottom-container .widget a { padding:0 3px; }
63
+
64
+ /* Widget: Catalog Product Link */
65
+ .widget-product-link-inline { display:inline; }
66
+
67
+ .col-main .widget-product-link { display:block; font-size:12px; text-align:right; margin:7px 0; }
68
+ .col-main .widget-product-link a { background:url(../images/widgets/i_widget-link.gif) 100% 3px no-repeat; padding-right:15px; }
69
+
70
+ .sidebar .widget-product-link { display:block; margin:0 0 15px; padding:0 10px; }
71
+ .sidebar .widget-product-link a { background:url(../images/widgets/i_widget-link.gif) 100% 3px no-repeat; padding:0 15px 0 0; }
72
+
73
+ /* Widget: Catalog Category Link */
74
+ .widget-category-link-inline { display:inline; }
75
+
76
+ .col-main .widget-category-link { display:block; font-size:12px; text-align:right; margin:7px 0; }
77
+ .col-main .widget-category-link a { background:url(../images/widgets/i_widget-link.gif) 100% 3px no-repeat; padding-right:15px; }
78
+
79
+ .sidebar .widget-category-link { display:block; margin:0 0 15px; padding:0 10px; }
80
+ .sidebar .widget-category-link a { background:url(../images/widgets/i_widget-link.gif) 100% 3px no-repeat; padding:0 15px 0 0; }
81
+
82
+ /* Widget: CMS Page Link */
83
+ .widget-cms-link-inline { display:inline; }
84
+
85
+ .col-main .widget-cms-link { display:block; font-size:12px; text-align:right; margin:7px 0; }
86
+ .col-main .widget-cms-link a { background:url(../images/widgets/i_widget-link.gif) 100% 3px no-repeat; padding-right:15px; }
87
+
88
+ .sidebar .widget-cms-link { display:block; margin:0 0 15px; padding:0 10px; }
89
+ .sidebar .widget-cms-link a { background:url(../images/widgets/i_widget-link.gif) 100% 3px no-repeat; padding:0 15px 0 0; }
90
+ /* ======================================================================================= */
skin/frontend/default/hellowired/favicon.ico ADDED
Binary file
skin/frontend/default/hellowired/images/Thumbs.db ADDED
Binary file
skin/frontend/default/hellowired/images/background/Thumbs.db ADDED
Binary file
skin/frontend/default/hellowired/images/background/Untitled-1.png ADDED
Binary file
skin/frontend/default/hellowired/images/background/bg.gif ADDED
Binary file
skin/frontend/default/hellowired/images/background/bg.jpg ADDED
Binary file
skin/frontend/default/hellowired/images/background/block_bg.gif ADDED
Binary file
skin/frontend/default/hellowired/images/background/block_bg_bottom.gif ADDED
Binary file
skin/frontend/default/hellowired/images/background/block_bg_repeat.gif ADDED
Binary file
skin/frontend/default/hellowired/images/background/block_title_alt.gif ADDED
Binary file
skin/frontend/default/hellowired/images/background/divider_top.gif ADDED
Binary file
skin/frontend/default/hellowired/images/background/featured_product_bg.gif ADDED
Binary file
skin/frontend/default/hellowired/images/background/footer_bg.jpg ADDED
Binary file
skin/frontend/default/hellowired/images/background/main_bg.jpg ADDED
Binary file
skin/frontend/default/hellowired/images/background/menu_active.gif ADDED
Binary file
skin/frontend/default/hellowired/images/background/menu_bg.gif ADDED
Binary file
skin/frontend/default/hellowired/images/background/menu_bg1.gif ADDED
Binary file
skin/frontend/default/hellowired/images/background/menu_bg2 (2).gif ADDED
Binary file
skin/frontend/default/hellowired/images/background/menu_bg2.gif ADDED
Binary file
skin/frontend/default/hellowired/images/background/menu_bullet.jpg ADDED
Binary file
skin/frontend/default/hellowired/images/background/menu_bullet.png ADDED
Binary file
skin/frontend/default/hellowired/images/background/menu_bullet_active.png ADDED
Binary file
skin/frontend/default/hellowired/images/background/menu_bullet_ie6.gif ADDED
Binary file
skin/frontend/default/hellowired/images/background/menu_bullet_ie6_active.gif ADDED
Binary file
skin/frontend/default/hellowired/images/background/menu_hover.gif ADDED
Binary file
skin/frontend/default/hellowired/images/background/menu_item.gif ADDED
Binary file
skin/frontend/default/hellowired/images/background/old/Thumbs.db ADDED
Binary file
skin/frontend/default/hellowired/images/background/old/block_bg.gif ADDED
Binary file
skin/frontend/default/hellowired/images/background/old/block_bg_bottom.gif ADDED
Binary file
skin/frontend/default/hellowired/images/background/old/block_bg_repeat.gif ADDED
Binary file
skin/frontend/default/hellowired/images/background/repeat_bg.jpg ADDED
Binary file
skin/frontend/default/hellowired/images/background/search_bg.png ADDED
Binary file
skin/frontend/default/hellowired/images/background/slider_wrapper.png ADDED
Binary file
skin/frontend/default/hellowired/images/background/subscribe_bg.png ADDED
Binary file
skin/frontend/default/hellowired/images/background/wrapper_bg.png ADDED
Binary file
skin/frontend/default/hellowired/images/bkg_add-to.gif ADDED
Binary file
skin/frontend/default/hellowired/images/bkg_block-layered-title.gif ADDED
Binary file
skin/frontend/default/hellowired/images/bkg_body.gif ADDED
Binary file
skin/frontend/default/hellowired/images/bkg_btn-green.gif ADDED
Binary file
skin/frontend/default/hellowired/images/bkg_btn-small.gif ADDED
Binary file
skin/frontend/default/hellowired/images/bkg_btn-small.png ADDED
Binary file
skin/frontend/default/hellowired/images/bkg_btn.gif ADDED
Binary file
skin/frontend/default/hellowired/images/bkg_btn.png ADDED
Binary file
skin/frontend/default/hellowired/images/bkg_btn1.png ADDED
Binary file
skin/frontend/default/hellowired/images/bkg_cart-totals.gif ADDED
Binary file
skin/frontend/default/hellowired/images/bkg_collapse-gm.gif ADDED
Binary file
skin/frontend/default/hellowired/images/bkg_collapse.gif ADDED
Binary file
skin/frontend/default/hellowired/images/bkg_grid.gif ADDED
Binary file
skin/frontend/default/hellowired/images/bkg_nav_parent.gif ADDED
Binary file
skin/frontend/default/hellowired/images/bkg_nav_top.gif ADDED
Binary file
skin/frontend/default/hellowired/images/bkg_pipe1.gif ADDED
Binary file
skin/frontend/default/hellowired/images/bkg_pipe2.gif ADDED
Binary file
skin/frontend/default/hellowired/images/bkg_pipe3.gif ADDED
Binary file
skin/frontend/default/hellowired/images/bkg_rating.gif ADDED
Binary file
skin/frontend/default/hellowired/images/bkg_subtotal.gif ADDED
Binary file
skin/frontend/default/hellowired/images/bkg_tabs.gif ADDED
Binary file
skin/frontend/default/hellowired/images/bkg_toolbar.gif ADDED
Binary file
skin/frontend/default/hellowired/images/bkg_top-promo.gif ADDED
Binary file
skin/frontend/default/hellowired/images/btn_checkout.gif ADDED
Binary file
skin/frontend/default/hellowired/images/btn_remove.gif ADDED
Binary file
skin/frontend/default/hellowired/images/btn_trash.gif ADDED
Binary file
skin/frontend/default/hellowired/images/btn_window_close.gif ADDED
Binary file
skin/frontend/default/hellowired/images/buttons/Thumbs.db ADDED
Binary file
skin/frontend/default/hellowired/images/buttons/next-horizontal.png ADDED
Binary file
skin/frontend/default/hellowired/images/buttons/prev-horizontal.png ADDED
Binary file
skin/frontend/default/hellowired/images/buttons/subscribe_btn.gif ADDED
Binary file
skin/frontend/default/hellowired/images/calendar.gif ADDED
Binary file
skin/frontend/default/hellowired/images/catalog/product/placeholder/image.jpg ADDED
Binary file
skin/frontend/default/hellowired/images/catalog/product/placeholder/small_image.jpg ADDED
Binary file
skin/frontend/default/hellowired/images/catalog/product/placeholder/thumbnail.jpg ADDED
Binary file
skin/frontend/default/hellowired/images/creditcards.gif ADDED
Binary file
skin/frontend/default/hellowired/images/cvv.gif ADDED
Binary file
skin/frontend/default/hellowired/images/fam_book_open.png ADDED
Binary file
skin/frontend/default/hellowired/images/fancybox/Thumbs.db ADDED
Binary file
skin/frontend/default/hellowired/images/fancybox/fancy_closebox.png ADDED
Binary file
skin/frontend/default/hellowired/images/fancybox/fancy_left.png ADDED
Binary file
skin/frontend/default/hellowired/images/fancybox/fancy_progress.png ADDED
Binary file
skin/frontend/default/hellowired/images/fancybox/fancy_right.png ADDED
Binary file
skin/frontend/default/hellowired/images/fancybox/fancy_shadow_e.png ADDED
Binary file
skin/frontend/default/hellowired/images/fancybox/fancy_shadow_n.png ADDED
Binary file
skin/frontend/default/hellowired/images/fancybox/fancy_shadow_ne.png ADDED
Binary file
skin/frontend/default/hellowired/images/fancybox/fancy_shadow_nw.png ADDED
Binary file
skin/frontend/default/hellowired/images/fancybox/fancy_shadow_s.png ADDED
Binary file
skin/frontend/default/hellowired/images/fancybox/fancy_shadow_se.png ADDED
Binary file
skin/frontend/default/hellowired/images/fancybox/fancy_shadow_sw.png ADDED
Binary file
skin/frontend/default/hellowired/images/fancybox/fancy_shadow_w.png ADDED
Binary file
skin/frontend/default/hellowired/images/fancybox/fancy_title_left.png ADDED
Binary file
skin/frontend/default/hellowired/images/fancybox/fancy_title_main.png ADDED
Binary file
skin/frontend/default/hellowired/images/fancybox/fancy_title_right.png ADDED
Binary file
skin/frontend/default/hellowired/images/fancybox/loading.gif ADDED
Binary file
skin/frontend/default/hellowired/images/fancybox/tl.png ADDED
Binary file
skin/frontend/default/hellowired/images/fancybox/tr.png ADDED
Binary file
skin/frontend/default/hellowired/images/flags/English.png ADDED
Binary file
skin/frontend/default/hellowired/images/flags/French.png ADDED
Binary file
skin/frontend/default/hellowired/images/flags/German.png ADDED
Binary file
skin/frontend/default/hellowired/images/flags/Thumbs.db ADDED
Binary file
skin/frontend/default/hellowired/images/grid-cal.gif ADDED
Binary file
skin/frontend/default/hellowired/images/i_asc_arrow.gif ADDED
Binary file
skin/frontend/default/hellowired/images/icons/Thumbs.db ADDED
Binary file
skin/frontend/default/hellowired/images/icons/account_ico.png ADDED
Binary file
skin/frontend/default/hellowired/images/icons/cart_ico.png ADDED
Binary file
skin/frontend/default/hellowired/images/icons/checkout_ico.png ADDED
Binary file
skin/frontend/default/hellowired/images/icons/login_ico.png ADDED
Binary file
skin/frontend/default/hellowired/images/icons/search_ico.gif ADDED
Binary file
skin/frontend/default/hellowired/images/icons/wishlist_ico.png ADDED
Binary file
skin/frontend/default/hellowired/images/logo.gif ADDED
Binary file
skin/frontend/default/hellowired/images/logo.png ADDED
Binary file
skin/frontend/default/hellowired/images/logo_email.gif ADDED
Binary file
skin/frontend/default/hellowired/images/logo_print.gif ADDED
Binary file
skin/frontend/default/hellowired/images/magnifier_handle.gif ADDED
Binary file
skin/frontend/default/hellowired/images/media/Thumbs.db ADDED
Binary file
skin/frontend/default/hellowired/images/media/callout1.jpg ADDED
Binary file
skin/frontend/default/hellowired/images/media/footer_callout.png ADDED
Binary file
skin/frontend/default/hellowired/images/media/fpo_no_crosssell.gif ADDED
Binary file
skin/frontend/default/hellowired/images/media/hellothemes.png ADDED
Binary file
skin/frontend/default/hellowired/images/media/home_co_bottom.gif ADDED
Binary file
skin/frontend/default/hellowired/images/media/home_co_br.gif ADDED
Binary file
skin/frontend/default/hellowired/images/media/home_co_main.jpg ADDED
Binary file
skin/frontend/default/hellowired/images/media/home_co_tr.gif ADDED
Binary file
skin/frontend/default/hellowired/images/media/left_col_callout.jpg ADDED
Binary file
skin/frontend/default/hellowired/images/media/promo1.jpg ADDED
Binary file
skin/frontend/default/hellowired/images/media/promo2.jpg ADDED
Binary file
skin/frontend/default/hellowired/images/media/promo3.jpg ADDED
Binary file
skin/frontend/default/hellowired/images/media/promo4.jpg ADDED
Binary file
skin/frontend/default/hellowired/images/media/promo5.jpg ADDED
Binary file
skin/frontend/default/hellowired/images/media/promo6.jpg ADDED
Binary file
skin/frontend/default/hellowired/images/media/promo7.jpg ADDED
Binary file
skin/frontend/default/hellowired/images/mobilemenu.gif ADDED
Binary file
skin/frontend/default/hellowired/images/slider_bg.gif ADDED
Binary file
skin/frontend/default/hellowired/images/social/Thumbs.db ADDED
Binary file
skin/frontend/default/hellowired/images/social/facebook_ico.png ADDED
Binary file
skin/frontend/default/hellowired/images/social/twitter_ico.png ADDED
Binary file
skin/frontend/default/hellowired/images/social/youtube_ico.png ADDED
Binary file
skin/frontend/default/hellowired/images/widgets/Thumbs.db ADDED
Binary file
skin/frontend/default/hellowired/images/widgets/i_widget-link.gif ADDED
Binary file
skin/frontend/default/hellowired/js/_imgpreview.js ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Url preview script
3
+ * powered by jQuery (http://www.jquery.com)
4
+ *
5
+ * written by Alen Grakalic (http://cssglobe.com)
6
+ *
7
+ * for more info visit http://cssglobe.com/post/1695/easiest-tooltip-and-image-preview-using-jquery
8
+ *
9
+ */
10
+
11
+ this.screenshotPreview = function(){
12
+ /* CONFIG */
13
+
14
+ xOffset = 40;
15
+ yOffset = 30;
16
+
17
+ // these 2 variable determine popup's distance from the cursor
18
+ // you might want to adjust to get the right result
19
+
20
+ /* END CONFIG */
21
+ jQuery("a.preview").hover(function(e){
22
+ this.t = this.title;
23
+ this.title = "";
24
+ var c = (this.t != "") ? "<br/>" + this.t : "";
25
+ jQuery("body").append("<div id='preview'><img src='"+ this.rel +"' alt='Loading' />"+ c +"</div>");
26
+ jQuery("#preview")
27
+ .css("top",(e.pageY - xOffset) + "px")
28
+ .css("left",(e.pageX + yOffset) + "px")
29
+ .fadeIn("slow");
30
+ },
31
+ function(){
32
+ this.title = this.t;
33
+ jQuery("#preview").remove();
34
+ });
35
+ jQuery("a.preview").mousemove(function(e){
36
+ jQuery("#preview")
37
+ .css("top",(e.pageY - xOffset) + "px")
38
+ .css("left",(e.pageX + yOffset) + "px");
39
+ });
40
+ };
41
+
42
+
43
+ // starting the script on page load
44
+ jQuery(document).ready(function(){
45
+ screenshotPreview();
46
+ });
skin/frontend/default/hellowired/js/cufon-yui.js ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright (c) 2009 Simo Kinnunen.
3
+ * Licensed under the MIT license.
4
+ *
5
+ * @version 1.09i
6
+ */
7
+ var Cufon=(function(){var m=function(){return m.replace.apply(null,arguments)};var x=m.DOM={ready:(function(){var C=false,E={loaded:1,complete:1};var B=[],D=function(){if(C){return}C=true;for(var F;F=B.shift();F()){}};if(document.addEventListener){document.addEventListener("DOMContentLoaded",D,false);window.addEventListener("pageshow",D,false)}if(!window.opera&&document.readyState){(function(){E[document.readyState]?D():setTimeout(arguments.callee,10)})()}if(document.readyState&&document.createStyleSheet){(function(){try{document.body.doScroll("left");D()}catch(F){setTimeout(arguments.callee,1)}})()}q(window,"load",D);return function(F){if(!arguments.length){D()}else{C?F():B.push(F)}}})(),root:function(){return document.documentElement||document.body}};var n=m.CSS={Size:function(C,B){this.value=parseFloat(C);this.unit=String(C).match(/[a-z%]*$/)[0]||"px";this.convert=function(D){return D/B*this.value};this.convertFrom=function(D){return D/this.value*B};this.toString=function(){return this.value+this.unit}},addClass:function(C,B){var D=C.className;C.className=D+(D&&" ")+B;return C},color:j(function(C){var B={};B.color=C.replace(/^rgba\((.*?),\s*([\d.]+)\)/,function(E,D,F){B.opacity=parseFloat(F);return"rgb("+D+")"});return B}),fontStretch:j(function(B){if(typeof B=="number"){return B}if(/%$/.test(B)){return parseFloat(B)/100}return{"ultra-condensed":0.5,"extra-condensed":0.625,condensed:0.75,"semi-condensed":0.875,"semi-expanded":1.125,expanded:1.25,"extra-expanded":1.5,"ultra-expanded":2}[B]||1}),getStyle:function(C){var B=document.defaultView;if(B&&B.getComputedStyle){return new a(B.getComputedStyle(C,null))}if(C.currentStyle){return new a(C.currentStyle)}return new a(C.style)},gradient:j(function(F){var G={id:F,type:F.match(/^-([a-z]+)-gradient\(/)[1],stops:[]},C=F.substr(F.indexOf("(")).match(/([\d.]+=)?(#[a-f0-9]+|[a-z]+\(.*?\)|[a-z]+)/ig);for(var E=0,B=C.length,D;E<B;++E){D=C[E].split("=",2).reverse();G.stops.push([D[1]||E/(B-1),D[0]])}return G}),quotedList:j(function(E){var D=[],C=/\s*((["'])([\s\S]*?[^\\])\2|[^,]+)\s*/g,B;while(B=C.exec(E)){D.push(B[3]||B[1])}return D}),recognizesMedia:j(function(G){var E=document.createElement("style"),D,C,B;E.type="text/css";E.media=G;try{E.appendChild(document.createTextNode("/**/"))}catch(F){}C=g("head")[0];C.insertBefore(E,C.firstChild);D=(E.sheet||E.styleSheet);B=D&&!D.disabled;C.removeChild(E);return B}),removeClass:function(D,C){var B=RegExp("(?:^|\\s+)"+C+"(?=\\s|$)","g");D.className=D.className.replace(B,"");return D},supports:function(D,C){var B=document.createElement("span").style;if(B[D]===undefined){return false}B[D]=C;return B[D]===C},textAlign:function(E,D,B,C){if(D.get("textAlign")=="right"){if(B>0){E=" "+E}}else{if(B<C-1){E+=" "}}return E},textShadow:j(function(F){if(F=="none"){return null}var E=[],G={},B,C=0;var D=/(#[a-f0-9]+|[a-z]+\(.*?\)|[a-z]+)|(-?[\d.]+[a-z%]*)|,/ig;while(B=D.exec(F)){if(B[0]==","){E.push(G);G={};C=0}else{if(B[1]){G.color=B[1]}else{G[["offX","offY","blur"][C++]]=B[2]}}}E.push(G);return E}),textTransform:(function(){var B={uppercase:function(C){return C.toUpperCase()},lowercase:function(C){return C.toLowerCase()},capitalize:function(C){return C.replace(/\b./g,function(D){return D.toUpperCase()})}};return function(E,D){var C=B[D.get("textTransform")];return C?C(E):E}})(),whiteSpace:(function(){var D={inline:1,"inline-block":1,"run-in":1};var C=/^\s+/,B=/\s+$/;return function(H,F,G,E){if(E){if(E.nodeName.toLowerCase()=="br"){H=H.replace(C,"")}}if(D[F.get("display")]){return H}if(!G.previousSibling){H=H.replace(C,"")}if(!G.nextSibling){H=H.replace(B,"")}return H}})()};n.ready=(function(){var B=!n.recognizesMedia("all"),E=false;var D=[],H=function(){B=true;for(var K;K=D.shift();K()){}};var I=g("link"),J=g("style");function C(K){return K.disabled||G(K.sheet,K.media||"screen")}function G(M,P){if(!n.recognizesMedia(P||"all")){return true}if(!M||M.disabled){return false}try{var Q=M.cssRules,O;if(Q){search:for(var L=0,K=Q.length;O=Q[L],L<K;++L){switch(O.type){case 2:break;case 3:if(!G(O.styleSheet,O.media.mediaText)){return false}break;default:break search}}}}catch(N){}return true}function F(){if(document.createStyleSheet){return true}var L,K;for(K=0;L=I[K];++K){if(L.rel.toLowerCase()=="stylesheet"&&!C(L)){return false}}for(K=0;L=J[K];++K){if(!C(L)){return false}}return true}x.ready(function(){if(!E){E=n.getStyle(document.body).isUsable()}if(B||(E&&F())){H()}else{setTimeout(arguments.callee,10)}});return function(K){if(B){K()}else{D.push(K)}}})();function s(D){var C=this.face=D.face,B={"\u0020":1,"\u00a0":1,"\u3000":1};this.glyphs=D.glyphs;this.w=D.w;this.baseSize=parseInt(C["units-per-em"],10);this.family=C["font-family"].toLowerCase();this.weight=C["font-weight"];this.style=C["font-style"]||"normal";this.viewBox=(function(){var F=C.bbox.split(/\s+/);var E={minX:parseInt(F[0],10),minY:parseInt(F[1],10),maxX:parseInt(F[2],10),maxY:parseInt(F[3],10)};E.width=E.maxX-E.minX;E.height=E.maxY-E.minY;E.toString=function(){return[this.minX,this.minY,this.width,this.height].join(" ")};return E})();this.ascent=-parseInt(C.ascent,10);this.descent=-parseInt(C.descent,10);this.height=-this.ascent+this.descent;this.spacing=function(L,N,E){var O=this.glyphs,M,K,G,P=[],F=0,J=-1,I=-1,H;while(H=L[++J]){M=O[H]||this.missingGlyph;if(!M){continue}if(K){F-=G=K[H]||0;P[I]-=G}F+=P[++I]=~~(M.w||this.w)+N+(B[H]?E:0);K=M.k}P.total=F;return P}}function f(){var C={},B={oblique:"italic",italic:"oblique"};this.add=function(D){(C[D.style]||(C[D.style]={}))[D.weight]=D};this.get=function(H,I){var G=C[H]||C[B[H]]||C.normal||C.italic||C.oblique;if(!G){return null}I={normal:400,bold:700}[I]||parseInt(I,10);if(G[I]){return G[I]}var E={1:1,99:0}[I%100],K=[],F,D;if(E===undefined){E=I>400}if(I==500){I=400}for(var J in G){if(!k(G,J)){continue}J=parseInt(J,10);if(!F||J<F){F=J}if(!D||J>D){D=J}K.push(J)}if(I<F){I=F}if(I>D){I=D}K.sort(function(M,L){return(E?(M>=I&&L>=I)?M<L:M>L:(M<=I&&L<=I)?M>L:M<L)?-1:1});return G[K[0]]}}function r(){function D(F,G){if(F.contains){return F.contains(G)}return F.compareDocumentPosition(G)&16}function B(G){var F=G.relatedTarget;if(!F||D(this,F)){return}C(this,G.type=="mouseover")}function E(F){C(this,F.type=="mouseenter")}function C(F,G){setTimeout(function(){var H=d.get(F).options;m.replace(F,G?h(H,H.hover):H,true)},10)}this.attach=function(F){if(F.onmouseenter===undefined){q(F,"mouseover",B);q(F,"mouseout",B)}else{q(F,"mouseenter",E);q(F,"mouseleave",E)}}}function u(){var C=[],D={};function B(H){var E=[],G;for(var F=0;G=H[F];++F){E[F]=C[D[G]]}return E}this.add=function(F,E){D[F]=C.push(E)-1};this.repeat=function(){var E=arguments.length?B(arguments):C,F;for(var G=0;F=E[G++];){m.replace(F[0],F[1],true)}}}function A(){var D={},B=0;function C(E){return E.cufid||(E.cufid=++B)}this.get=function(E){var F=C(E);return D[F]||(D[F]={})}}function a(B){var D={},C={};this.extend=function(E){for(var F in E){if(k(E,F)){D[F]=E[F]}}return this};this.get=function(E){return D[E]!=undefined?D[E]:B[E]};this.getSize=function(F,E){return C[F]||(C[F]=new n.Size(this.get(F),E))};this.isUsable=function(){return !!B}}function q(C,B,D){if(C.addEventListener){C.addEventListener(B,D,false)}else{if(C.attachEvent){C.attachEvent("on"+B,function(){return D.call(C,window.event)})}}}function v(C,B){var D=d.get(C);if(D.options){return C}if(B.hover&&B.hoverables[C.nodeName.toLowerCase()]){b.attach(C)}D.options=B;return C}function j(B){var C={};return function(D){if(!k(C,D)){C[D]=B.apply(null,arguments)}return C[D]}}function c(F,E){var B=n.quotedList(E.get("fontFamily").toLowerCase()),D;for(var C=0;D=B[C];++C){if(i[D]){return i[D].get(E.get("fontStyle"),E.get("fontWeight"))}}return null}function g(B){return document.getElementsByTagName(B)}function k(C,B){return C.hasOwnProperty(B)}function h(){var C={},B,F;for(var E=0,D=arguments.length;B=arguments[E],E<D;++E){for(F in B){if(k(B,F)){C[F]=B[F]}}}return C}function o(E,M,C,N,F,D){var K=document.createDocumentFragment(),H;if(M===""){return K}var L=N.separate;var I=M.split(p[L]),B=(L=="words");if(B&&t){if(/^\s/.test(M)){I.unshift("")}if(/\s$/.test(M)){I.push("")}}for(var J=0,G=I.length;J<G;++J){H=z[N.engine](E,B?n.textAlign(I[J],C,J,G):I[J],C,N,F,D,J<G-1);if(H){K.appendChild(H)}}return K}function l(D,M){var C=D.nodeName.toLowerCase();if(M.ignore[C]){return}var E=!M.textless[C];var B=n.getStyle(v(D,M)).extend(M);var F=c(D,B),G,K,I,H,L,J;if(!F){return}for(G=D.firstChild;G;G=I){K=G.nodeType;I=G.nextSibling;if(E&&K==3){if(H){H.appendData(G.data);D.removeChild(G)}else{H=G}if(I){continue}}if(H){D.replaceChild(o(F,n.whiteSpace(H.data,B,H,J),B,M,G,D),H);H=null}if(K==1){if(G.firstChild){if(G.nodeName.toLowerCase()=="cufon"){z[M.engine](F,null,B,M,G,D)}else{arguments.callee(G,M)}}J=G}}}var t=" ".split(/\s+/).length==0;var d=new A();var b=new r();var y=new u();var e=false;var z={},i={},w={autoDetect:false,engine:null,forceHitArea:false,hover:false,hoverables:{a:true},ignore:{applet:1,canvas:1,col:1,colgroup:1,head:1,iframe:1,map:1,optgroup:1,option:1,script:1,select:1,style:1,textarea:1,title:1,pre:1},printable:true,selector:(window.Sizzle||(window.jQuery&&function(B){return jQuery(B)})||(window.dojo&&dojo.query)||(window.Ext&&Ext.query)||(window.YAHOO&&YAHOO.util&&YAHOO.util.Selector&&YAHOO.util.Selector.query)||(window.$$&&function(B){return $$(B)})||(window.$&&function(B){return $(B)})||(document.querySelectorAll&&function(B){return document.querySelectorAll(B)})||g),separate:"words",textless:{dl:1,html:1,ol:1,table:1,tbody:1,thead:1,tfoot:1,tr:1,ul:1},textShadow:"none"};var p={words:/\s/.test("\u00a0")?/[^\S\u00a0]+/:/\s+/,characters:"",none:/^/};m.now=function(){x.ready();return m};m.refresh=function(){y.repeat.apply(y,arguments);return m};m.registerEngine=function(C,B){if(!B){return m}z[C]=B;return m.set("engine",C)};m.registerFont=function(D){if(!D){return m}var B=new s(D),C=B.family;if(!i[C]){i[C]=new f()}i[C].add(B);return m.set("fontFamily",'"'+C+'"')};m.replace=function(D,C,B){C=h(w,C);if(!C.engine){return m}if(!e){n.addClass(x.root(),"cufon-active cufon-loading");n.ready(function(){n.addClass(n.removeClass(x.root(),"cufon-loading"),"cufon-ready")});e=true}if(C.hover){C.forceHitArea=true}if(C.autoDetect){delete C.fontFamily}if(typeof C.textShadow=="string"){C.textShadow=n.textShadow(C.textShadow)}if(typeof C.color=="string"&&/^-/.test(C.color)){C.textGradient=n.gradient(C.color)}else{delete C.textGradient}if(!B){y.add(D,arguments)}if(D.nodeType||typeof D=="string"){D=[D]}n.ready(function(){for(var F=0,E=D.length;F<E;++F){var G=D[F];if(typeof G=="string"){m.replace(C.selector(G),C,true)}else{l(G,C)}}});return m};m.set=function(B,C){w[B]=C;return m};return m})();Cufon.registerEngine("vml",(function(){var e=document.namespaces;if(!e){return}e.add("cvml","urn:schemas-microsoft-com:vml");e=null;var b=document.createElement("cvml:shape");b.style.behavior="url(#default#VML)";if(!b.coordsize){return}b=null;var h=(document.documentMode||0)<8;document.write(('<style type="text/css">cufoncanvas{text-indent:0;}@media screen{cvml\\:shape,cvml\\:rect,cvml\\:fill,cvml\\:shadow{behavior:url(#default#VML);display:block;antialias:true;position:absolute;}cufoncanvas{position:absolute;text-align:left;}cufon{display:inline-block;position:relative;vertical-align:'+(h?"middle":"text-bottom")+";}cufon cufontext{position:absolute;left:-10000in;font-size:1px;}a cufon{cursor:pointer}}@media print{cufon cufoncanvas{display:none;}}</style>").replace(/;/g,"!important;"));function c(i,j){return a(i,/(?:em|ex|%)$|^[a-z-]+$/i.test(j)?"1em":j)}function a(l,m){if(m==="0"){return 0}if(/px$/i.test(m)){return parseFloat(m)}var k=l.style.left,j=l.runtimeStyle.left;l.runtimeStyle.left=l.currentStyle.left;l.style.left=m.replace("%","em");var i=l.style.pixelLeft;l.style.left=k;l.runtimeStyle.left=j;return i}function f(l,k,j,n){var i="computed"+n,m=k[i];if(isNaN(m)){m=k.get(n);k[i]=m=(m=="normal")?0:~~j.convertFrom(a(l,m))}return m}var g={};function d(p){var q=p.id;if(!g[q]){var n=p.stops,o=document.createElement("cvml:fill"),i=[];o.type="gradient";o.angle=180;o.focus="0";o.method="sigma";o.color=n[0][1];for(var m=1,l=n.length-1;m<l;++m){i.push(n[m][0]*100+"% "+n[m][1])}o.colors=i.join(",");o.color2=n[l][1];g[q]=o}return g[q]}return function(ac,G,Y,C,K,ad,W){var n=(G===null);if(n){G=K.alt}var I=ac.viewBox;var p=Y.computedFontSize||(Y.computedFontSize=new Cufon.CSS.Size(c(ad,Y.get("fontSize"))+"px",ac.baseSize));var y,q;if(n){y=K;q=K.firstChild}else{y=document.createElement("cufon");y.className="cufon cufon-vml";y.alt=G;q=document.createElement("cufoncanvas");y.appendChild(q);if(C.printable){var Z=document.createElement("cufontext");Z.appendChild(document.createTextNode(G));y.appendChild(Z)}if(!W){y.appendChild(document.createElement("cvml:shape"))}}var ai=y.style;var R=q.style;var l=p.convert(I.height),af=Math.ceil(l);var V=af/l;var P=V*Cufon.CSS.fontStretch(Y.get("fontStretch"));var U=I.minX,T=I.minY;R.height=af;R.top=Math.round(p.convert(T-ac.ascent));R.left=Math.round(p.convert(U));ai.height=p.convert(ac.height)+"px";var F=Y.get("color");var ag=Cufon.CSS.textTransform(G,Y).split("");var L=ac.spacing(ag,f(ad,Y,p,"letterSpacing"),f(ad,Y,p,"wordSpacing"));if(!L.length){return null}var k=L.total;var x=-U+k+(I.width-L[L.length-1]);var ah=p.convert(x*P),X=Math.round(ah);var O=x+","+I.height,m;var J="r"+O+"ns";var u=C.textGradient&&d(C.textGradient);var o=ac.glyphs,S=0;var H=C.textShadow;var ab=-1,aa=0,w;while(w=ag[++ab]){var D=o[ag[ab]]||ac.missingGlyph,v;if(!D){continue}if(n){v=q.childNodes[aa];while(v.firstChild){v.removeChild(v.firstChild)}}else{v=document.createElement("cvml:shape");q.appendChild(v)}v.stroked="f";v.coordsize=O;v.coordorigin=m=(U-S)+","+T;v.path=(D.d?"m"+D.d+"xe":"")+"m"+m+J;v.fillcolor=F;if(u){v.appendChild(u.cloneNode(false))}var ae=v.style;ae.width=X;ae.height=af;if(H){var s=H[0],r=H[1];var B=Cufon.CSS.color(s.color),z;var N=document.createElement("cvml:shadow");N.on="t";N.color=B.color;N.offset=s.offX+","+s.offY;if(r){z=Cufon.CSS.color(r.color);N.type="double";N.color2=z.color;N.offset2=r.offX+","+r.offY}N.opacity=B.opacity||(z&&z.opacity)||1;v.appendChild(N)}S+=L[aa++]}var M=v.nextSibling,t,A;if(C.forceHitArea){if(!M){M=document.createElement("cvml:rect");M.stroked="f";M.className="cufon-vml-cover";t=document.createElement("cvml:fill");t.opacity=0;M.appendChild(t);q.appendChild(M)}A=M.style;A.width=X;A.height=af}else{if(M){q.removeChild(M)}}ai.width=Math.max(Math.ceil(p.convert(k*P)),0);if(h){var Q=Y.computedYAdjust;if(Q===undefined){var E=Y.get("lineHeight");if(E=="normal"){E="1em"}else{if(!isNaN(E)){E+="em"}}Y.computedYAdjust=Q=0.5*(a(ad,E)-parseFloat(ai.height))}if(Q){ai.marginTop=Math.ceil(Q)+"px";ai.marginBottom=Q+"px"}}return y}})());Cufon.registerEngine("canvas",(function(){var b=document.createElement("canvas");if(!b||!b.getContext||!b.getContext.apply){return}b=null;var a=Cufon.CSS.supports("display","inline-block");var e=!a&&(document.compatMode=="BackCompat"||/frameset|transitional/i.test(document.doctype.publicId));var f=document.createElement("style");f.type="text/css";f.appendChild(document.createTextNode(("cufon{text-indent:0;}@media screen,projection{cufon{display:inline;display:inline-block;position:relative;vertical-align:middle;"+(e?"":"font-size:1px;line-height:1px;")+"}cufon cufontext{display:-moz-inline-box;display:inline-block;width:0;height:0;overflow:hidden;text-indent:-10000in;}"+(a?"cufon canvas{position:relative;}":"cufon canvas{position:absolute;}")+"}@media print{cufon{padding:0;}cufon canvas{display:none;}}").replace(/;/g,"!important;")));document.getElementsByTagName("head")[0].appendChild(f);function d(p,h){var n=0,m=0;var g=[],o=/([mrvxe])([^a-z]*)/g,k;generate:for(var j=0;k=o.exec(p);++j){var l=k[2].split(",");switch(k[1]){case"v":g[j]={m:"bezierCurveTo",a:[n+~~l[0],m+~~l[1],n+~~l[2],m+~~l[3],n+=~~l[4],m+=~~l[5]]};break;case"r":g[j]={m:"lineTo",a:[n+=~~l[0],m+=~~l[1]]};break;case"m":g[j]={m:"moveTo",a:[n=~~l[0],m=~~l[1]]};break;case"x":g[j]={m:"closePath"};break;case"e":break generate}h[g[j].m].apply(h,g[j].a)}return g}function c(m,k){for(var j=0,h=m.length;j<h;++j){var g=m[j];k[g.m].apply(k,g.a)}}return function(V,w,P,t,C,W){var k=(w===null);if(k){w=C.getAttribute("alt")}var A=V.viewBox;var m=P.getSize("fontSize",V.baseSize);var B=0,O=0,N=0,u=0;var z=t.textShadow,L=[];if(z){for(var U=z.length;U--;){var F=z[U];var K=m.convertFrom(parseFloat(F.offX));var I=m.convertFrom(parseFloat(F.offY));L[U]=[K,I];if(I<B){B=I}if(K>O){O=K}if(I>N){N=I}if(K<u){u=K}}}var Z=Cufon.CSS.textTransform(w,P).split("");var E=V.spacing(Z,~~m.convertFrom(parseFloat(P.get("letterSpacing"))||0),~~m.convertFrom(parseFloat(P.get("wordSpacing"))||0));if(!E.length){return null}var h=E.total;O+=A.width-E[E.length-1];u+=A.minX;var s,n;if(k){s=C;n=C.firstChild}else{s=document.createElement("cufon");s.className="cufon cufon-canvas";s.setAttribute("alt",w);n=document.createElement("canvas");s.appendChild(n);if(t.printable){var S=document.createElement("cufontext");S.appendChild(document.createTextNode(w));s.appendChild(S)}}var aa=s.style;var H=n.style;var j=m.convert(A.height);var Y=Math.ceil(j);var M=Y/j;var G=M*Cufon.CSS.fontStretch(P.get("fontStretch"));var J=h*G;var Q=Math.ceil(m.convert(J+O-u));var o=Math.ceil(m.convert(A.height-B+N));n.width=Q;n.height=o;H.width=Q+"px";H.height=o+"px";B+=A.minY;H.top=Math.round(m.convert(B-V.ascent))+"px";H.left=Math.round(m.convert(u))+"px";var r=Math.max(Math.ceil(m.convert(J)),0)+"px";if(a){aa.width=r;aa.height=m.convert(V.height)+"px"}else{aa.paddingLeft=r;aa.paddingBottom=(m.convert(V.height)-1)+"px"}var X=n.getContext("2d"),D=j/A.height;X.scale(D,D*M);X.translate(-u,-B);X.save();function T(){var x=V.glyphs,ab,l=-1,g=-1,y;X.scale(G,1);while(y=Z[++l]){var ab=x[Z[l]]||V.missingGlyph;if(!ab){continue}if(ab.d){X.beginPath();if(ab.code){c(ab.code,X)}else{ab.code=d("m"+ab.d,X)}X.fill()}X.translate(E[++g],0)}X.restore()}if(z){for(var U=z.length;U--;){var F=z[U];X.save();X.fillStyle=F.color;X.translate.apply(X,L[U]);T()}}var q=t.textGradient;if(q){var v=q.stops,p=X.createLinearGradient(0,A.minY,0,A.maxY);for(var U=0,R=v.length;U<R;++U){p.addColorStop.apply(p,v[U])}X.fillStyle=p}else{X.fillStyle=P.get("color")}T();return s}})());
skin/frontend/default/hellowired/js/custom.js ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ var $jQ = jQuery.noConflict();
2
+
3
+ // Font Replacement
4
+ Cufon.replace('.category-title h1,.footer h4, .product-view .product-shop .product-name h1,.page-title h1, .page-title h2,.wired-home .subscribe strong', {
5
+ hover: true
6
+ });
7
+
8
+ $jQ(document).ready(function() {
9
+ // Featured Products
10
+
11
+ $jQ('#featured').jcarousel({
12
+ scroll: 1,
13
+ wrap: 'circular'
14
+ });
15
+ // FancyBox jQuery
16
+ $jQ("a.group").fancybox({ 'zoomSpeedIn': 300, 'zoomSpeedOut': 300, 'overlayShow': true });
17
+ // Slider Homepage
18
+ $jQ('#slider').cycle({
19
+ fx: 'fade',
20
+ speed: 2000,
21
+ timeout: 5000,
22
+ pager: '#controls',
23
+ slideExpr: '.panel'
24
+ });
25
+
26
+ //Vertical Navigation
27
+ $jQ(".category span").click(function() {
28
+ var open = this.getAttributeNode('lang').value;
29
+ $jQ(".subcategory_" + open).slideToggle('medium');
30
+ $jQ(".subcategory_" + open).parent().prev().toggleClass('openn');
31
+ });
32
+
33
+ $jQ("#left-nav li.category, #left-nav li.cate").mouseenter(function() {
34
+ $jQ(this).addClass('over');
35
+ }).mouseleave(function() {
36
+ $jQ(this).removeClass('over');
37
+ });
38
+
39
+ //Fix TopLink IMG
40
+ $jQ("ul.links li a[title='My Wishlist']").addClass('top-link-wishlist');
41
+ });
skin/frontend/default/hellowired/js/hello.jquery.js ADDED
@@ -0,0 +1,635 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright (c) 2009 Simo Kinnunen.
3
+ * Licensed under the MIT license.
4
+ *
5
+ * @version 1.09
6
+ */
7
+
8
+
9
+ (function($){$.fn.jcarousel=function(o){if(typeof o=='string'){var instance=$(this).data('jcarousel'),args=Array.prototype.slice.call(arguments,1);return instance[o].apply(instance,args);}else
10
+ return this.each(function(){$(this).data('jcarousel',new $jc(this,o));});};var defaults={vertical:false,start:1,offset:1,size:null,scroll:3,visible:null,animation:'normal',easing:'swing',auto:0,wrap:null,initCallback:null,reloadCallback:null,itemLoadCallback:null,itemFirstInCallback:null,itemFirstOutCallback:null,itemLastInCallback:null,itemLastOutCallback:null,itemVisibleInCallback:null,itemVisibleOutCallback:null,buttonNextHTML:'<div></div>',buttonPrevHTML:'<div></div>',buttonNextEvent:'click',buttonPrevEvent:'click',buttonNextCallback:null,buttonPrevCallback:null};$.jcarousel=function(e,o){this.options=$.extend({},defaults,o||{});this.locked=false;this.container=null;this.clip=null;this.list=null;this.buttonNext=null;this.buttonPrev=null;this.wh=!this.options.vertical?'width':'height';this.lt=!this.options.vertical?'left':'top';var skin='',split=e.className.split(' ');for(var i=0;i<split.length;i++){if(split[i].indexOf('jcarousel-skin')!=-1){$(e).removeClass(split[i]);skin=split[i];break;}}if(e.nodeName=='UL'||e.nodeName=='OL'){this.list=$(e);this.container=this.list.parent();if(this.container.hasClass('jcarousel-clip')){if(!this.container.parent().hasClass('jcarousel-container'))this.container=this.container.wrap('<div></div>');this.container=this.container.parent();}else if(!this.container.hasClass('jcarousel-container'))this.container=this.list.wrap('<div></div>').parent();}else{this.container=$(e);this.list=this.container.find('ul,ol').eq(0);}if(skin!=''&&this.container.parent()[0].className.indexOf('jcarousel-skin')==-1)this.container.wrap('<div class=" '+skin+'"></div>');this.clip=this.list.parent();if(!this.clip.length||!this.clip.hasClass('jcarousel-clip'))this.clip=this.list.wrap('<div></div>').parent();this.buttonNext=$('.jcarousel-next',this.container);if(this.buttonNext.size()==0&&this.options.buttonNextHTML!=null)this.buttonNext=this.clip.after(this.options.buttonNextHTML).next();this.buttonNext.addClass(this.className('jcarousel-next'));this.buttonPrev=$('.jcarousel-prev',this.container);if(this.buttonPrev.size()==0&&this.options.buttonPrevHTML!=null)this.buttonPrev=this.clip.after(this.options.buttonPrevHTML).next();this.buttonPrev.addClass(this.className('jcarousel-prev'));this.clip.addClass(this.className('jcarousel-clip')).css({overflow:'hidden',position:'relative'});this.list.addClass(this.className('jcarousel-list')).css({overflow:'hidden',position:'relative',top:0,left:0,margin:0,padding:0});this.container.addClass(this.className('jcarousel-container')).css({position:'relative'});var di=this.options.visible!=null?Math.ceil(this.clipping()/this.options.visible):null;var li=this.list.children('li');var self=this;if(li.size()>0){var wh=0,i=this.options.offset;li.each(function(){self.format(this,i++);wh+=self.dimension(this,di);});this.list.css(this.wh,wh+'px');if(!o||o.size===undefined)this.options.size=li.size();}this.container.css('display','block');this.buttonNext.css('display','block');this.buttonPrev.css('display','block');this.funcNext=function(){self.next();};this.funcPrev=function(){self.prev();};this.funcResize=function(){self.reload();};if(this.options.initCallback!=null)this.options.initCallback(this,'init');if($.browser.safari){this.buttons(false,false);$(window).bind('load.jcarousel',function(){self.setup();});}else
11
+ this.setup();};var $jc=$.jcarousel;$jc.fn=$jc.prototype={jcarousel:'0.2.4'};$jc.fn.extend=$jc.extend=$.extend;$jc.fn.extend({setup:function(){this.first=null;this.last=null;this.prevFirst=null;this.prevLast=null;this.animating=false;this.timer=null;this.tail=null;this.inTail=false;if(this.locked)return;this.list.css(this.lt,this.pos(this.options.offset)+'px');var p=this.pos(this.options.start);this.prevFirst=this.prevLast=null;this.animate(p,false);$(window).unbind('resize.jcarousel',this.funcResize).bind('resize.jcarousel',this.funcResize);},reset:function(){this.list.empty();this.list.css(this.lt,'0px');this.list.css(this.wh,'10px');if(this.options.initCallback!=null)this.options.initCallback(this,'reset');this.setup();},reload:function(){if(this.tail!=null&&this.inTail)this.list.css(this.lt,$jc.intval(this.list.css(this.lt))+this.tail);this.tail=null;this.inTail=false;if(this.options.reloadCallback!=null)this.options.reloadCallback(this);if(this.options.visible!=null){var self=this;var di=Math.ceil(this.clipping()/this.options.visible),wh=0,lt=0;$('li',this.list).each(function(i){wh+=self.dimension(this,di);if(i+1<self.first)lt=wh;});this.list.css(this.wh,wh+'px');this.list.css(this.lt,-lt+'px');}this.scroll(this.first,false);},lock:function(){this.locked=true;this.buttons();},unlock:function(){this.locked=false;this.buttons();},size:function(s){if(s!=undefined){this.options.size=s;if(!this.locked)this.buttons();}return this.options.size;},has:function(i,i2){if(i2==undefined||!i2)i2=i;if(this.options.size!==null&&i2>this.options.size)i2=this.options.size;for(var j=i;j<=i2;j++){var e=this.get(j);if(!e.length||e.hasClass('jcarousel-item-placeholder'))return false;}return true;},get:function(i){return $('.jcarousel-item-'+i,this.list);},add:function(i,s){var e=this.get(i),old=0,add=0;if(e.length==0){var c,e=this.create(i),j=$jc.intval(i);while(c=this.get(--j)){if(j<=0||c.length){j<=0?this.list.prepend(e):c.after(e);break;}}}else
12
+ old=this.dimension(e);e.removeClass(this.className('jcarousel-item-placeholder'));typeof s=='string'?e.html(s):e.empty().append(s);var di=this.options.visible!=null?Math.ceil(this.clipping()/this.options.visible):null;var wh=this.dimension(e,di)-old;if(i>0&&i<this.first)this.list.css(this.lt,$jc.intval(this.list.css(this.lt))-wh+'px');this.list.css(this.wh,$jc.intval(this.list.css(this.wh))+wh+'px');return e;},remove:function(i){var e=this.get(i);if(!e.length||(i>=this.first&&i<=this.last))return;var d=this.dimension(e);if(i<this.first)this.list.css(this.lt,$jc.intval(this.list.css(this.lt))+d+'px');e.remove();this.list.css(this.wh,$jc.intval(this.list.css(this.wh))-d+'px');},next:function(){this.stopAuto();if(this.tail!=null&&!this.inTail)this.scrollTail(false);else
13
+ this.scroll(((this.options.wrap=='both'||this.options.wrap=='last')&&this.options.size!=null&&this.last==this.options.size)?1:this.first+this.options.scroll);},prev:function(){this.stopAuto();if(this.tail!=null&&this.inTail)this.scrollTail(true);else
14
+ this.scroll(((this.options.wrap=='both'||this.options.wrap=='first')&&this.options.size!=null&&this.first==1)?this.options.size:this.first-this.options.scroll);},scrollTail:function(b){if(this.locked||this.animating||!this.tail)return;var pos=$jc.intval(this.list.css(this.lt));!b?pos-=this.tail:pos+=this.tail;this.inTail=!b;this.prevFirst=this.first;this.prevLast=this.last;this.animate(pos);},scroll:function(i,a){if(this.locked||this.animating)return;this.animate(this.pos(i),a);},pos:function(i){var pos=$jc.intval(this.list.css(this.lt));if(this.locked||this.animating)return pos;if(this.options.wrap!='circular')i=i<1?1:(this.options.size&&i>this.options.size?this.options.size:i);var back=this.first>i;var f=this.options.wrap!='circular'&&this.first<=1?1:this.first;var c=back?this.get(f):this.get(this.last);var j=back?f:f-1;var e=null,l=0,p=false,d=0,g;while(back?--j>=i:++j<i){e=this.get(j);p=!e.length;if(e.length==0){e=this.create(j).addClass(this.className('jcarousel-item-placeholder'));c[back?'before':'after'](e);if(this.first!=null&&this.options.wrap=='circular'&&this.options.size!==null&&(j<=0||j>this.options.size)){g=this.get(this.index(j));if(g.length)this.add(j,g.children().clone(true));}}c=e;d=this.dimension(e);if(p)l+=d;if(this.first!=null&&(this.options.wrap=='circular'||(j>=1&&(this.options.size==null||j<=this.options.size))))pos=back?pos+d:pos-d;}var clipping=this.clipping();var cache=[];var visible=0,j=i,v=0;var c=this.get(i-1);while(++visible){e=this.get(j);p=!e.length;if(e.length==0){e=this.create(j).addClass(this.className('jcarousel-item-placeholder'));c.length==0?this.list.prepend(e):c[back?'before':'after'](e);if(this.first!=null&&this.options.wrap=='circular'&&this.options.size!==null&&(j<=0||j>this.options.size)){g=this.get(this.index(j));if(g.length)this.add(j,g.find('>*').clone(true));}}c=e;var d=this.dimension(e);if(d==0){alert('jCarousel: No width/height set for items. This will cause an infinite loop. Aborting...');return 0;}if(this.options.wrap!='circular'&&this.options.size!==null&&j>this.options.size)cache.push(e);else if(p)l+=d;v+=d;if(v>=clipping)break;j++;}for(var x=0;x<cache.length;x++)cache[x].remove();if(l>0){this.list.css(this.wh,this.dimension(this.list)+l+'px');if(back){pos-=l;this.list.css(this.lt,$jc.intval(this.list.css(this.lt))-l+'px');}}var last=i+visible-1;if(this.options.wrap!='circular'&&this.options.size&&last>this.options.size)last=this.options.size;if(j>last){visible=0,j=last,v=0;while(++visible){var e=this.get(j--);if(!e.length)break;v+=this.dimension(e);if(v>=clipping)break;}}var first=last-visible+1;if(this.options.wrap!='circular'&&first<1)first=1;if(this.inTail&&back){pos+=this.tail;this.inTail=false;}this.tail=null;if(this.options.wrap!='circular'&&last==this.options.size&&(last-visible+1)>=1){var m=$jc.margin(this.get(last),!this.options.vertical?'marginRight':'marginBottom');if((v-m)>clipping)this.tail=v-clipping-m;}while(i-->first)pos+=this.dimension(this.get(i));this.prevFirst=this.first;this.prevLast=this.last;this.first=first;this.last=last;return pos;},animate:function(p,a){if(this.locked||this.animating)return;this.animating=true;var self=this;var scrolled=function(){self.animating=false;if(p==0)self.list.css(self.lt,0);if(self.options.wrap=='circular'||self.options.wrap=='both'||self.options.wrap=='last'||self.options.size==null||self.last<self.options.size)self.startAuto();self.buttons();self.notify('onAfterAnimation');};this.notify('onBeforeAnimation');if(!this.options.animation||a==false){this.list.css(this.lt,p+'px');scrolled();}else{var o=!this.options.vertical?{'left':p}:{'top':p};this.list.animate(o,this.options.animation,this.options.easing,scrolled);}},startAuto:function(s){if(s!=undefined)this.options.auto=s;if(this.options.auto==0)return this.stopAuto();if(this.timer!=null)return;var self=this;this.timer=setTimeout(function(){self.next();},this.options.auto*1000);},stopAuto:function(){if(this.timer==null)return;clearTimeout(this.timer);this.timer=null;},buttons:function(n,p){if(n==undefined||n==null){var n=!this.locked&&this.options.size!==0&&((this.options.wrap&&this.options.wrap!='first')||this.options.size==null||this.last<this.options.size);if(!this.locked&&(!this.options.wrap||this.options.wrap=='first')&&this.options.size!=null&&this.last>=this.options.size)n=this.tail!=null&&!this.inTail;}if(p==undefined||p==null){var p=!this.locked&&this.options.size!==0&&((this.options.wrap&&this.options.wrap!='last')||this.first>1);if(!this.locked&&(!this.options.wrap||this.options.wrap=='last')&&this.options.size!=null&&this.first==1)p=this.tail!=null&&this.inTail;}var self=this;this.buttonNext[n?'bind':'unbind'](this.options.buttonNextEvent+'.jcarousel',this.funcNext)[n?'removeClass':'addClass'](this.className('jcarousel-next-disabled')).attr('disabled',n?false:true);this.buttonPrev[p?'bind':'unbind'](this.options.buttonPrevEvent+'.jcarousel',this.funcPrev)[p?'removeClass':'addClass'](this.className('jcarousel-prev-disabled')).attr('disabled',p?false:true);if(this.buttonNext.length>0&&(this.buttonNext[0].jcarouselstate==undefined||this.buttonNext[0].jcarouselstate!=n)&&this.options.buttonNextCallback!=null){this.buttonNext.each(function(){self.options.buttonNextCallback(self,this,n);});this.buttonNext[0].jcarouselstate=n;}if(this.buttonPrev.length>0&&(this.buttonPrev[0].jcarouselstate==undefined||this.buttonPrev[0].jcarouselstate!=p)&&this.options.buttonPrevCallback!=null){this.buttonPrev.each(function(){self.options.buttonPrevCallback(self,this,p);});this.buttonPrev[0].jcarouselstate=p;}},notify:function(evt){var state=this.prevFirst==null?'init':(this.prevFirst<this.first?'next':'prev');this.callback('itemLoadCallback',evt,state);if(this.prevFirst!==this.first){this.callback('itemFirstInCallback',evt,state,this.first);this.callback('itemFirstOutCallback',evt,state,this.prevFirst);}if(this.prevLast!==this.last){this.callback('itemLastInCallback',evt,state,this.last);this.callback('itemLastOutCallback',evt,state,this.prevLast);}this.callback('itemVisibleInCallback',evt,state,this.first,this.last,this.prevFirst,this.prevLast);this.callback('itemVisibleOutCallback',evt,state,this.prevFirst,this.prevLast,this.first,this.last);},callback:function(cb,evt,state,i1,i2,i3,i4){if(this.options[cb]==undefined||(typeof this.options[cb]!='object'&&evt!='onAfterAnimation'))return;var callback=typeof this.options[cb]=='object'?this.options[cb][evt]:this.options[cb];if(!$.isFunction(callback))return;var self=this;if(i1===undefined)callback(self,state,evt);else if(i2===undefined)this.get(i1).each(function(){callback(self,this,i1,state,evt);});else{for(var i=i1;i<=i2;i++)if(i!==null&&!(i>=i3&&i<=i4))this.get(i).each(function(){callback(self,this,i,state,evt);});}},create:function(i){return this.format('<li></li>',i);},format:function(e,i){var $e=$(e).addClass(this.className('jcarousel-item')).addClass(this.className('jcarousel-item-'+i)).css({'float':'left','list-style':'none'});$e.attr('jcarouselindex',i);return $e;},className:function(c){return c+' '+c+(!this.options.vertical?'-horizontal':'-vertical');},dimension:function(e,d){var el=e.jquery!=undefined?e[0]:e;var old=!this.options.vertical?el.offsetWidth+$jc.margin(el,'marginLeft')+$jc.margin(el,'marginRight'):el.offsetHeight+$jc.margin(el,'marginTop')+$jc.margin(el,'marginBottom');if(d==undefined||old==d)return old;var w=!this.options.vertical?d-$jc.margin(el,'marginLeft')-$jc.margin(el,'marginRight'):d-$jc.margin(el,'marginTop')-$jc.margin(el,'marginBottom');$(el).css(this.wh,w+'px');return this.dimension(el);},clipping:function(){return!this.options.vertical?this.clip[0].offsetWidth-$jc.intval(this.clip.css('borderLeftWidth'))-$jc.intval(this.clip.css('borderRightWidth')):this.clip[0].offsetHeight-$jc.intval(this.clip.css('borderTopWidth'))-$jc.intval(this.clip.css('borderBottomWidth'));},index:function(i,s){if(s==undefined)s=this.options.size;return Math.round((((i-1)/s)-Math.floor((i-1)/s))*s)+1;}});$jc.extend({defaults:function(d){return $.extend(defaults,d||{});},margin:function(e,p){if(!e)return 0;var el=e.jquery!=undefined?e[0]:e;if(p=='marginRight'&&$.browser.safari){var old={'display':'block','float':'none','width':'auto'},oWidth,oWidth2;$.swap(el,old,function(){oWidth=el.offsetWidth;});old['marginRight']=0;$.swap(el,old,function(){oWidth2=el.offsetWidth;});return oWidth2-oWidth;}return $jc.intval($.css(el,p));},intval:function(v){v=parseInt(v);return isNaN(v)?0:v;}});})(jQuery);
15
+
16
+ /*
17
+ * FancyBox - jQuery Plugin
18
+ * simple and fancy lightbox alternative
19
+ *
20
+ * Copyright (c) 2009 Janis Skarnelis
21
+ * Examples and documentation at: http://fancybox.net
22
+ *
23
+ * Version: 1.2.6 (16/11/2009)
24
+ * Requires: jQuery v1.3+
25
+ *
26
+ * Dual licensed under the MIT and GPL licenses:
27
+ * http://www.opensource.org/licenses/mit-license.php
28
+ * http://www.gnu.org/licenses/gpl.html
29
+ */
30
+
31
+ ;(function($) {
32
+ $.fn.fixPNG = function() {
33
+ return this.each(function () {
34
+ var image = $(this).css('backgroundImage');
35
+
36
+ if (image.match(/^url\(["']?(.*\.png)["']?\)$/i)) {
37
+ image = RegExp.$1;
38
+ $(this).css({
39
+ 'backgroundImage': 'none',
40
+ 'filter': "progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=" + ($(this).css('backgroundRepeat') == 'no-repeat' ? 'crop' : 'scale') + ", src='" + image + "')"
41
+ }).each(function () {
42
+ var position = $(this).css('position');
43
+ if (position != 'absolute' && position != 'relative')
44
+ $(this).css('position', 'relative');
45
+ });
46
+ }
47
+ });
48
+ };
49
+
50
+ var elem, opts, busy = false, imagePreloader = new Image, loadingTimer, loadingFrame = 1, imageRegExp = /\.(jpg|gif|png|bmp|jpeg)(.*)?$/i;
51
+ var ieQuirks = null, IE6 = $.browser.msie && $.browser.version.substr(0,1) == 6 && !window.XMLHttpRequest, oldIE = IE6 || ($.browser.msie && $.browser.version.substr(0,1) == 7);
52
+
53
+ $.fn.fancybox = function(o) {
54
+ var settings = $.extend({}, $.fn.fancybox.defaults, o);
55
+ var matchedGroup = this;
56
+
57
+ function _initialize() {
58
+ elem = this;
59
+ opts = $.extend({}, settings);
60
+
61
+ _start();
62
+
63
+ return false;
64
+ };
65
+
66
+ function _start() {
67
+ if (busy) return;
68
+
69
+ if ($.isFunction(opts.callbackOnStart)) {
70
+ opts.callbackOnStart();
71
+ }
72
+
73
+ opts.itemArray = [];
74
+ opts.itemCurrent = 0;
75
+
76
+ if (settings.itemArray.length > 0) {
77
+ opts.itemArray = settings.itemArray;
78
+
79
+ } else {
80
+ var item = {};
81
+
82
+ if (!elem.rel || elem.rel == '') {
83
+ var item = {href: elem.href, title: elem.title};
84
+
85
+ if ($(elem).children("img:first").length) {
86
+ item.orig = $(elem).children("img:first");
87
+ } else {
88
+ item.orig = $(elem);
89
+ }
90
+
91
+ if (item.title == '' || typeof item.title == 'undefined') {
92
+ item.title = item.orig.attr('alt');
93
+ }
94
+
95
+ opts.itemArray.push( item );
96
+
97
+ } else {
98
+ var subGroup = $(matchedGroup).filter("a[rel=" + elem.rel + "]");
99
+ var item = {};
100
+
101
+ for (var i = 0; i < subGroup.length; i++) {
102
+ item = {href: subGroup[i].href, title: subGroup[i].title};
103
+
104
+ if ($(subGroup[i]).children("img:first").length) {
105
+ item.orig = $(subGroup[i]).children("img:first");
106
+ } else {
107
+ item.orig = $(subGroup[i]);
108
+ }
109
+
110
+ if (item.title == '' || typeof item.title == 'undefined') {
111
+ item.title = item.orig.attr('alt');
112
+ }
113
+
114
+ opts.itemArray.push( item );
115
+ }
116
+ }
117
+ }
118
+
119
+ while ( opts.itemArray[ opts.itemCurrent ].href != elem.href ) {
120
+ opts.itemCurrent++;
121
+ }
122
+
123
+ if (opts.overlayShow) {
124
+ if (IE6) {
125
+ $('embed, object, select').css('visibility', 'hidden');
126
+ $("#fancy_overlay").css('height', $(document).height());
127
+ }
128
+
129
+ $("#fancy_overlay").css({
130
+ 'background-color' : opts.overlayColor,
131
+ 'opacity' : opts.overlayOpacity
132
+ }).show();
133
+ }
134
+
135
+ $(window).bind("resize.fb scroll.fb", $.fn.fancybox.scrollBox);
136
+
137
+ _change_item();
138
+ };
139
+
140
+ function _change_item() {
141
+ $("#fancy_right, #fancy_left, #fancy_close, #fancy_title").hide();
142
+
143
+ var href = opts.itemArray[ opts.itemCurrent ].href;
144
+
145
+ if (href.match("iframe") || elem.className.indexOf("iframe") >= 0) {
146
+ $.fn.fancybox.showLoading();
147
+ _set_content('<iframe id="fancy_frame" onload="jQuery.fn.fancybox.showIframe()" name="fancy_iframe' + Math.round(Math.random()*1000) + '" frameborder="0" hspace="0" src="' + href + '"></iframe>', opts.frameWidth, opts.frameHeight);
148
+
149
+ } else if (href.match(/#/)) {
150
+ var target = window.location.href.split('#')[0]; target = href.replace(target, ''); target = target.substr(target.indexOf('#'));
151
+
152
+ _set_content('<div id="fancy_div">' + $(target).html() + '</div>', opts.frameWidth, opts.frameHeight);
153
+
154
+ } else if (href.match(imageRegExp)) {
155
+ imagePreloader = new Image; imagePreloader.src = href;
156
+
157
+ if (imagePreloader.complete) {
158
+ _proceed_image();
159
+
160
+ } else {
161
+ $.fn.fancybox.showLoading();
162
+ $(imagePreloader).unbind().bind('load', function() {
163
+ $("#fancy_loading").hide();
164
+
165
+ _proceed_image();
166
+ });
167
+ }
168
+ } else {
169
+ $.fn.fancybox.showLoading();
170
+ $.get(href, function(data) {
171
+ $("#fancy_loading").hide();
172
+ _set_content( '<div id="fancy_ajax">' + data + '</div>', opts.frameWidth, opts.frameHeight );
173
+ });
174
+ }
175
+ };
176
+
177
+ function _proceed_image() {
178
+ var width = imagePreloader.width;
179
+ var height = imagePreloader.height;
180
+
181
+ var horizontal_space = (opts.padding * 2) + 40;
182
+ var vertical_space = (opts.padding * 2) + 60;
183
+
184
+ var w = $.fn.fancybox.getViewport();
185
+
186
+ if (opts.imageScale && (width > (w[0] - horizontal_space) || height > (w[1] - vertical_space))) {
187
+ var ratio = Math.min(Math.min(w[0] - horizontal_space, width) / width, Math.min(w[1] - vertical_space, height) / height);
188
+
189
+ width = Math.round(ratio * width);
190
+ height = Math.round(ratio * height);
191
+ }
192
+
193
+ _set_content('<img alt="" id="fancy_img" src="' + imagePreloader.src + '" />', width, height);
194
+ };
195
+
196
+ function _preload_neighbor_images() {
197
+ if ((opts.itemArray.length -1) > opts.itemCurrent) {
198
+ var href = opts.itemArray[opts.itemCurrent + 1].href || false;
199
+
200
+ if (href && href.match(imageRegExp)) {
201
+ objNext = new Image();
202
+ objNext.src = href;
203
+ }
204
+ }
205
+
206
+ if (opts.itemCurrent > 0) {
207
+ var href = opts.itemArray[opts.itemCurrent -1].href || false;
208
+
209
+ if (href && href.match(imageRegExp)) {
210
+ objNext = new Image();
211
+ objNext.src = href;
212
+ }
213
+ }
214
+ };
215
+
216
+ function _set_content(value, width, height) {
217
+ busy = true;
218
+
219
+ var pad = opts.padding;
220
+
221
+ if (oldIE || ieQuirks) {
222
+ $("#fancy_content")[0].style.removeExpression("height");
223
+ $("#fancy_content")[0].style.removeExpression("width");
224
+ }
225
+
226
+ if (pad > 0) {
227
+ width += pad * 2;
228
+ height += pad * 2;
229
+
230
+ $("#fancy_content").css({
231
+ 'top' : pad + 'px',
232
+ 'right' : pad + 'px',
233
+ 'bottom' : pad + 'px',
234
+ 'left' : pad + 'px',
235
+ 'width' : 'auto',
236
+ 'height' : 'auto'
237
+ });
238
+
239
+ if (oldIE || ieQuirks) {
240
+ $("#fancy_content")[0].style.setExpression('height', '(this.parentNode.clientHeight - ' + pad * 2 + ')');
241
+ $("#fancy_content")[0].style.setExpression('width', '(this.parentNode.clientWidth - ' + pad * 2 + ')');
242
+ }
243
+ } else {
244
+ $("#fancy_content").css({
245
+ 'top' : 0,
246
+ 'right' : 0,
247
+ 'bottom' : 0,
248
+ 'left' : 0,
249
+ 'width' : '100%',
250
+ 'height' : '100%'
251
+ });
252
+ }
253
+
254
+ if ($("#fancy_outer").is(":visible") && width == $("#fancy_outer").width() && height == $("#fancy_outer").height()) {
255
+ $("#fancy_content").fadeOut('fast', function() {
256
+ $("#fancy_content").empty().append($(value)).fadeIn("normal", function() {
257
+ _finish();
258
+ });
259
+ });
260
+
261
+ return;
262
+ }
263
+
264
+ var w = $.fn.fancybox.getViewport();
265
+
266
+ var itemTop = (height + 60) > w[1] ? w[3] : (w[3] + Math.round((w[1] - height - 60) * 0.5));
267
+ var itemLeft = (width + 40) > w[0] ? w[2] : (w[2] + Math.round((w[0] - width - 40) * 0.5));
268
+
269
+ var itemOpts = {
270
+ 'left': itemLeft,
271
+ 'top': itemTop,
272
+ 'width': width + 'px',
273
+ 'height': height + 'px'
274
+ };
275
+
276
+ if ($("#fancy_outer").is(":visible")) {
277
+ $("#fancy_content").fadeOut("normal", function() {
278
+ $("#fancy_content").empty();
279
+ $("#fancy_outer").animate(itemOpts, opts.zoomSpeedChange, opts.easingChange, function() {
280
+ $("#fancy_content").append($(value)).fadeIn("normal", function() {
281
+ _finish();
282
+ });
283
+ });
284
+ });
285
+
286
+ } else {
287
+
288
+ if (opts.zoomSpeedIn > 0 && opts.itemArray[opts.itemCurrent].orig !== undefined) {
289
+ $("#fancy_content").empty().append($(value));
290
+
291
+ var orig_item = opts.itemArray[opts.itemCurrent].orig;
292
+ var orig_pos = $.fn.fancybox.getPosition(orig_item);
293
+
294
+ $("#fancy_outer").css({
295
+ 'left': (orig_pos.left - 20 - opts.padding) + 'px',
296
+ 'top': (orig_pos.top - 20 - opts.padding) + 'px',
297
+ 'width': $(orig_item).width() + (opts.padding * 2),
298
+ 'height': $(orig_item).height() + (opts.padding * 2)
299
+ });
300
+
301
+ if (opts.zoomOpacity) {
302
+ itemOpts.opacity = 'show';
303
+ }
304
+
305
+ $("#fancy_outer").animate(itemOpts, opts.zoomSpeedIn, opts.easingIn, function() {
306
+ _finish();
307
+ });
308
+
309
+ } else {
310
+
311
+ $("#fancy_content").hide().empty().append($(value)).show();
312
+ $("#fancy_outer").css(itemOpts).fadeIn("normal", function() {
313
+ _finish();
314
+ });
315
+ }
316
+ }
317
+ };
318
+
319
+ function _set_navigation() {
320
+ if (opts.itemCurrent !== 0) {
321
+ $("#fancy_left, #fancy_left_ico").unbind().bind("click", function(e) {
322
+ e.stopPropagation();
323
+
324
+ opts.itemCurrent--;
325
+ _change_item();
326
+
327
+ return false;
328
+ });
329
+
330
+ $("#fancy_left").show();
331
+ }
332
+
333
+ if (opts.itemCurrent != ( opts.itemArray.length -1)) {
334
+ $("#fancy_right, #fancy_right_ico").unbind().bind("click", function(e) {
335
+ e.stopPropagation();
336
+
337
+ opts.itemCurrent++;
338
+ _change_item();
339
+
340
+ return false;
341
+ });
342
+
343
+ $("#fancy_right").show();
344
+ }
345
+ };
346
+
347
+ function _finish() {
348
+ if ($.browser.msie) {
349
+ $("#fancy_content")[0].style.removeAttribute('filter');
350
+ $("#fancy_outer")[0].style.removeAttribute('filter');
351
+ }
352
+
353
+ _set_navigation();
354
+
355
+ _preload_neighbor_images();
356
+
357
+ $(document).bind("keydown.fb", function(e) {
358
+ if (e.keyCode == 27 && opts.enableEscapeButton) {
359
+ $.fn.fancybox.close();
360
+
361
+ } else if(e.keyCode == 37 && opts.itemCurrent !== 0) {
362
+ $(document).unbind("keydown.fb");
363
+ opts.itemCurrent--;
364
+ _change_item();
365
+
366
+
367
+ } else if(e.keyCode == 39 && opts.itemCurrent != (opts.itemArray.length - 1)) {
368
+ $(document).unbind("keydown.fb");
369
+ opts.itemCurrent++;
370
+ _change_item();
371
+ }
372
+ });
373
+
374
+ if (opts.hideOnContentClick) {
375
+ $("#fancy_content").click($.fn.fancybox.close);
376
+ }
377
+
378
+ if (opts.overlayShow && opts.hideOnOverlayClick) {
379
+ $("#fancy_overlay").bind("click", $.fn.fancybox.close);
380
+ }
381
+
382
+ if (opts.showCloseButton) {
383
+ $("#fancy_close").bind("click", $.fn.fancybox.close).show();
384
+ }
385
+
386
+ if (typeof opts.itemArray[ opts.itemCurrent ].title !== 'undefined' && opts.itemArray[ opts.itemCurrent ].title.length > 0) {
387
+ var pos = $("#fancy_outer").position();
388
+
389
+ $('#fancy_title div').text( opts.itemArray[ opts.itemCurrent ].title).html();
390
+
391
+ $('#fancy_title').css({
392
+ 'top' : pos.top + $("#fancy_outer").outerHeight() - 32,
393
+ 'left' : pos.left + (($("#fancy_outer").outerWidth() * 0.5) - ($('#fancy_title').width() * 0.5))
394
+ }).show();
395
+ }
396
+
397
+ if (opts.overlayShow && IE6) {
398
+ $('embed, object, select', $('#fancy_content')).css('visibility', 'visible');
399
+ }
400
+
401
+ if ($.isFunction(opts.callbackOnShow)) {
402
+ opts.callbackOnShow( opts.itemArray[ opts.itemCurrent ] );
403
+ }
404
+
405
+ if ($.browser.msie) {
406
+ $("#fancy_outer")[0].style.removeAttribute('filter');
407
+ $("#fancy_content")[0].style.removeAttribute('filter');
408
+ }
409
+
410
+ busy = false;
411
+ };
412
+
413
+ return this.unbind('click.fb').bind('click.fb', _initialize);
414
+ };
415
+
416
+ $.fn.fancybox.scrollBox = function() {
417
+ var w = $.fn.fancybox.getViewport();
418
+
419
+ if (opts.centerOnScroll && $("#fancy_outer").is(':visible')) {
420
+ var ow = $("#fancy_outer").outerWidth();
421
+ var oh = $("#fancy_outer").outerHeight();
422
+
423
+ var pos = {
424
+ 'top' : (oh > w[1] ? w[3] : w[3] + Math.round((w[1] - oh) * 0.5)),
425
+ 'left' : (ow > w[0] ? w[2] : w[2] + Math.round((w[0] - ow) * 0.5))
426
+ };
427
+
428
+ $("#fancy_outer").css(pos);
429
+
430
+ $('#fancy_title').css({
431
+ 'top' : pos.top + oh - 32,
432
+ 'left' : pos.left + ((ow * 0.5) - ($('#fancy_title').width() * 0.5))
433
+ });
434
+ }
435
+
436
+ if (IE6 && $("#fancy_overlay").is(':visible')) {
437
+ $("#fancy_overlay").css({
438
+ 'height' : $(document).height()
439
+ });
440
+ }
441
+
442
+ if ($("#fancy_loading").is(':visible')) {
443
+ $("#fancy_loading").css({'left': ((w[0] - 40) * 0.5 + w[2]), 'top': ((w[1] - 40) * 0.5 + w[3])});
444
+ }
445
+ };
446
+
447
+ $.fn.fancybox.getNumeric = function(el, prop) {
448
+ return parseInt($.curCSS(el.jquery?el[0]:el,prop,true))||0;
449
+ };
450
+
451
+ $.fn.fancybox.getPosition = function(el) {
452
+ var pos = el.offset();
453
+
454
+ pos.top += $.fn.fancybox.getNumeric(el, 'paddingTop');
455
+ pos.top += $.fn.fancybox.getNumeric(el, 'borderTopWidth');
456
+
457
+ pos.left += $.fn.fancybox.getNumeric(el, 'paddingLeft');
458
+ pos.left += $.fn.fancybox.getNumeric(el, 'borderLeftWidth');
459
+
460
+ return pos;
461
+ };
462
+
463
+ $.fn.fancybox.showIframe = function() {
464
+ $("#fancy_loading").hide();
465
+ $("#fancy_frame").show();
466
+ };
467
+
468
+ $.fn.fancybox.getViewport = function() {
469
+ return [$(window).width(), $(window).height(), $(document).scrollLeft(), $(document).scrollTop() ];
470
+ };
471
+
472
+ $.fn.fancybox.animateLoading = function() {
473
+ if (!$("#fancy_loading").is(':visible')){
474
+ clearInterval(loadingTimer);
475
+ return;
476
+ }
477
+
478
+ $("#fancy_loading > div").css('top', (loadingFrame * -40) + 'px');
479
+
480
+ loadingFrame = (loadingFrame + 1) % 12;
481
+ };
482
+
483
+ $.fn.fancybox.showLoading = function() {
484
+ clearInterval(loadingTimer);
485
+
486
+ var w = $.fn.fancybox.getViewport();
487
+
488
+ $("#fancy_loading").css({'left': ((w[0] - 40) * 0.5 + w[2]), 'top': ((w[1] - 40) * 0.5 + w[3])}).show();
489
+ $("#fancy_loading").bind('click', $.fn.fancybox.close);
490
+
491
+ loadingTimer = setInterval($.fn.fancybox.animateLoading, 66);
492
+ };
493
+
494
+ $.fn.fancybox.close = function() {
495
+ busy = true;
496
+
497
+ $(imagePreloader).unbind();
498
+
499
+ $(document).unbind("keydown.fb");
500
+ $(window).unbind("resize.fb scroll.fb");
501
+
502
+ $("#fancy_overlay, #fancy_content, #fancy_close").unbind();
503
+
504
+ $("#fancy_close, #fancy_loading, #fancy_left, #fancy_right, #fancy_title").hide();
505
+
506
+ __cleanup = function() {
507
+ if ($("#fancy_overlay").is(':visible')) {
508
+ $("#fancy_overlay").fadeOut("fast");
509
+ }
510
+
511
+ $("#fancy_content").empty();
512
+
513
+ if (opts.centerOnScroll) {
514
+ $(window).unbind("resize.fb scroll.fb");
515
+ }
516
+
517
+ if (IE6) {
518
+ $('embed, object, select').css('visibility', 'visible');
519
+ }
520
+
521
+ if ($.isFunction(opts.callbackOnClose)) {
522
+ opts.callbackOnClose();
523
+ }
524
+
525
+ busy = false;
526
+ };
527
+
528
+ if ($("#fancy_outer").is(":visible") !== false) {
529
+ if (opts.zoomSpeedOut > 0 && opts.itemArray[opts.itemCurrent].orig !== undefined) {
530
+ var orig_item = opts.itemArray[opts.itemCurrent].orig;
531
+ var orig_pos = $.fn.fancybox.getPosition(orig_item);
532
+
533
+ var itemOpts = {
534
+ 'left': (orig_pos.left - 20 - opts.padding) + 'px',
535
+ 'top': (orig_pos.top - 20 - opts.padding) + 'px',
536
+ 'width': $(orig_item).width() + (opts.padding * 2),
537
+ 'height': $(orig_item).height() + (opts.padding * 2)
538
+ };
539
+
540
+ if (opts.zoomOpacity) {
541
+ itemOpts.opacity = 'hide';
542
+ }
543
+
544
+ $("#fancy_outer").stop(false, true).animate(itemOpts, opts.zoomSpeedOut, opts.easingOut, __cleanup);
545
+
546
+ } else {
547
+ $("#fancy_outer").stop(false, true).fadeOut('fast', __cleanup);
548
+ }
549
+
550
+ } else {
551
+ __cleanup();
552
+ }
553
+
554
+ return false;
555
+ };
556
+
557
+ $.fn.fancybox.build = function() {
558
+ var html = '';
559
+
560
+ html += '<div id="fancy_overlay"></div>';
561
+ html += '<div id="fancy_loading"><div></div></div>';
562
+
563
+ html += '<div id="fancy_outer">';
564
+ html += '<div id="fancy_inner">';
565
+
566
+ html += '<div id="fancy_close"></div>';
567
+
568
+ html += '<div id="fancy_bg"><div class="fancy_bg" id="fancy_bg_n"></div><div class="fancy_bg" id="fancy_bg_ne"></div><div class="fancy_bg" id="fancy_bg_e"></div><div class="fancy_bg" id="fancy_bg_se"></div><div class="fancy_bg" id="fancy_bg_s"></div><div class="fancy_bg" id="fancy_bg_sw"></div><div class="fancy_bg" id="fancy_bg_w"></div><div class="fancy_bg" id="fancy_bg_nw"></div></div>';
569
+
570
+ html += '<a href="javascript:;" id="fancy_left"><span class="fancy_ico" id="fancy_left_ico"></span></a><a href="javascript:;" id="fancy_right"><span class="fancy_ico" id="fancy_right_ico"></span></a>';
571
+
572
+ html += '<div id="fancy_content"></div>';
573
+
574
+ html += '</div>';
575
+ html += '</div>';
576
+
577
+ html += '<div id="fancy_title"></div>';
578
+
579
+ $(html).appendTo("body");
580
+
581
+ $('<table cellspacing="0" cellpadding="0" border="0"><tr><td class="fancy_title" id="fancy_title_left"></td><td class="fancy_title" id="fancy_title_main"><div></div></td><td class="fancy_title" id="fancy_title_right"></td></tr></table>').appendTo('#fancy_title');
582
+
583
+ if ($.browser.msie) {
584
+ $(".fancy_bg").fixPNG();
585
+ }
586
+
587
+ if (IE6) {
588
+ $("div#fancy_overlay").css("position", "absolute");
589
+ $("#fancy_loading div, #fancy_close, .fancy_title, .fancy_ico").fixPNG();
590
+
591
+ $("#fancy_inner").prepend('<iframe id="fancy_bigIframe" src="javascript:false;" scrolling="no" frameborder="0"></iframe>');
592
+
593
+ // Get rid of the 'false' text introduced by the URL of the iframe
594
+ var frameDoc = $('#fancy_bigIframe')[0].contentWindow.document;
595
+ frameDoc.open();
596
+ frameDoc.close();
597
+
598
+ }
599
+ };
600
+
601
+ $.fn.fancybox.defaults = {
602
+ padding : 10,
603
+ imageScale : true,
604
+ zoomOpacity : true,
605
+ zoomSpeedIn : 0,
606
+ zoomSpeedOut : 0,
607
+ zoomSpeedChange : 300,
608
+ easingIn : 'swing',
609
+ easingOut : 'swing',
610
+ easingChange : 'swing',
611
+ frameWidth : 560,
612
+ frameHeight : 340,
613
+ overlayShow : true,
614
+ overlayOpacity : 0.3,
615
+ overlayColor : '#666',
616
+ enableEscapeButton : true,
617
+ showCloseButton : true,
618
+ hideOnOverlayClick : true,
619
+ hideOnContentClick : true,
620
+ centerOnScroll : true,
621
+ itemArray : [],
622
+ callbackOnStart : null,
623
+ callbackOnShow : null,
624
+ callbackOnClose : null
625
+ };
626
+
627
+ $(document).ready(function() {
628
+ ieQuirks = $.browser.msie && !$.boxModel;
629
+
630
+ if ($("#fancy_outer").length < 1) {
631
+ $.fn.fancybox.build();
632
+ }
633
+ });
634
+
635
+ })(jQuery);
skin/frontend/default/hellowired/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);
skin/frontend/default/hellowired/js/jquery.cycle.all.js ADDED
@@ -0,0 +1,1304 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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.86 (05-APR-2010)
6
+ * Dual licensed under the MIT and GPL licenses:
7
+ * http://www.opensource.org/licenses/mit-license.php
8
+ * http://www.gnu.org/licenses/gpl.html
9
+ * Requires: jQuery v1.2.6 or later
10
+ */
11
+ ;(function($) {
12
+
13
+ var ver = '2.86';
14
+
15
+ // if $.support is not defined (pre jQuery 1.3) add what I need
16
+ if ($.support == undefined) {
17
+ $.support = {
18
+ opacity: !($.browser.msie)
19
+ };
20
+ }
21
+
22
+ function debug(s) {
23
+ if ($.fn.cycle.debug)
24
+ log(s);
25
+ }
26
+ function log() {
27
+ if (window.console && window.console.log)
28
+ window.console.log('[cycle] ' + Array.prototype.join.call(arguments,' '));
29
+ };
30
+
31
+ // the options arg can be...
32
+ // a number - indicates an immediate transition should occur to the given slide index
33
+ // a string - 'pause', 'resume', 'toggle', 'next', 'prev', 'stop', 'destroy' or the name of a transition effect (ie, 'fade', 'zoom', etc)
34
+ // an object - properties to control the slideshow
35
+ //
36
+ // the arg2 arg can be...
37
+ // the name of an fx (only used in conjunction with a numeric value for 'options')
38
+ // the value true (only used in first arg == 'resume') and indicates
39
+ // that the resume should occur immediately (not wait for next timeout)
40
+
41
+ $.fn.cycle = function(options, arg2) {
42
+ var o = { s: this.selector, c: this.context };
43
+
44
+ // in 1.3+ we can fix mistakes with the ready state
45
+ if (this.length === 0 && options != 'stop') {
46
+ if (!$.isReady && o.s) {
47
+ log('DOM not ready, queuing slideshow');
48
+ $(function() {
49
+ $(o.s,o.c).cycle(options,arg2);
50
+ });
51
+ return this;
52
+ }
53
+ // is your DOM ready? http://docs.jquery.com/Tutorials:Introducing_$(document).ready()
54
+ log('terminating; zero elements found by selector' + ($.isReady ? '' : ' (DOM not ready)'));
55
+ return this;
56
+ }
57
+
58
+ // iterate the matched nodeset
59
+ return this.each(function() {
60
+ var opts = handleArguments(this, options, arg2);
61
+ if (opts === false)
62
+ return;
63
+
64
+ opts.updateActivePagerLink = opts.updateActivePagerLink || $.fn.cycle.updateActivePagerLink;
65
+
66
+ // stop existing slideshow for this container (if there is one)
67
+ if (this.cycleTimeout)
68
+ clearTimeout(this.cycleTimeout);
69
+ this.cycleTimeout = this.cyclePause = 0;
70
+
71
+ var $cont = $(this);
72
+ var $slides = opts.slideExpr ? $(opts.slideExpr, this) : $cont.children();
73
+ var els = $slides.get();
74
+ if (els.length < 2) {
75
+ log('terminating; too few slides: ' + els.length);
76
+ return;
77
+ }
78
+
79
+ var opts2 = buildOptions($cont, $slides, els, opts, o);
80
+ if (opts2 === false)
81
+ return;
82
+
83
+ var startTime = opts2.continuous ? 10 : getTimeout(opts2.currSlide, opts2.nextSlide, opts2, !opts2.rev);
84
+
85
+ // if it's an auto slideshow, kick it off
86
+ if (startTime) {
87
+ startTime += (opts2.delay || 0);
88
+ if (startTime < 10)
89
+ startTime = 10;
90
+ debug('first timeout: ' + startTime);
91
+ this.cycleTimeout = setTimeout(function(){go(els,opts2,0,!opts2.rev)}, startTime);
92
+ }
93
+ });
94
+ };
95
+
96
+ // process the args that were passed to the plugin fn
97
+ function handleArguments(cont, options, arg2) {
98
+ if (cont.cycleStop == undefined)
99
+ cont.cycleStop = 0;
100
+ if (options === undefined || options === null)
101
+ options = {};
102
+ if (options.constructor == String) {
103
+ switch(options) {
104
+ case 'destroy':
105
+ case 'stop':
106
+ var opts = $(cont).data('cycle.opts');
107
+ if (!opts)
108
+ return false;
109
+ cont.cycleStop++; // callbacks look for change
110
+ if (cont.cycleTimeout)
111
+ clearTimeout(cont.cycleTimeout);
112
+ cont.cycleTimeout = 0;
113
+ $(cont).removeData('cycle.opts');
114
+ if (options == 'destroy')
115
+ destroy(opts);
116
+ return false;
117
+ case 'toggle':
118
+ cont.cyclePause = (cont.cyclePause === 1) ? 0 : 1;
119
+ checkInstantResume(cont.cyclePause, arg2, cont);
120
+ return false;
121
+ case 'pause':
122
+ cont.cyclePause = 1;
123
+ return false;
124
+ case 'resume':
125
+ cont.cyclePause = 0;
126
+ checkInstantResume(false, arg2, cont);
127
+ return false;
128
+ case 'prev':
129
+ case 'next':
130
+ var opts = $(cont).data('cycle.opts');
131
+ if (!opts) {
132
+ log('options not found, "prev/next" ignored');
133
+ return false;
134
+ }
135
+ $.fn.cycle[options](opts);
136
+ return false;
137
+ default:
138
+ options = { fx: options };
139
+ };
140
+ return options;
141
+ }
142
+ else if (options.constructor == Number) {
143
+ // go to the requested slide
144
+ var num = options;
145
+ options = $(cont).data('cycle.opts');
146
+ if (!options) {
147
+ log('options not found, can not advance slide');
148
+ return false;
149
+ }
150
+ if (num < 0 || num >= options.elements.length) {
151
+ log('invalid slide index: ' + num);
152
+ return false;
153
+ }
154
+ options.nextSlide = num;
155
+ if (cont.cycleTimeout) {
156
+ clearTimeout(cont.cycleTimeout);
157
+ cont.cycleTimeout = 0;
158
+ }
159
+ if (typeof arg2 == 'string')
160
+ options.oneTimeFx = arg2;
161
+ go(options.elements, options, 1, num >= options.currSlide);
162
+ return false;
163
+ }
164
+ return options;
165
+
166
+ function checkInstantResume(isPaused, arg2, cont) {
167
+ if (!isPaused && arg2 === true) { // resume now!
168
+ var options = $(cont).data('cycle.opts');
169
+ if (!options) {
170
+ log('options not found, can not resume');
171
+ return false;
172
+ }
173
+ if (cont.cycleTimeout) {
174
+ clearTimeout(cont.cycleTimeout);
175
+ cont.cycleTimeout = 0;
176
+ }
177
+ go(options.elements, options, 1, 1);
178
+ }
179
+ }
180
+ };
181
+
182
+ function removeFilter(el, opts) {
183
+ if (!$.support.opacity && opts.cleartype && el.style.filter) {
184
+ try { el.style.removeAttribute('filter'); }
185
+ catch(smother) {} // handle old opera versions
186
+ }
187
+ };
188
+
189
+ // unbind event handlers
190
+ function destroy(opts) {
191
+ if (opts.next)
192
+ $(opts.next).unbind(opts.prevNextEvent);
193
+ if (opts.prev)
194
+ $(opts.prev).unbind(opts.prevNextEvent);
195
+
196
+ if (opts.pager || opts.pagerAnchorBuilder)
197
+ $.each(opts.pagerAnchors || [], function() {
198
+ this.unbind().remove();
199
+ });
200
+ opts.pagerAnchors = null;
201
+ if (opts.destroy) // callback
202
+ opts.destroy(opts);
203
+ };
204
+
205
+ // one-time initialization
206
+ function buildOptions($cont, $slides, els, options, o) {
207
+ // support metadata plugin (v1.0 and v2.0)
208
+ var opts = $.extend({}, $.fn.cycle.defaults, options || {}, $.metadata ? $cont.metadata() : $.meta ? $cont.data() : {});
209
+ if (opts.autostop)
210
+ opts.countdown = opts.autostopCount || els.length;
211
+
212
+ var cont = $cont[0];
213
+ $cont.data('cycle.opts', opts);
214
+ opts.$cont = $cont;
215
+ opts.stopCount = cont.cycleStop;
216
+ opts.elements = els;
217
+ opts.before = opts.before ? [opts.before] : [];
218
+ opts.after = opts.after ? [opts.after] : [];
219
+ opts.after.unshift(function(){ opts.busy=0; });
220
+
221
+ // push some after callbacks
222
+ if (!$.support.opacity && opts.cleartype)
223
+ opts.after.push(function() { removeFilter(this, opts); });
224
+ if (opts.continuous)
225
+ opts.after.push(function() { go(els,opts,0,!opts.rev); });
226
+
227
+ saveOriginalOpts(opts);
228
+
229
+ // clearType corrections
230
+ if (!$.support.opacity && opts.cleartype && !opts.cleartypeNoBg)
231
+ clearTypeFix($slides);
232
+
233
+ // container requires non-static position so that slides can be position within
234
+ if ($cont.css('position') == 'static')
235
+ $cont.css('position', 'relative');
236
+ if (opts.width)
237
+ $cont.width(opts.width);
238
+ if (opts.height && opts.height != 'auto')
239
+ $cont.height(opts.height);
240
+
241
+ if (opts.startingSlide)
242
+ opts.startingSlide = parseInt(opts.startingSlide);
243
+
244
+ // if random, mix up the slide array
245
+ if (opts.random) {
246
+ opts.randomMap = [];
247
+ for (var i = 0; i < els.length; i++)
248
+ opts.randomMap.push(i);
249
+ opts.randomMap.sort(function(a,b) {return Math.random() - 0.5;});
250
+ opts.randomIndex = 1;
251
+ opts.startingSlide = opts.randomMap[1];
252
+ }
253
+ else if (opts.startingSlide >= els.length)
254
+ opts.startingSlide = 0; // catch bogus input
255
+ opts.currSlide = opts.startingSlide || 0;
256
+ var first = opts.startingSlide;
257
+
258
+ // set position and zIndex on all the slides
259
+ $slides.css({position: 'absolute', top:0, left:0}).hide().each(function(i) {
260
+ var z = first ? i >= first ? els.length - (i-first) : first-i : els.length-i;
261
+ $(this).css('z-index', z)
262
+ });
263
+
264
+ // make sure first slide is visible
265
+ $(els[first]).css('opacity',1).show(); // opacity bit needed to handle restart use case
266
+ removeFilter(els[first], opts);
267
+
268
+ // stretch slides
269
+ if (opts.fit && opts.width)
270
+ $slides.width(opts.width);
271
+ if (opts.fit && opts.height && opts.height != 'auto')
272
+ $slides.height(opts.height);
273
+
274
+ // stretch container
275
+ var reshape = opts.containerResize && !$cont.innerHeight();
276
+ if (reshape) { // do this only if container has no size http://tinyurl.com/da2oa9
277
+ var maxw = 0, maxh = 0;
278
+ for(var j=0; j < els.length; j++) {
279
+ var $e = $(els[j]), e = $e[0], w = $e.outerWidth(), h = $e.outerHeight();
280
+ if (!w) w = e.offsetWidth || e.width || $e.attr('width')
281
+ if (!h) h = e.offsetHeight || e.height || $e.attr('height');
282
+ maxw = w > maxw ? w : maxw;
283
+ maxh = h > maxh ? h : maxh;
284
+ }
285
+ if (maxw > 0 && maxh > 0)
286
+ $cont.css({width:maxw+'px',height:maxh+'px'});
287
+ }
288
+
289
+ if (opts.pause)
290
+ $cont.hover(function(){this.cyclePause++;},function(){this.cyclePause--;});
291
+
292
+ if (supportMultiTransitions(opts) === false)
293
+ return false;
294
+
295
+ // apparently a lot of people use image slideshows without height/width attributes on the images.
296
+ // Cycle 2.50+ requires the sizing info for every slide; this block tries to deal with that.
297
+ var requeue = false;
298
+ options.requeueAttempts = options.requeueAttempts || 0;
299
+ $slides.each(function() {
300
+ // try to get height/width of each slide
301
+ var $el = $(this);
302
+ this.cycleH = (opts.fit && opts.height) ? opts.height : ($el.height() || this.offsetHeight || this.height || $el.attr('height') || 0);
303
+ this.cycleW = (opts.fit && opts.width) ? opts.width : ($el.width() || this.offsetWidth || this.width || $el.attr('width') || 0);
304
+
305
+ if ( $el.is('img') ) {
306
+ // sigh.. sniffing, hacking, shrugging... this crappy hack tries to account for what browsers do when
307
+ // an image is being downloaded and the markup did not include sizing info (height/width attributes);
308
+ // there seems to be some "default" sizes used in this situation
309
+ var loadingIE = ($.browser.msie && this.cycleW == 28 && this.cycleH == 30 && !this.complete);
310
+ var loadingFF = ($.browser.mozilla && this.cycleW == 34 && this.cycleH == 19 && !this.complete);
311
+ var loadingOp = ($.browser.opera && ((this.cycleW == 42 && this.cycleH == 19) || (this.cycleW == 37 && this.cycleH == 17)) && !this.complete);
312
+ var loadingOther = (this.cycleH == 0 && this.cycleW == 0 && !this.complete);
313
+ // don't requeue for images that are still loading but have a valid size
314
+ if (loadingIE || loadingFF || loadingOp || loadingOther) {
315
+ if (o.s && opts.requeueOnImageNotLoaded && ++options.requeueAttempts < 100) { // track retry count so we don't loop forever
316
+ log(options.requeueAttempts,' - img slide not loaded, requeuing slideshow: ', this.src, this.cycleW, this.cycleH);
317
+ setTimeout(function() {$(o.s,o.c).cycle(options)}, opts.requeueTimeout);
318
+ requeue = true;
319
+ return false; // break each loop
320
+ }
321
+ else {
322
+ log('could not determine size of image: '+this.src, this.cycleW, this.cycleH);
323
+ }
324
+ }
325
+ }
326
+ return true;
327
+ });
328
+
329
+ if (requeue)
330
+ return false;
331
+
332
+ opts.cssBefore = opts.cssBefore || {};
333
+ opts.animIn = opts.animIn || {};
334
+ opts.animOut = opts.animOut || {};
335
+
336
+ $slides.not(':eq('+first+')').css(opts.cssBefore);
337
+ if (opts.cssFirst)
338
+ $($slides[first]).css(opts.cssFirst);
339
+
340
+ if (opts.timeout) {
341
+ opts.timeout = parseInt(opts.timeout);
342
+ // ensure that timeout and speed settings are sane
343
+ if (opts.speed.constructor == String)
344
+ opts.speed = $.fx.speeds[opts.speed] || parseInt(opts.speed);
345
+ if (!opts.sync)
346
+ opts.speed = opts.speed / 2;
347
+
348
+ var buffer = opts.fx == 'shuffle' ? 500 : 250;
349
+ while((opts.timeout - opts.speed) < buffer) // sanitize timeout
350
+ opts.timeout += opts.speed;
351
+ }
352
+ if (opts.easing)
353
+ opts.easeIn = opts.easeOut = opts.easing;
354
+ if (!opts.speedIn)
355
+ opts.speedIn = opts.speed;
356
+ if (!opts.speedOut)
357
+ opts.speedOut = opts.speed;
358
+
359
+ opts.slideCount = els.length;
360
+ opts.currSlide = opts.lastSlide = first;
361
+ if (opts.random) {
362
+ if (++opts.randomIndex == els.length)
363
+ opts.randomIndex = 0;
364
+ opts.nextSlide = opts.randomMap[opts.randomIndex];
365
+ }
366
+ else
367
+ opts.nextSlide = opts.startingSlide >= (els.length-1) ? 0 : opts.startingSlide+1;
368
+
369
+ // run transition init fn
370
+ if (!opts.multiFx) {
371
+ var init = $.fn.cycle.transitions[opts.fx];
372
+ if ($.isFunction(init))
373
+ init($cont, $slides, opts);
374
+ else if (opts.fx != 'custom' && !opts.multiFx) {
375
+ log('unknown transition: ' + opts.fx,'; slideshow terminating');
376
+ return false;
377
+ }
378
+ }
379
+
380
+ // fire artificial events
381
+ var e0 = $slides[first];
382
+ if (opts.before.length)
383
+ opts.before[0].apply(e0, [e0, e0, opts, true]);
384
+ if (opts.after.length > 1)
385
+ opts.after[1].apply(e0, [e0, e0, opts, true]);
386
+
387
+ if (opts.next)
388
+ $(opts.next).bind(opts.prevNextEvent,function(){return advance(opts,opts.rev?-1:1)});
389
+ if (opts.prev)
390
+ $(opts.prev).bind(opts.prevNextEvent,function(){return advance(opts,opts.rev?1:-1)});
391
+ if (opts.pager || opts.pagerAnchorBuilder)
392
+ buildPager(els,opts);
393
+
394
+ exposeAddSlide(opts, els);
395
+
396
+ return opts;
397
+ };
398
+
399
+ // save off original opts so we can restore after clearing state
400
+ function saveOriginalOpts(opts) {
401
+ opts.original = { before: [], after: [] };
402
+ opts.original.cssBefore = $.extend({}, opts.cssBefore);
403
+ opts.original.cssAfter = $.extend({}, opts.cssAfter);
404
+ opts.original.animIn = $.extend({}, opts.animIn);
405
+ opts.original.animOut = $.extend({}, opts.animOut);
406
+ $.each(opts.before, function() { opts.original.before.push(this); });
407
+ $.each(opts.after, function() { opts.original.after.push(this); });
408
+ };
409
+
410
+ function supportMultiTransitions(opts) {
411
+ var i, tx, txs = $.fn.cycle.transitions;
412
+ // look for multiple effects
413
+ if (opts.fx.indexOf(',') > 0) {
414
+ opts.multiFx = true;
415
+ opts.fxs = opts.fx.replace(/\s*/g,'').split(',');
416
+ // discard any bogus effect names
417
+ for (i=0; i < opts.fxs.length; i++) {
418
+ var fx = opts.fxs[i];
419
+ tx = txs[fx];
420
+ if (!tx || !txs.hasOwnProperty(fx) || !$.isFunction(tx)) {
421
+ log('discarding unknown transition: ',fx);
422
+ opts.fxs.splice(i,1);
423
+ i--;
424
+ }
425
+ }
426
+ // if we have an empty list then we threw everything away!
427
+ if (!opts.fxs.length) {
428
+ log('No valid transitions named; slideshow terminating.');
429
+ return false;
430
+ }
431
+ }
432
+ else if (opts.fx == 'all') { // auto-gen the list of transitions
433
+ opts.multiFx = true;
434
+ opts.fxs = [];
435
+ for (p in txs) {
436
+ tx = txs[p];
437
+ if (txs.hasOwnProperty(p) && $.isFunction(tx))
438
+ opts.fxs.push(p);
439
+ }
440
+ }
441
+ if (opts.multiFx && opts.randomizeEffects) {
442
+ // munge the fxs array to make effect selection random
443
+ var r1 = Math.floor(Math.random() * 20) + 30;
444
+ for (i = 0; i < r1; i++) {
445
+ var r2 = Math.floor(Math.random() * opts.fxs.length);
446
+ opts.fxs.push(opts.fxs.splice(r2,1)[0]);
447
+ }
448
+ debug('randomized fx sequence: ',opts.fxs);
449
+ }
450
+ return true;
451
+ };
452
+
453
+ // provide a mechanism for adding slides after the slideshow has started
454
+ function exposeAddSlide(opts, els) {
455
+ opts.addSlide = function(newSlide, prepend) {
456
+ var $s = $(newSlide), s = $s[0];
457
+ if (!opts.autostopCount)
458
+ opts.countdown++;
459
+ els[prepend?'unshift':'push'](s);
460
+ if (opts.els)
461
+ opts.els[prepend?'unshift':'push'](s); // shuffle needs this
462
+ opts.slideCount = els.length;
463
+
464
+ $s.css('position','absolute');
465
+ $s[prepend?'prependTo':'appendTo'](opts.$cont);
466
+
467
+ if (prepend) {
468
+ opts.currSlide++;
469
+ opts.nextSlide++;
470
+ }
471
+
472
+ if (!$.support.opacity && opts.cleartype && !opts.cleartypeNoBg)
473
+ clearTypeFix($s);
474
+
475
+ if (opts.fit && opts.width)
476
+ $s.width(opts.width);
477
+ if (opts.fit && opts.height && opts.height != 'auto')
478
+ $slides.height(opts.height);
479
+ s.cycleH = (opts.fit && opts.height) ? opts.height : $s.height();
480
+ s.cycleW = (opts.fit && opts.width) ? opts.width : $s.width();
481
+
482
+ $s.css(opts.cssBefore);
483
+
484
+ if (opts.pager || opts.pagerAnchorBuilder)
485
+ $.fn.cycle.createPagerAnchor(els.length-1, s, $(opts.pager), els, opts);
486
+
487
+ if ($.isFunction(opts.onAddSlide))
488
+ opts.onAddSlide($s);
489
+ else
490
+ $s.hide(); // default behavior
491
+ };
492
+ }
493
+
494
+ // reset internal state; we do this on every pass in order to support multiple effects
495
+ $.fn.cycle.resetState = function(opts, fx) {
496
+ fx = fx || opts.fx;
497
+ opts.before = []; opts.after = [];
498
+ opts.cssBefore = $.extend({}, opts.original.cssBefore);
499
+ opts.cssAfter = $.extend({}, opts.original.cssAfter);
500
+ opts.animIn = $.extend({}, opts.original.animIn);
501
+ opts.animOut = $.extend({}, opts.original.animOut);
502
+ opts.fxFn = null;
503
+ $.each(opts.original.before, function() { opts.before.push(this); });
504
+ $.each(opts.original.after, function() { opts.after.push(this); });
505
+
506
+ // re-init
507
+ var init = $.fn.cycle.transitions[fx];
508
+ if ($.isFunction(init))
509
+ init(opts.$cont, $(opts.elements), opts);
510
+ };
511
+
512
+ // this is the main engine fn, it handles the timeouts, callbacks and slide index mgmt
513
+ function go(els, opts, manual, fwd) {
514
+ // opts.busy is true if we're in the middle of an animation
515
+ if (manual && opts.busy && opts.manualTrump) {
516
+ // let manual transitions requests trump active ones
517
+ debug('manualTrump in go(), stopping active transition');
518
+ $(els).stop(true,true);
519
+ opts.busy = false;
520
+ }
521
+ // don't begin another timeout-based transition if there is one active
522
+ if (opts.busy) {
523
+ debug('transition active, ignoring new tx request');
524
+ return;
525
+ }
526
+
527
+ var p = opts.$cont[0], curr = els[opts.currSlide], next = els[opts.nextSlide];
528
+
529
+ // stop cycling if we have an outstanding stop request
530
+ if (p.cycleStop != opts.stopCount || p.cycleTimeout === 0 && !manual)
531
+ return;
532
+
533
+ // check to see if we should stop cycling based on autostop options
534
+ if (!manual && !p.cyclePause &&
535
+ ((opts.autostop && (--opts.countdown <= 0)) ||
536
+ (opts.nowrap && !opts.random && opts.nextSlide < opts.currSlide))) {
537
+ if (opts.end)
538
+ opts.end(opts);
539
+ return;
540
+ }
541
+
542
+ // if slideshow is paused, only transition on a manual trigger
543
+ var changed = false;
544
+ if ((manual || !p.cyclePause) && (opts.nextSlide != opts.currSlide)) {
545
+ changed = true;
546
+ var fx = opts.fx;
547
+ // keep trying to get the slide size if we don't have it yet
548
+ curr.cycleH = curr.cycleH || $(curr).height();
549
+ curr.cycleW = curr.cycleW || $(curr).width();
550
+ next.cycleH = next.cycleH || $(next).height();
551
+ next.cycleW = next.cycleW || $(next).width();
552
+
553
+ // support multiple transition types
554
+ if (opts.multiFx) {
555
+ if (opts.lastFx == undefined || ++opts.lastFx >= opts.fxs.length)
556
+ opts.lastFx = 0;
557
+ fx = opts.fxs[opts.lastFx];
558
+ opts.currFx = fx;
559
+ }
560
+
561
+ // one-time fx overrides apply to: $('div').cycle(3,'zoom');
562
+ if (opts.oneTimeFx) {
563
+ fx = opts.oneTimeFx;
564
+ opts.oneTimeFx = null;
565
+ }
566
+
567
+ $.fn.cycle.resetState(opts, fx);
568
+
569
+ // run the before callbacks
570
+ if (opts.before.length)
571
+ $.each(opts.before, function(i,o) {
572
+ if (p.cycleStop != opts.stopCount) return;
573
+ o.apply(next, [curr, next, opts, fwd]);
574
+ });
575
+
576
+ // stage the after callacks
577
+ var after = function() {
578
+ $.each(opts.after, function(i,o) {
579
+ if (p.cycleStop != opts.stopCount) return;
580
+ o.apply(next, [curr, next, opts, fwd]);
581
+ });
582
+ };
583
+
584
+ debug('tx firing; currSlide: ' + opts.currSlide + '; nextSlide: ' + opts.nextSlide);
585
+
586
+ // get ready to perform the transition
587
+ opts.busy = 1;
588
+ if (opts.fxFn) // fx function provided?
589
+ opts.fxFn(curr, next, opts, after, fwd, manual && opts.fastOnEvent);
590
+ else if ($.isFunction($.fn.cycle[opts.fx])) // fx plugin ?
591
+ $.fn.cycle[opts.fx](curr, next, opts, after, fwd, manual && opts.fastOnEvent);
592
+ else
593
+ $.fn.cycle.custom(curr, next, opts, after, fwd, manual && opts.fastOnEvent);
594
+ }
595
+
596
+ if (changed || opts.nextSlide == opts.currSlide) {
597
+ // calculate the next slide
598
+ opts.lastSlide = opts.currSlide;
599
+ if (opts.random) {
600
+ opts.currSlide = opts.nextSlide;
601
+ if (++opts.randomIndex == els.length)
602
+ opts.randomIndex = 0;
603
+ opts.nextSlide = opts.randomMap[opts.randomIndex];
604
+ if (opts.nextSlide == opts.currSlide)
605
+ opts.nextSlide = (opts.currSlide == opts.slideCount - 1) ? 0 : opts.currSlide + 1;
606
+ }
607
+ else { // sequence
608
+ var roll = (opts.nextSlide + 1) == els.length;
609
+ opts.nextSlide = roll ? 0 : opts.nextSlide+1;
610
+ opts.currSlide = roll ? els.length-1 : opts.nextSlide-1;
611
+ }
612
+ }
613
+ if (changed && opts.pager)
614
+ opts.updateActivePagerLink(opts.pager, opts.currSlide, opts.activePagerClass);
615
+
616
+ // stage the next transition
617
+ var ms = 0;
618
+ if (opts.timeout && !opts.continuous)
619
+ ms = getTimeout(curr, next, opts, fwd);
620
+ else if (opts.continuous && p.cyclePause) // continuous shows work off an after callback, not this timer logic
621
+ ms = 10;
622
+ if (ms > 0)
623
+ p.cycleTimeout = setTimeout(function(){ go(els, opts, 0, !opts.rev) }, ms);
624
+ };
625
+
626
+ // invoked after transition
627
+ $.fn.cycle.updateActivePagerLink = function(pager, currSlide, clsName) {
628
+ $(pager).each(function() {
629
+ $(this).children().removeClass(clsName).eq(currSlide).addClass(clsName);
630
+ });
631
+ };
632
+
633
+ // calculate timeout value for current transition
634
+ function getTimeout(curr, next, opts, fwd) {
635
+ if (opts.timeoutFn) {
636
+ // call user provided calc fn
637
+ var t = opts.timeoutFn(curr,next,opts,fwd);
638
+ while ((t - opts.speed) < 250) // sanitize timeout
639
+ t += opts.speed;
640
+ debug('calculated timeout: ' + t + '; speed: ' + opts.speed);
641
+ if (t !== false)
642
+ return t;
643
+ }
644
+ return opts.timeout;
645
+ };
646
+
647
+ // expose next/prev function, caller must pass in state
648
+ $.fn.cycle.next = function(opts) { advance(opts, opts.rev?-1:1); };
649
+ $.fn.cycle.prev = function(opts) { advance(opts, opts.rev?1:-1);};
650
+
651
+ // advance slide forward or back
652
+ function advance(opts, val) {
653
+ var els = opts.elements;
654
+ var p = opts.$cont[0], timeout = p.cycleTimeout;
655
+ if (timeout) {
656
+ clearTimeout(timeout);
657
+ p.cycleTimeout = 0;
658
+ }
659
+ if (opts.random && val < 0) {
660
+ // move back to the previously display slide
661
+ opts.randomIndex--;
662
+ if (--opts.randomIndex == -2)
663
+ opts.randomIndex = els.length-2;
664
+ else if (opts.randomIndex == -1)
665
+ opts.randomIndex = els.length-1;
666
+ opts.nextSlide = opts.randomMap[opts.randomIndex];
667
+ }
668
+ else if (opts.random) {
669
+ opts.nextSlide = opts.randomMap[opts.randomIndex];
670
+ }
671
+ else {
672
+ opts.nextSlide = opts.currSlide + val;
673
+ if (opts.nextSlide < 0) {
674
+ if (opts.nowrap) return false;
675
+ opts.nextSlide = els.length - 1;
676
+ }
677
+ else if (opts.nextSlide >= els.length) {
678
+ if (opts.nowrap) return false;
679
+ opts.nextSlide = 0;
680
+ }
681
+ }
682
+
683
+ var cb = opts.onPrevNextEvent || opts.prevNextClick; // prevNextClick is deprecated
684
+ if ($.isFunction(cb))
685
+ cb(val > 0, opts.nextSlide, els[opts.nextSlide]);
686
+ go(els, opts, 1, val>=0);
687
+ return false;
688
+ };
689
+
690
+ function buildPager(els, opts) {
691
+ var $p = $(opts.pager);
692
+ $.each(els, function(i,o) {
693
+ $.fn.cycle.createPagerAnchor(i,o,$p,els,opts);
694
+ });
695
+ opts.updateActivePagerLink(opts.pager, opts.startingSlide, opts.activePagerClass);
696
+ };
697
+
698
+ $.fn.cycle.createPagerAnchor = function(i, el, $p, els, opts) {
699
+ var a;
700
+ if ($.isFunction(opts.pagerAnchorBuilder)) {
701
+ a = opts.pagerAnchorBuilder(i,el);
702
+ debug('pagerAnchorBuilder('+i+', el) returned: ' + a);
703
+ }
704
+ else
705
+ a = '<a href="#">'+(i+1)+'</a>';
706
+
707
+ if (!a)
708
+ return;
709
+ var $a = $(a);
710
+ // don't reparent if anchor is in the dom
711
+ if ($a.parents('body').length === 0) {
712
+ var arr = [];
713
+ if ($p.length > 1) {
714
+ $p.each(function() {
715
+ var $clone = $a.clone(true);
716
+ $(this).append($clone);
717
+ arr.push($clone[0]);
718
+ });
719
+ $a = $(arr);
720
+ }
721
+ else {
722
+ $a.appendTo($p);
723
+ }
724
+ }
725
+
726
+ opts.pagerAnchors = opts.pagerAnchors || [];
727
+ opts.pagerAnchors.push($a);
728
+ $a.bind(opts.pagerEvent, function(e) {
729
+ e.preventDefault();
730
+ opts.nextSlide = i;
731
+ var p = opts.$cont[0], timeout = p.cycleTimeout;
732
+ if (timeout) {
733
+ clearTimeout(timeout);
734
+ p.cycleTimeout = 0;
735
+ }
736
+ var cb = opts.onPagerEvent || opts.pagerClick; // pagerClick is deprecated
737
+ if ($.isFunction(cb))
738
+ cb(opts.nextSlide, els[opts.nextSlide]);
739
+ go(els,opts,1,opts.currSlide < i); // trigger the trans
740
+ // return false; // <== allow bubble
741
+ });
742
+
743
+ if ( ! /^click/.test(opts.pagerEvent) && !opts.allowPagerClickBubble)
744
+ $a.bind('click.cycle', function(){return false;}); // suppress click
745
+
746
+ if (opts.pauseOnPagerHover)
747
+ $a.hover(function() { opts.$cont[0].cyclePause++; }, function() { opts.$cont[0].cyclePause--; } );
748
+ };
749
+
750
+ // helper fn to calculate the number of slides between the current and the next
751
+ $.fn.cycle.hopsFromLast = function(opts, fwd) {
752
+ var hops, l = opts.lastSlide, c = opts.currSlide;
753
+ if (fwd)
754
+ hops = c > l ? c - l : opts.slideCount - l;
755
+ else
756
+ hops = c < l ? l - c : l + opts.slideCount - c;
757
+ return hops;
758
+ };
759
+
760
+ // fix clearType problems in ie6 by setting an explicit bg color
761
+ // (otherwise text slides look horrible during a fade transition)
762
+ function clearTypeFix($slides) {
763
+ debug('applying clearType background-color hack');
764
+ function hex(s) {
765
+ s = parseInt(s).toString(16);
766
+ return s.length < 2 ? '0'+s : s;
767
+ };
768
+ function getBg(e) {
769
+ for ( ; e && e.nodeName.toLowerCase() != 'html'; e = e.parentNode) {
770
+ var v = $.css(e,'background-color');
771
+ if (v.indexOf('rgb') >= 0 ) {
772
+ var rgb = v.match(/\d+/g);
773
+ return '#'+ hex(rgb[0]) + hex(rgb[1]) + hex(rgb[2]);
774
+ }
775
+ if (v && v != 'transparent')
776
+ return v;
777
+ }
778
+ return '#ffffff';
779
+ };
780
+ $slides.each(function() { $(this).css('background-color', getBg(this)); });
781
+ };
782
+
783
+ // reset common props before the next transition
784
+ $.fn.cycle.commonReset = function(curr,next,opts,w,h,rev) {
785
+ $(opts.elements).not(curr).hide();
786
+ opts.cssBefore.opacity = 1;
787
+ opts.cssBefore.display = 'block';
788
+ if (w !== false && next.cycleW > 0)
789
+ opts.cssBefore.width = next.cycleW;
790
+ if (h !== false && next.cycleH > 0)
791
+ opts.cssBefore.height = next.cycleH;
792
+ opts.cssAfter = opts.cssAfter || {};
793
+ opts.cssAfter.display = 'none';
794
+ $(curr).css('zIndex',opts.slideCount + (rev === true ? 1 : 0));
795
+ $(next).css('zIndex',opts.slideCount + (rev === true ? 0 : 1));
796
+ };
797
+
798
+ // the actual fn for effecting a transition
799
+ $.fn.cycle.custom = function(curr, next, opts, cb, fwd, speedOverride) {
800
+ var $l = $(curr), $n = $(next);
801
+ var speedIn = opts.speedIn, speedOut = opts.speedOut, easeIn = opts.easeIn, easeOut = opts.easeOut;
802
+ $n.css(opts.cssBefore);
803
+ if (speedOverride) {
804
+ if (typeof speedOverride == 'number')
805
+ speedIn = speedOut = speedOverride;
806
+ else
807
+ speedIn = speedOut = 1;
808
+ easeIn = easeOut = null;
809
+ }
810
+ var fn = function() {$n.animate(opts.animIn, speedIn, easeIn, cb)};
811
+ $l.animate(opts.animOut, speedOut, easeOut, function() {
812
+ if (opts.cssAfter) $l.css(opts.cssAfter);
813
+ if (!opts.sync) fn();
814
+ });
815
+ if (opts.sync) fn();
816
+ };
817
+
818
+ // transition definitions - only fade is defined here, transition pack defines the rest
819
+ $.fn.cycle.transitions = {
820
+ fade: function($cont, $slides, opts) {
821
+ $slides.not(':eq('+opts.currSlide+')').css('opacity',0);
822
+ opts.before.push(function(curr,next,opts) {
823
+ $.fn.cycle.commonReset(curr,next,opts);
824
+ opts.cssBefore.opacity = 0;
825
+ });
826
+ opts.animIn = { opacity: 1 };
827
+ opts.animOut = { opacity: 0 };
828
+ opts.cssBefore = { top: 0, left: 0 };
829
+ }
830
+ };
831
+
832
+ $.fn.cycle.ver = function() { return ver; };
833
+
834
+ // override these globally if you like (they are all optional)
835
+ $.fn.cycle.defaults = {
836
+ fx: 'fade', // name of transition effect (or comma separated names, ex: 'fade,scrollUp,shuffle')
837
+ timeout: 4000, // milliseconds between slide transitions (0 to disable auto advance)
838
+ timeoutFn: null, // callback for determining per-slide timeout value: function(currSlideElement, nextSlideElement, options, forwardFlag)
839
+ continuous: 0, // true to start next transition immediately after current one completes
840
+ speed: 1000, // speed of the transition (any valid fx speed value)
841
+ speedIn: null, // speed of the 'in' transition
842
+ speedOut: null, // speed of the 'out' transition
843
+ next: null, // selector for element to use as event trigger for next slide
844
+ prev: null, // selector for element to use as event trigger for previous slide
845
+ // prevNextClick: null, // @deprecated; please use onPrevNextEvent instead
846
+ onPrevNextEvent: null, // callback fn for prev/next events: function(isNext, zeroBasedSlideIndex, slideElement)
847
+ prevNextEvent:'click.cycle',// event which drives the manual transition to the previous or next slide
848
+ pager: null, // selector for element to use as pager container
849
+ //pagerClick null, // @deprecated; please use onPagerEvent instead
850
+ onPagerEvent: null, // callback fn for pager events: function(zeroBasedSlideIndex, slideElement)
851
+ pagerEvent: 'click.cycle', // name of event which drives the pager navigation
852
+ allowPagerClickBubble: false, // allows or prevents click event on pager anchors from bubbling
853
+ pagerAnchorBuilder: null, // callback fn for building anchor links: function(index, DOMelement)
854
+ before: null, // transition callback (scope set to element to be shown): function(currSlideElement, nextSlideElement, options, forwardFlag)
855
+ after: null, // transition callback (scope set to element that was shown): function(currSlideElement, nextSlideElement, options, forwardFlag)
856
+ end: null, // callback invoked when the slideshow terminates (use with autostop or nowrap options): function(options)
857
+ easing: null, // easing method for both in and out transitions
858
+ easeIn: null, // easing for "in" transition
859
+ easeOut: null, // easing for "out" transition
860
+ shuffle: null, // coords for shuffle animation, ex: { top:15, left: 200 }
861
+ animIn: null, // properties that define how the slide animates in
862
+ animOut: null, // properties that define how the slide animates out
863
+ cssBefore: null, // properties that define the initial state of the slide before transitioning in
864
+ cssAfter: null, // properties that defined the state of the slide after transitioning out
865
+ fxFn: null, // function used to control the transition: function(currSlideElement, nextSlideElement, options, afterCalback, forwardFlag)
866
+ height: 'auto', // container height
867
+ startingSlide: 0, // zero-based index of the first slide to be displayed
868
+ sync: 1, // true if in/out transitions should occur simultaneously
869
+ random: 0, // true for random, false for sequence (not applicable to shuffle fx)
870
+ fit: 0, // force slides to fit container
871
+ containerResize: 1, // resize container to fit largest slide
872
+ pause: 0, // true to enable "pause on hover"
873
+ pauseOnPagerHover: 0, // true to pause when hovering over pager link
874
+ autostop: 0, // true to end slideshow after X transitions (where X == slide count)
875
+ autostopCount: 0, // number of transitions (optionally used with autostop to define X)
876
+ delay: 0, // additional delay (in ms) for first transition (hint: can be negative)
877
+ slideExpr: null, // expression for selecting slides (if something other than all children is required)
878
+ cleartype: !$.support.opacity, // true if clearType corrections should be applied (for IE)
879
+ cleartypeNoBg: false, // set to true to disable extra cleartype fixing (leave false to force background color setting on slides)
880
+ nowrap: 0, // true to prevent slideshow from wrapping
881
+ fastOnEvent: 0, // force fast transitions when triggered manually (via pager or prev/next); value == time in ms
882
+ randomizeEffects: 1, // valid when multiple effects are used; true to make the effect sequence random
883
+ rev: 0, // causes animations to transition in reverse
884
+ manualTrump: true, // causes manual transition to stop an active transition instead of being ignored
885
+ requeueOnImageNotLoaded: true, // requeue the slideshow if any image slides are not yet loaded
886
+ requeueTimeout: 250, // ms delay for requeue
887
+ activePagerClass: 'activeSlide', // class name used for the active pager link
888
+ updateActivePagerLink: null // callback fn invoked to update the active pager link (adds/removes activePagerClass style)
889
+ };
890
+
891
+ })(jQuery);
892
+
893
+
894
+ /*!
895
+ * jQuery Cycle Plugin Transition Definitions
896
+ * This script is a plugin for the jQuery Cycle Plugin
897
+ * Examples and documentation at: http://malsup.com/jquery/cycle/
898
+ * Copyright (c) 2007-2008 M. Alsup
899
+ * Version: 2.72
900
+ * Dual licensed under the MIT and GPL licenses:
901
+ * http://www.opensource.org/licenses/mit-license.php
902
+ * http://www.gnu.org/licenses/gpl.html
903
+ */
904
+ (function($) {
905
+
906
+ //
907
+ // These functions define one-time slide initialization for the named
908
+ // transitions. To save file size feel free to remove any of these that you
909
+ // don't need.
910
+ //
911
+ $.fn.cycle.transitions.none = function($cont, $slides, opts) {
912
+ opts.fxFn = function(curr,next,opts,after){
913
+ $(next).show();
914
+ $(curr).hide();
915
+ after();
916
+ };
917
+ }
918
+
919
+ // scrollUp/Down/Left/Right
920
+ $.fn.cycle.transitions.scrollUp = function($cont, $slides, opts) {
921
+ $cont.css('overflow','hidden');
922
+ opts.before.push($.fn.cycle.commonReset);
923
+ var h = $cont.height();
924
+ opts.cssBefore ={ top: h, left: 0 };
925
+ opts.cssFirst = { top: 0 };
926
+ opts.animIn = { top: 0 };
927
+ opts.animOut = { top: -h };
928
+ };
929
+ $.fn.cycle.transitions.scrollDown = function($cont, $slides, opts) {
930
+ $cont.css('overflow','hidden');
931
+ opts.before.push($.fn.cycle.commonReset);
932
+ var h = $cont.height();
933
+ opts.cssFirst = { top: 0 };
934
+ opts.cssBefore= { top: -h, left: 0 };
935
+ opts.animIn = { top: 0 };
936
+ opts.animOut = { top: h };
937
+ };
938
+ $.fn.cycle.transitions.scrollLeft = function($cont, $slides, opts) {
939
+ $cont.css('overflow','hidden');
940
+ opts.before.push($.fn.cycle.commonReset);
941
+ var w = $cont.width();
942
+ opts.cssFirst = { left: 0 };
943
+ opts.cssBefore= { left: w, top: 0 };
944
+ opts.animIn = { left: 0 };
945
+ opts.animOut = { left: 0-w };
946
+ };
947
+ $.fn.cycle.transitions.scrollRight = function($cont, $slides, opts) {
948
+ $cont.css('overflow','hidden');
949
+ opts.before.push($.fn.cycle.commonReset);
950
+ var w = $cont.width();
951
+ opts.cssFirst = { left: 0 };
952
+ opts.cssBefore= { left: -w, top: 0 };
953
+ opts.animIn = { left: 0 };
954
+ opts.animOut = { left: w };
955
+ };
956
+ $.fn.cycle.transitions.scrollHorz = function($cont, $slides, opts) {
957
+ $cont.css('overflow','hidden').width();
958
+ opts.before.push(function(curr, next, opts, fwd) {
959
+ $.fn.cycle.commonReset(curr,next,opts);
960
+ opts.cssBefore.left = fwd ? (next.cycleW-1) : (1-next.cycleW);
961
+ opts.animOut.left = fwd ? -curr.cycleW : curr.cycleW;
962
+ });
963
+ opts.cssFirst = { left: 0 };
964
+ opts.cssBefore= { top: 0 };
965
+ opts.animIn = { left: 0 };
966
+ opts.animOut = { top: 0 };
967
+ };
968
+ $.fn.cycle.transitions.scrollVert = function($cont, $slides, opts) {
969
+ $cont.css('overflow','hidden');
970
+ opts.before.push(function(curr, next, opts, fwd) {
971
+ $.fn.cycle.commonReset(curr,next,opts);
972
+ opts.cssBefore.top = fwd ? (1-next.cycleH) : (next.cycleH-1);
973
+ opts.animOut.top = fwd ? curr.cycleH : -curr.cycleH;
974
+ });
975
+ opts.cssFirst = { top: 0 };
976
+ opts.cssBefore= { left: 0 };
977
+ opts.animIn = { top: 0 };
978
+ opts.animOut = { left: 0 };
979
+ };
980
+
981
+ // slideX/slideY
982
+ $.fn.cycle.transitions.slideX = function($cont, $slides, opts) {
983
+ opts.before.push(function(curr, next, opts) {
984
+ $(opts.elements).not(curr).hide();
985
+ $.fn.cycle.commonReset(curr,next,opts,false,true);
986
+ opts.animIn.width = next.cycleW;
987
+ });
988
+ opts.cssBefore = { left: 0, top: 0, width: 0 };
989
+ opts.animIn = { width: 'show' };
990
+ opts.animOut = { width: 0 };
991
+ };
992
+ $.fn.cycle.transitions.slideY = function($cont, $slides, opts) {
993
+ opts.before.push(function(curr, next, opts) {
994
+ $(opts.elements).not(curr).hide();
995
+ $.fn.cycle.commonReset(curr,next,opts,true,false);
996
+ opts.animIn.height = next.cycleH;
997
+ });
998
+ opts.cssBefore = { left: 0, top: 0, height: 0 };
999
+ opts.animIn = { height: 'show' };
1000
+ opts.animOut = { height: 0 };
1001
+ };
1002
+
1003
+ // shuffle
1004
+ $.fn.cycle.transitions.shuffle = function($cont, $slides, opts) {
1005
+ var i, w = $cont.css('overflow', 'visible').width();
1006
+ $slides.css({left: 0, top: 0});
1007
+ opts.before.push(function(curr,next,opts) {
1008
+ $.fn.cycle.commonReset(curr,next,opts,true,true,true);
1009
+ });
1010
+ // only adjust speed once!
1011
+ if (!opts.speedAdjusted) {
1012
+ opts.speed = opts.speed / 2; // shuffle has 2 transitions
1013
+ opts.speedAdjusted = true;
1014
+ }
1015
+ opts.random = 0;
1016
+ opts.shuffle = opts.shuffle || {left:-w, top:15};
1017
+ opts.els = [];
1018
+ for (i=0; i < $slides.length; i++)
1019
+ opts.els.push($slides[i]);
1020
+
1021
+ for (i=0; i < opts.currSlide; i++)
1022
+ opts.els.push(opts.els.shift());
1023
+
1024
+ // custom transition fn (hat tip to Benjamin Sterling for this bit of sweetness!)
1025
+ opts.fxFn = function(curr, next, opts, cb, fwd) {
1026
+ var $el = fwd ? $(curr) : $(next);
1027
+ $(next).css(opts.cssBefore);
1028
+ var count = opts.slideCount;
1029
+ $el.animate(opts.shuffle, opts.speedIn, opts.easeIn, function() {
1030
+ var hops = $.fn.cycle.hopsFromLast(opts, fwd);
1031
+ for (var k=0; k < hops; k++)
1032
+ fwd ? opts.els.push(opts.els.shift()) : opts.els.unshift(opts.els.pop());
1033
+ if (fwd) {
1034
+ for (var i=0, len=opts.els.length; i < len; i++)
1035
+ $(opts.els[i]).css('z-index', len-i+count);
1036
+ }
1037
+ else {
1038
+ var z = $(curr).css('z-index');
1039
+ $el.css('z-index', parseInt(z)+1+count);
1040
+ }
1041
+ $el.animate({left:0, top:0}, opts.speedOut, opts.easeOut, function() {
1042
+ $(fwd ? this : curr).hide();
1043
+ if (cb) cb();
1044
+ });
1045
+ });
1046
+ };
1047
+ opts.cssBefore = { display: 'block', opacity: 1, top: 0, left: 0 };
1048
+ };
1049
+
1050
+ // turnUp/Down/Left/Right
1051
+ $.fn.cycle.transitions.turnUp = function($cont, $slides, opts) {
1052
+ opts.before.push(function(curr, next, opts) {
1053
+ $.fn.cycle.commonReset(curr,next,opts,true,false);
1054
+ opts.cssBefore.top = next.cycleH;
1055
+ opts.animIn.height = next.cycleH;
1056
+ });
1057
+ opts.cssFirst = { top: 0 };
1058
+ opts.cssBefore = { left: 0, height: 0 };
1059
+ opts.animIn = { top: 0 };
1060
+ opts.animOut = { height: 0 };
1061
+ };
1062
+ $.fn.cycle.transitions.turnDown = function($cont, $slides, opts) {
1063
+ opts.before.push(function(curr, next, opts) {
1064
+ $.fn.cycle.commonReset(curr,next,opts,true,false);
1065
+ opts.animIn.height = next.cycleH;
1066
+ opts.animOut.top = curr.cycleH;
1067
+ });
1068
+ opts.cssFirst = { top: 0 };
1069
+ opts.cssBefore = { left: 0, top: 0, height: 0 };
1070
+ opts.animOut = { height: 0 };
1071
+ };
1072
+ $.fn.cycle.transitions.turnLeft = function($cont, $slides, opts) {
1073
+ opts.before.push(function(curr, next, opts) {
1074
+ $.fn.cycle.commonReset(curr,next,opts,false,true);
1075
+ opts.cssBefore.left = next.cycleW;
1076
+ opts.animIn.width = next.cycleW;
1077
+ });
1078
+ opts.cssBefore = { top: 0, width: 0 };
1079
+ opts.animIn = { left: 0 };
1080
+ opts.animOut = { width: 0 };
1081
+ };
1082
+ $.fn.cycle.transitions.turnRight = function($cont, $slides, opts) {
1083
+ opts.before.push(function(curr, next, opts) {
1084
+ $.fn.cycle.commonReset(curr,next,opts,false,true);
1085
+ opts.animIn.width = next.cycleW;
1086
+ opts.animOut.left = curr.cycleW;
1087
+ });
1088
+ opts.cssBefore = { top: 0, left: 0, width: 0 };
1089
+ opts.animIn = { left: 0 };
1090
+ opts.animOut = { width: 0 };
1091
+ };
1092
+
1093
+ // zoom
1094
+ $.fn.cycle.transitions.zoom = function($cont, $slides, opts) {
1095
+ opts.before.push(function(curr, next, opts) {
1096
+ $.fn.cycle.commonReset(curr,next,opts,false,false,true);
1097
+ opts.cssBefore.top = next.cycleH/2;
1098
+ opts.cssBefore.left = next.cycleW/2;
1099
+ opts.animIn = { top: 0, left: 0, width: next.cycleW, height: next.cycleH };
1100
+ opts.animOut = { width: 0, height: 0, top: curr.cycleH/2, left: curr.cycleW/2 };
1101
+ });
1102
+ opts.cssFirst = { top:0, left: 0 };
1103
+ opts.cssBefore = { width: 0, height: 0 };
1104
+ };
1105
+
1106
+ // fadeZoom
1107
+ $.fn.cycle.transitions.fadeZoom = function($cont, $slides, opts) {
1108
+ opts.before.push(function(curr, next, opts) {
1109
+ $.fn.cycle.commonReset(curr,next,opts,false,false);
1110
+ opts.cssBefore.left = next.cycleW/2;
1111
+ opts.cssBefore.top = next.cycleH/2;
1112
+ opts.animIn = { top: 0, left: 0, width: next.cycleW, height: next.cycleH };
1113
+ });
1114
+ opts.cssBefore = { width: 0, height: 0 };
1115
+ opts.animOut = { opacity: 0 };
1116
+ };
1117
+
1118
+ // blindX
1119
+ $.fn.cycle.transitions.blindX = function($cont, $slides, opts) {
1120
+ var w = $cont.css('overflow','hidden').width();
1121
+ opts.before.push(function(curr, next, opts) {
1122
+ $.fn.cycle.commonReset(curr,next,opts);
1123
+ opts.animIn.width = next.cycleW;
1124
+ opts.animOut.left = curr.cycleW;
1125
+ });
1126
+ opts.cssBefore = { left: w, top: 0 };
1127
+ opts.animIn = { left: 0 };
1128
+ opts.animOut = { left: w };
1129
+ };
1130
+ // blindY
1131
+ $.fn.cycle.transitions.blindY = function($cont, $slides, opts) {
1132
+ var h = $cont.css('overflow','hidden').height();
1133
+ opts.before.push(function(curr, next, opts) {
1134
+ $.fn.cycle.commonReset(curr,next,opts);
1135
+ opts.animIn.height = next.cycleH;
1136
+ opts.animOut.top = curr.cycleH;
1137
+ });
1138
+ opts.cssBefore = { top: h, left: 0 };
1139
+ opts.animIn = { top: 0 };
1140
+ opts.animOut = { top: h };
1141
+ };
1142
+ // blindZ
1143
+ $.fn.cycle.transitions.blindZ = function($cont, $slides, opts) {
1144
+ var h = $cont.css('overflow','hidden').height();
1145
+ var w = $cont.width();
1146
+ opts.before.push(function(curr, next, opts) {
1147
+ $.fn.cycle.commonReset(curr,next,opts);
1148
+ opts.animIn.height = next.cycleH;
1149
+ opts.animOut.top = curr.cycleH;
1150
+ });
1151
+ opts.cssBefore = { top: h, left: w };
1152
+ opts.animIn = { top: 0, left: 0 };
1153
+ opts.animOut = { top: h, left: w };
1154
+ };
1155
+
1156
+ // growX - grow horizontally from centered 0 width
1157
+ $.fn.cycle.transitions.growX = function($cont, $slides, opts) {
1158
+ opts.before.push(function(curr, next, opts) {
1159
+ $.fn.cycle.commonReset(curr,next,opts,false,true);
1160
+ opts.cssBefore.left = this.cycleW/2;
1161
+ opts.animIn = { left: 0, width: this.cycleW };
1162
+ opts.animOut = { left: 0 };
1163
+ });
1164
+ opts.cssBefore = { width: 0, top: 0 };
1165
+ };
1166
+ // growY - grow vertically from centered 0 height
1167
+ $.fn.cycle.transitions.growY = function($cont, $slides, opts) {
1168
+ opts.before.push(function(curr, next, opts) {
1169
+ $.fn.cycle.commonReset(curr,next,opts,true,false);
1170
+ opts.cssBefore.top = this.cycleH/2;
1171
+ opts.animIn = { top: 0, height: this.cycleH };
1172
+ opts.animOut = { top: 0 };
1173
+ });
1174
+ opts.cssBefore = { height: 0, left: 0 };
1175
+ };
1176
+
1177
+ // curtainX - squeeze in both edges horizontally
1178
+ $.fn.cycle.transitions.curtainX = function($cont, $slides, opts) {
1179
+ opts.before.push(function(curr, next, opts) {
1180
+ $.fn.cycle.commonReset(curr,next,opts,false,true,true);
1181
+ opts.cssBefore.left = next.cycleW/2;
1182
+ opts.animIn = { left: 0, width: this.cycleW };
1183
+ opts.animOut = { left: curr.cycleW/2, width: 0 };
1184
+ });
1185
+ opts.cssBefore = { top: 0, width: 0 };
1186
+ };
1187
+ // curtainY - squeeze in both edges vertically
1188
+ $.fn.cycle.transitions.curtainY = function($cont, $slides, opts) {
1189
+ opts.before.push(function(curr, next, opts) {
1190
+ $.fn.cycle.commonReset(curr,next,opts,true,false,true);
1191
+ opts.cssBefore.top = next.cycleH/2;
1192
+ opts.animIn = { top: 0, height: next.cycleH };
1193
+ opts.animOut = { top: curr.cycleH/2, height: 0 };
1194
+ });
1195
+ opts.cssBefore = { left: 0, height: 0 };
1196
+ };
1197
+
1198
+ // cover - curr slide covered by next slide
1199
+ $.fn.cycle.transitions.cover = function($cont, $slides, opts) {
1200
+ var d = opts.direction || 'left';
1201
+ var w = $cont.css('overflow','hidden').width();
1202
+ var h = $cont.height();
1203
+ opts.before.push(function(curr, next, opts) {
1204
+ $.fn.cycle.commonReset(curr,next,opts);
1205
+ if (d == 'right')
1206
+ opts.cssBefore.left = -w;
1207
+ else if (d == 'up')
1208
+ opts.cssBefore.top = h;
1209
+ else if (d == 'down')
1210
+ opts.cssBefore.top = -h;
1211
+ else
1212
+ opts.cssBefore.left = w;
1213
+ });
1214
+ opts.animIn = { left: 0, top: 0};
1215
+ opts.animOut = { opacity: 1 };
1216
+ opts.cssBefore = { top: 0, left: 0 };
1217
+ };
1218
+
1219
+ // uncover - curr slide moves off next slide
1220
+ $.fn.cycle.transitions.uncover = function($cont, $slides, opts) {
1221
+ var d = opts.direction || 'left';
1222
+ var w = $cont.css('overflow','hidden').width();
1223
+ var h = $cont.height();
1224
+ opts.before.push(function(curr, next, opts) {
1225
+ $.fn.cycle.commonReset(curr,next,opts,true,true,true);
1226
+ if (d == 'right')
1227
+ opts.animOut.left = w;
1228
+ else if (d == 'up')
1229
+ opts.animOut.top = -h;
1230
+ else if (d == 'down')
1231
+ opts.animOut.top = h;
1232
+ else
1233
+ opts.animOut.left = -w;
1234
+ });
1235
+ opts.animIn = { left: 0, top: 0 };
1236
+ opts.animOut = { opacity: 1 };
1237
+ opts.cssBefore = { top: 0, left: 0 };
1238
+ };
1239
+
1240
+ // toss - move top slide and fade away
1241
+ $.fn.cycle.transitions.toss = function($cont, $slides, opts) {
1242
+ var w = $cont.css('overflow','visible').width();
1243
+ var h = $cont.height();
1244
+ opts.before.push(function(curr, next, opts) {
1245
+ $.fn.cycle.commonReset(curr,next,opts,true,true,true);
1246
+ // provide default toss settings if animOut not provided
1247
+ if (!opts.animOut.left && !opts.animOut.top)
1248
+ opts.animOut = { left: w*2, top: -h/2, opacity: 0 };
1249
+ else
1250
+ opts.animOut.opacity = 0;
1251
+ });
1252
+ opts.cssBefore = { left: 0, top: 0 };
1253
+ opts.animIn = { left: 0 };
1254
+ };
1255
+
1256
+ // wipe - clip animation
1257
+ $.fn.cycle.transitions.wipe = function($cont, $slides, opts) {
1258
+ var w = $cont.css('overflow','hidden').width();
1259
+ var h = $cont.height();
1260
+ opts.cssBefore = opts.cssBefore || {};
1261
+ var clip;
1262
+ if (opts.clip) {
1263
+ if (/l2r/.test(opts.clip))
1264
+ clip = 'rect(0px 0px '+h+'px 0px)';
1265
+ else if (/r2l/.test(opts.clip))
1266
+ clip = 'rect(0px '+w+'px '+h+'px '+w+'px)';
1267
+ else if (/t2b/.test(opts.clip))
1268
+ clip = 'rect(0px '+w+'px 0px 0px)';
1269
+ else if (/b2t/.test(opts.clip))
1270
+ clip = 'rect('+h+'px '+w+'px '+h+'px 0px)';
1271
+ else if (/zoom/.test(opts.clip)) {
1272
+ var top = parseInt(h/2);
1273
+ var left = parseInt(w/2);
1274
+ clip = 'rect('+top+'px '+left+'px '+top+'px '+left+'px)';
1275
+ }
1276
+ }
1277
+
1278
+ opts.cssBefore.clip = opts.cssBefore.clip || clip || 'rect(0px 0px 0px 0px)';
1279
+
1280
+ var d = opts.cssBefore.clip.match(/(\d+)/g);
1281
+ var t = parseInt(d[0]), r = parseInt(d[1]), b = parseInt(d[2]), l = parseInt(d[3]);
1282
+
1283
+ opts.before.push(function(curr, next, opts) {
1284
+ if (curr == next) return;
1285
+ var $curr = $(curr), $next = $(next);
1286
+ $.fn.cycle.commonReset(curr,next,opts,true,true,false);
1287
+ opts.cssAfter.display = 'block';
1288
+
1289
+ var step = 1, count = parseInt((opts.speedIn / 13)) - 1;
1290
+ (function f() {
1291
+ var tt = t ? t - parseInt(step * (t/count)) : 0;
1292
+ var ll = l ? l - parseInt(step * (l/count)) : 0;
1293
+ var bb = b < h ? b + parseInt(step * ((h-b)/count || 1)) : h;
1294
+ var rr = r < w ? r + parseInt(step * ((w-r)/count || 1)) : w;
1295
+ $next.css({ clip: 'rect('+tt+'px '+rr+'px '+bb+'px '+ll+'px)' });
1296
+ (step++ <= count) ? setTimeout(f, 13) : $curr.css('display', 'none');
1297
+ })();
1298
+ });
1299
+ opts.cssBefore = { display: 'block', opacity: 1, top: 0, left: 0 };
1300
+ opts.animIn = { left: 0 };
1301
+ opts.animOut = { left: 0 };
1302
+ };
1303
+
1304
+ })(jQuery);
skin/frontend/default/hellowired/js/less.min.js ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
1
+ //
2
+ // LESS - Leaner CSS v1.2.2
3
+ // http://lesscss.org
4
+ //
5
+ // Copyright (c) 2009-2011, Alexis Sellier
6
+ // Licensed under the Apache 2.0 License.
7
+ //
8
+ (function(a,b){function c(b){return a.less[b.split("/")[1]]}function m(){var a=document.getElementsByTagName("style");for(var b=0;b<a.length;b++)a[b].type.match(k)&&(new d.Parser).parse(a[b].innerHTML||"",function(c,d){var e=d.toCSS(),f=a[b];f.type="text/css",f.styleSheet?f.styleSheet.cssText=e:f.innerHTML=e})}function n(a,b){for(var c=0;c<d.sheets.length;c++)o(d.sheets[c],a,b,d.sheets.length-(c+1))}function o(b,c,e,f){var g=a.location.href.replace(/[#?].*$/,""),i=b.href.replace(/\?.*$/,""),j=h&&h.getItem(i),k=h&&h.getItem(i+":timestamp"),l={css:j,timestamp:k};/^(https?|file):/.test(i)||(i.charAt(0)=="/"?i=a.location.protocol+"//"+a.location.host+i:i=g.slice(0,g.lastIndexOf("/")+1)+i);var m=i.match(/([^\/]+)$/)[1];s(b.href,b.type,function(a,g){if(!e&&l&&g&&(new Date(g)).valueOf()===(new Date(l.timestamp)).valueOf())r(l.css,b),c(null,null,a,b,{local:!0,remaining:f});else try{(new d.Parser({optimization:d.optimization,paths:[i.replace(/[\w\.-]+$/,"")],mime:b.type,filename:m})).parse(a,function(d,e){if(d)return w(d,i);try{c(d,e,a,b,{local:!1,lastModified:g,remaining:f}),u(document.getElementById("less-error-message:"+q(i)))}catch(d){w(d,i)}})}catch(h){w(h,i)}},function(a,b){throw new Error("Couldn't load "+b+" ("+a+")")})}function q(a){return a.replace(/^[a-z]+:\/\/?[^\/]+/,"").replace(/^\//,"").replace(/\?.*$/,"").replace(/\.[^\.\/]+$/,"").replace(/[^\.\w-]+/g,"-").replace(/\./g,":")}function r(a,b,c){var d,e=b.href?b.href.replace(/\?.*$/,""):"",f="less:"+(b.title||q(e));(d=document.getElementById(f))===null&&(d=document.createElement("style"),d.type="text/css",d.media=b.media||"screen",d.id=f,document.getElementsByTagName("head")[0].appendChild(d));if(d.styleSheet)try{d.styleSheet.cssText=a}catch(g){throw new Error("Couldn't reassign styleSheet.cssText.")}else(function(a){d.childNodes.length>0?d.firstChild.nodeValue!==a.nodeValue&&d.replaceChild(a,d.firstChild):d.appendChild(a)})(document.createTextNode(a));c&&h&&(v("saving "+e+" to cache."),h.setItem(e,a),h.setItem(e+":timestamp",c))}function s(a,b,c,e){function i(b,c,d){b.status>=200&&b.status<300?c(b.responseText,b.getResponseHeader("Last-Modified")):typeof d=="function"&&d(b.status,a)}var f=t(),h=g?!1:d.async;typeof f.overrideMimeType=="function"&&f.overrideMimeType("text/css"),f.open("GET",a,h),f.setRequestHeader("Accept",b||"text/x-less, text/css; q=0.9, */*; q=0.5"),f.send(null),g?f.status===0||f.status>=200&&f.status<300?c(f.responseText):e(f.status,a):h?f.onreadystatechange=function(){f.readyState==4&&i(f,c,e)}:i(f,c,e)}function t(){if(a.XMLHttpRequest)return new XMLHttpRequest;try{return new ActiveXObject("MSXML2.XMLHTTP.3.0")}catch(b){return v("browser doesn't support AJAX."),null}}function u(a){return a&&a.parentNode.removeChild(a)}function v(a){d.env=="development"&&typeof console!="undefined"&&console.log("less: "+a)}function w(a,b){var c="less-error-message:"+q(b),e='<li><label>{line}</label><pre class="{class}">{content}</pre></li>',f=document.createElement("div"),g,h,i=[],j=a.filename||b;f.id=c,f.className="less-error-message",h="<h3>"+(a.message||"There is an error in your .less file")+"</h3>"+'<p>in <a href="'+j+'">'+j+"</a> ";var k=function(a,b,c){a.extract[b]&&i.push(e.replace(/\{line\}/,parseInt(a.line)+(b-1)).replace(/\{class\}/,c).replace(/\{content\}/,a.extract[b]))};a.stack?h+="<br/>"+a.stack.split("\n").slice(1).join("<br/>"):a.extract&&(k(a,0,""),k(a,1,"line"),k(a,2,""),h+="on line "+a.line+", column "+(a.column+1)+":</p>"+"<ul>"+i.join("")+"</ul>"),f.innerHTML=h,r([".less-error-message ul, .less-error-message li {","list-style-type: none;","margin-right: 15px;","padding: 4px 0;","margin: 0;","}",".less-error-message label {","font-size: 12px;","margin-right: 15px;","padding: 4px 0;","color: #cc7777;","}",".less-error-message pre {","color: #dd6666;","padding: 4px 0;","margin: 0;","display: inline-block;","}",".less-error-message pre.line {","color: #ff0000;","}",".less-error-message h3 {","font-size: 20px;","font-weight: bold;","padding: 15px 0 5px 0;","margin: 0;","}",".less-error-message a {","color: #10a","}",".less-error-message .error {","color: red;","font-weight: bold;","padding-bottom: 2px;","border-bottom: 1px dashed red;","}"].join("\n"),{title:"error-message"}),f.style.cssText=["font-family: Arial, sans-serif","border: 1px solid #e00","background-color: #eee","border-radius: 5px","-webkit-border-radius: 5px","-moz-border-radius: 5px","color: #e00","padding: 15px","margin-bottom: 15px"].join(";"),d.env=="development"&&(g=setInterval(function(){document.body&&(document.getElementById(c)?document.body.replaceChild(f,document.getElementById(c)):document.body.insertBefore(f,document.body.firstChild),clearInterval(g))},10))}typeof define=="function"&&define.amd&&define("less",[],function(){return d}),Array.isArray||(Array.isArray=function(a){return Object.prototype.toString.call(a)==="[object Array]"||a instanceof Array}),Array.prototype.forEach||(Array.prototype.forEach=function(a,b){var c=this.length>>>0;for(var d=0;d<c;d++)d in this&&a.call(b,this[d],d,this)}),Array.prototype.map||(Array.prototype.map=function(a){var b=this.length>>>0,c=new Array(b),d=arguments[1];for(var e=0;e<b;e++)e in this&&(c[e]=a.call(d,this[e],e,this));return c}),Array.prototype.filter||(Array.prototype.filter=function(a){var b=[],c=arguments[1];for(var d=0;d<this.length;d++)a.call(c,this[d])&&b.push(this[d]);return b}),Array.prototype.reduce||(Array.prototype.reduce=function(a){var b=this.length>>>0,c=0;if(b===0&&arguments.length===1)throw new TypeError;if(arguments.length>=2)var d=arguments[1];else do{if(c in this){d=this[c++];break}if(++c>=b)throw new TypeError}while(!0);for(;c<b;c++)c in this&&(d=a.call(null,d,this[c],c,this));return d}),Array.prototype.indexOf||(Array.prototype.indexOf=function(a){var b=this.length,c=arguments[1]||0;if(!b)return-1;if(c>=b)return-1;c<0&&(c+=b);for(;c<b;c++){if(!Object.prototype.hasOwnProperty.call(this,c))continue;if(a===this[c])return c}return-1}),Object.keys||(Object.keys=function(a){var b=[];for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&b.push(c);return b}),String.prototype.trim||(String.prototype.trim=function(){return String(this).replace(/^\s\s*/,"").replace(/\s\s*$/,"")});var d,f;typeof environment=="object"&&{}.toString.call(environment)==="[object Environment]"?(typeof a=="undefined"?d={}:d=a.less={},f=d.tree={},d.mode="rhino"):typeof a=="undefined"?(d=exports,f=c("./tree"),d.mode="node"):(typeof a.less=="undefined"&&(a.less={}),d=a.less,f=a.less.tree={},d.mode="browser"),d.Parser=function(b){function t(){j=m[i],k=h,n=h}function u(){m[i]=j,h=k,n=h}function v(){h>n&&(m[i]=m[i].slice(h-n),n=h)}function w(a){var b,c,d,e,f,j,k,l;if(a instanceof Function)return a.call(o.parsers);if(typeof a=="string")b=g.charAt(h)===a?a:null,d=1,v();else{v();if(!(b=a.exec(m[i])))return null;d=b[0].length}if(b){l=h+=d,j=h+m[i].length-d;while(h<j){e=g.charCodeAt(h);if(e!==32&&e!==10&&e!==9)break;h++}return m[i]=m[i].slice(d+(h-l)),n=h,m[i].length===0&&i<m.length-1&&i++,typeof b=="string"?b:b.length===1?b[0]:b}}function x(a,b){var c=w(a);if(!!c)return c;y(b||(typeof a=="string"?"expected '"+a+"' got '"+g.charAt(h)+"'":"unexpected token"))}function y(a,b){throw{index:h,type:b||"Syntax",message:a}}function z(a){return typeof a=="string"?g.charAt(h)===a:a.test(m[i])?!0:!1}function A(a){return d.mode==="node"?c("path").basename(a):a.match(/[^\/]+$/)[0]}function B(a,b){return a.filename&&b.filename&&a.filename!==b.filename?o.imports.contents[A(a.filename)]:g}function C(a,b){for(var c=a,d=-1;c>=0&&b.charAt(c)!=="\n";c--)d++;return{line:typeof a=="number"?(b.slice(0,a).match(/\n/g)||"").length:null,column:d}}function D(a,b){var c=B(a,b),d=C(a.index,c),e=d.line,f=d.column,g=c.split("\n");this.type=a.type||"Syntax",this.message=a.message,this.filename=a.filename||b.filename,this.index=a.index,this.line=typeof e=="number"?e+1:null,this.callLine=a.call&&C(a.call,c)+1,this.callExtract=g[C(a.call,c)],this.stack=a.stack,this.column=f,this.extract=[g[e-1],g[e],g[e+1]]}var g,h,i,j,k,l,m,n,o,q=this,r=function(){},s=this.imports={paths:b&&b.paths||[],queue:[],files:{},contents:{},mime:b&&b.mime,error:null,push:function(a,c){var e=this;this.queue.push(a),d.Parser.importer(a,this.paths,function(b,d,f){e.queue.splice(e.queue.indexOf(a),1),e.files[a]=d,e.contents[a]=f,b&&!e.error&&(e.error=b),c(b,d),e.queue.length===0&&r()},b)}};return this.env=b=b||{},this.optimization="optimization"in this.env?this.env.optimization:1,this.env.filename=this.env.filename||null,o={imports:s,parse:function(a,e){var j,k,p,q,s,t,u=[],v,x=null;h=i=n=l=0,g=a.replace(/\r\n/g,"\n"),m=function(a){var c=0,d=/[^"'`\{\}\/\(\)\\]+/g,e=/\/\*(?:[^*]|\*+[^\/*])*\*+\/|\/\/.*/g,f=/"((?:[^"\\\r\n]|\\.)*)"|'((?:[^'\\\r\n]|\\.)*)'|`((?:[^`\\\r\n]|\\.)*)`/g,h=0,i,j=a[0],k;for(var l=0,m,n;l<g.length;l++){d.lastIndex=l,(i=d.exec(g))&&i.index===l&&(l+=i[0].length,j.push(i[0])),m=g.charAt(l),e.lastIndex=f.lastIndex=l,(i=f.exec(g))&&i.index===l&&(l+=i[0].length,j.push(i[0]),m=g.charAt(l)),!k&&m==="/"&&(n=g.charAt(l+1),(n==="/"||n==="*")&&(i=e.exec(g))&&i.index===l&&(l+=i[0].length,j.push(i[0]),m=g.charAt(l)));switch(m){case"{":if(!k){h++,j.push(m);break};case"}":if(!k){h--,j.push(m),a[++c]=j=[];break};case"(":if(!k){k=!0,j.push(m);break};case")":if(k){k=!1,j.push(m);break};default:j.push(m)}}return h>0&&(x=new D({index:l,type:"Parse",message:"missing closing `}`",filename:b.filename},b)),a.map(function(a){return a.join("")})}([[]]);if(x)return e(x);try{j=new f.Ruleset([],w(this.parsers.primary)),j.root=!0}catch(y){return e(new D(y,b))}j.toCSS=function(a){var e,g,h;return function(e,g){var h=[],i;e=e||{},typeof g=="object"&&!Array.isArray(g)&&(g=Object.keys(g).map(function(a){var b=g[a];return b instanceof f.Value||(b instanceof f.Expression||(b=new f.Expression([b])),b=new f.Value([b])),new f.Rule("@"+a,b,!1,0)}),h=[new f.Ruleset(null,g)]);try{var j=a.call(this,{frames:h}).toCSS([],{compress:e.compress||!1})}catch(k){throw new D(k,b)}if(i=o.imports.error)throw i instanceof D?i:new D(i,b);return e.yuicompress&&d.mode==="node"?c("./cssmin").compressor.cssmin(j):e.compress?j.replace(/(\s)+/g,"$1"):j}}(j.eval);if(h<g.length-1){h=l,t=g.split("\n"),s=(g.slice(0,h).match(/\n/g)||"").length+1;for(var z=h,A=-1;z>=0&&g.charAt(z)!=="\n";z--)A++;x={type:"Parse",message:"Syntax Error on line "+s,index:h,filename:b.filename,line:s,column:A,extract:[t[s-2],t[s-1],t[s]]}}this.imports.queue.length>0?r=function(){e(x,j)}:e(x,j)},parsers:{primary:function(){var a,b=[];while((a=w(this.mixin.definition)||w(this.rule)||w(this.ruleset)||w(this.mixin.call)||w(this.comment)||w(this.directive))||w(/^[\s\n]+/))a&&b.push(a);return b},comment:function(){var a;if(g.charAt(h)!=="/")return;if(g.charAt(h+1)==="/")return new f.Comment(w(/^\/\/.*/),!0);if(a=w(/^\/\*(?:[^*]|\*+[^\/*])*\*+\/\n?/))return new f.Comment(a)},entities:{quoted:function(){var a,b=h,c;g.charAt(b)==="~"&&(b++,c=!0);if(g.charAt(b)!=='"'&&g.charAt(b)!=="'")return;c&&w("~");if(a=w(/^"((?:[^"\\\r\n]|\\.)*)"|'((?:[^'\\\r\n]|\\.)*)'/))return new f.Quoted(a[0],a[1]||a[2],c)},keyword:function(){var a;if(a=w(/^[_A-Za-z-][_A-Za-z0-9-]*/))return f.colors.hasOwnProperty(a)?new f.Color(f.colors[a].slice(1)):new f.Keyword(a)},call:function(){var a,c,d=h;if(!(a=/^([\w-]+|%|progid:[\w\.]+)\(/.exec(m[i])))return;a=a[1].toLowerCase();if(a==="url")return null;h+=a.length;if(a==="alpha")return w(this.alpha);w("("),c=w(this.entities.arguments);if(!w(")"))return;if(a)return new f.Call(a,c,d,b.filename)},arguments:function(){var a=[],b;while(b=w(this.entities.assignment)||w(this.expression)){a.push(b);if(!w(","))break}return a},literal:function(){return w(this.entities.dimension)||w(this.entities.color)||w(this.entities.quoted)},assignment:function(){var a,b;if((a=w(/^\w+(?=\s?=)/i))&&w("=")&&(b=w(this.entity)))return new f.Assignment(a,b)},url:function(){var a;if(g.charAt(h)!=="u"||!w(/^url\(/))return;return a=w(this.entities.quoted)||w(this.entities.variable)||w(this.entities.dataURI)||w(/^[-\w%@$\/.&=:;#+?~]+/)||"",x(")"),new f.URL(a.value||a.data||a instanceof f.Variable?a:new f.Anonymous(a),s.paths)},dataURI:function(){var a;if(w(/^data:/)){a={},a.mime=w(/^[^\/]+\/[^,;)]+/)||"",a.charset=w(/^;\s*charset=[^,;)]+/)||"",a.base64=w(/^;\s*base64/)||"",a.data=w(/^,\s*[^)]+/);if(a.data)return a}},variable:function(){var a,c=h;if(g.charAt(h)==="@"&&(a=w(/^@@?[\w-]+/)))return new f.Variable(a,c,b.filename)},color:function(){var a;if(g.charAt(h)==="#"&&(a=w(/^#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})/)))return new f.Color(a[1])},dimension:function(){var a,b=g.charCodeAt(h);if(b>57||b<45||b===47)return;if(a=w(/^(-?\d*\.?\d+)(px|%|em|rem|pc|ex|in|deg|s|ms|pt|cm|mm|rad|grad|turn)?/))return new f.Dimension(a[1],a[2])},javascript:function(){var a,b=h,c;g.charAt(b)==="~"&&(b++,c=!0);if(g.charAt(b)!=="`")return;c&&w("~");if(a=w(/^`([^`]*)`/))return new f.JavaScript(a[1],h,c)}},variable:function(){var a;if(g.charAt(h)==="@"&&(a=w(/^(@[\w-]+)\s*:/)))return a[1]},shorthand:function(){var a,b;if(!z(/^[@\w.%-]+\/[@\w.-]+/))return;if((a=w(this.entity))&&w("/")&&(b=w(this.entity)))return new f.Shorthand(a,b)},mixin:{call:function(){var a=[],c,d,e,i=h,j=g.charAt(h),k=!1;if(j!=="."&&j!=="#")return;while(c=w(/^[#.](?:[\w-]|\\(?:[a-fA-F0-9]{1,6} ?|[^a-fA-F0-9]))+/))a.push(new f.Element(d,c,h)),d=w(">");w("(")&&(e=w(this.entities.arguments))&&w(")"),w(this.important)&&(k=!0);if(a.length>0&&(w(";")||z("}")))return new f.mixin.Call(a,e,i,b.filename,k)},definition:function(){var a,b=[],c,d,e,i,j;if(g.charAt(h)!=="."&&g.charAt(h)!=="#"||z(/^[^{]*(;|})/))return;t();if(c=w(/^([#.](?:[\w-]|\\(?:[a-fA-F0-9]{1,6} ?|[^a-fA-F0-9]))+)\s*\(/)){a=c[1];while(e=w(this.entities.variable)||w(this.entities.literal)||w(this.entities.keyword)){e instanceof f.Variable?w(":")?(i=x(this.expression,"expected expression"),b.push({name:e.name,value:i})):b.push({name:e.name}):b.push({value:e});if(!w(","))break}x(")"),w(/^when/)&&(j=x(this.conditions,"expected condition")),d=w(this.block);if(d)return new f.mixin.Definition(a,b,d,j);u()}}},entity:function(){return w(this.entities.literal)||w(this.entities.variable)||w(this.entities.url)||w(this.entities.call)||w(this.entities.keyword)||w(this.entities.javascript)||w(this.comment)},end:function(){return w(";")||z("}")},alpha:function(){var a;if(!w(/^\(opacity=/i))return;if(a=w(/^\d+/)||w(this.entities.variable))return x(")"),new f.Alpha(a)},element:function(){var a,b,c,d;c=w(this.combinator),a=w(/^(?:\d+\.\d+|\d+)%/)||w(/^(?:[.#]?|:*)(?:[\w-]|\\(?:[a-fA-F0-9]{1,6} ?|[^a-fA-F0-9]))+/)||w("*")||w(this.attribute)||w(/^\([^)@]+\)/),a||w("(")&&(d=w(this.entities.variable))&&w(")")&&(a=new f.Paren(d));if(a)return new f.Element(c,a,h);if(c.value&&c.value.charAt(0)==="&")return new f.Element(c,null,h)},combinator:function(){var a,b=g.charAt(h);if(b===">"||b==="+"||b==="~"){h++;while(g.charAt(h)===" ")h++;return new f.Combinator(b)}if(b==="&"){a="&",h++,g.charAt(h)===" "&&(a="& ");while(g.charAt(h)===" ")h++;return new f.Combinator(a)}if(b===":"&&g.charAt(h+1)===":"){h+=2;while(g.charAt(h)===" ")h++;return new f.Combinator("::")}return g.charAt(h-1)===" "?new f.Combinator(" "):new f.Combinator(null)},selector:function(){var a,b,c=[],d,e;while(b=w(this.element)){d=g.charAt(h),c.push(b);if(d==="{"||d==="}"||d===";"||d===",")break}if(c.length>0)return new f.Selector(c)},tag:function(){return w(/^[a-zA-Z][a-zA-Z-]*[0-9]?/)||w("*")},attribute:function(){var a="",b,c,d;if(!w("["))return;if(b=w(/^[a-zA-Z-]+/)||w(this.entities.quoted))(d=w(/^[|~*$^]?=/))&&(c=w(this.entities.quoted)||w(/^[\w-]+/))?a=[b,d,c.toCSS?c.toCSS():c].join(""):a=b;if(!w("]"))return;if(a)return"["+a+"]"},block:function(){var a;if(w("{")&&(a=w(this.primary))&&w("}"))return a},ruleset:function(){var a=[],b,c,d;t();while(b=w(this.selector)){a.push(b),w(this.comment);if(!w(","))break;w(this.comment)}if(a.length>0&&(c=w(this.block)))return new f.Ruleset(a,c);l=h,u()},rule:function(){var a,b,c=g.charAt(h),d,e;t();if(c==="."||c==="#"||c==="&")return;if(a=w(this.variable)||w(this.property)){a.charAt(0)!="@"&&(e=/^([^@+\/'"*`(;{}-]*);/.exec(m[i]))?(h+=e[0].length-1,b=new f.Anonymous(e[1])):a==="font"?b=w(this.font):b=w(this.value),d=w(this.important);if(b&&w(this.end))return new f.Rule(a,b,d,k);l=h,u()}},"import":function(){var a,b,c=h;if(w(/^@import\s+/)&&(a=w(this.entities.quoted)||w(this.entities.url))){b=w(this.mediaFeatures);if(w(";"))return new f.Import(a,s,b,c)}},mediaFeature:function(){var a=[];do if(e=w(this.entities.keyword))a.push(e);else if(w("(")){p=w(this.property),e=w(this.entity);if(!w(")"))return null;if(p&&e)a.push(new f.Paren(new f.Rule(p,e,null,h,!0)));else{if(!e)return null;a.push(new f.Paren(e))}}while(e);if(a.length>0)return new f.Expression(a)},mediaFeatures:function(){var a,b=[];while(a=w(this.mediaFeature)){b.push(a);if(!w(","))break}return b.length>0?b:null},media:function(){var a;if(w(/^@media/)){a=w(this.mediaFeatures);if(rules=w(this.block))return new f.Directive("@media",rules,a)}},directive:function(){var a,b,c,d,e,i;if(g.charAt(h)!=="@")return;if(b=w(this["import"])||w(this.media))return b;if(a=w(/^@page|@keyframes/)||w(/^@(?:-webkit-|-moz-|-o-|-ms-)[a-z0-9-]+/)){d=(w(/^[^{]+/)||"").trim();if(c=w(this.block))return new f.Directive(a+" "+d,c)}else if(a=w(/^@[-a-z]+/))if(a==="@font-face"){if(c=w(this.block))return new f.Directive(a,c)}else if((b=w(this.entity))&&w(";"))return new f.Directive(a,b)},font:function(){var a=[],b=[],c,d,e,g;while(g=w(this.shorthand)||w(this.entity))b.push(g);a.push(new f.Expression(b));if(w(","))while(g=w(this.expression)){a.push(g);if(!w(","))break}return new f.Value(a)},value:function(){var a,b=[],c;while(a=w(this.expression)){b.push(a);if(!w(","))break}if(b.length>0)return new f.Value(b)},important:function(){if(g.charAt(h)==="!")return w(/^! *important/)},sub:function(){var a;if(w("(")&&(a=w(this.expression))&&w(")"))return a},multiplication:function(){var a,b,c,d;if(a=w(this.operand)){while(!z(/^\/\*/)&&(c=w("/")||w("*"))&&(b=w(this.operand)))d=new f.Operation(c,[d||a,b]);return d||a}},addition:function(){var a,b,c,d;if(a=w(this.multiplication)){while((c=w(/^[-+]\s+/)||g.charAt(h-1)!=" "&&(w("+")||w("-")))&&(b=w(this.multiplication)))d=new f.Operation(c,[d||a,b]);return d||a}},conditions:function(){var a,b,c=h,d;if(a=w(this.condition)){while(w(",")&&(b=w(this.condition)))d=new f.Condition("or",d||a,b,c);return d||a}},condition:function(){var a,b,c,d,e=h,g=!1;w(/^not/)&&(g=!0),x("(");if(a=w(this.addition)||w(this.entities.keyword)||w(this.entities.quoted))return(d=w(/^(?:>=|=<|[<=>])/))?(b=w(this.addition)||w(this.entities.keyword)||w(this.entities.quoted))?c=new f.Condition(d,a,b,e,g):y("expected expression"):c=new f.Condition("=",a,new f.Keyword("true"),e,g),x(")"),w(/^and/)?new f.Condition("and",c,w(this.condition)):c},operand:function(){var a,b=g.charAt(h+1);g.charAt(h)==="-"&&(b==="@"||b==="(")&&(a=w("-"));var c=w(this.sub)||w(this.entities.dimension)||w(this.entities.color)||w(this.entities.variable)||w(this.entities.call);return a?new f.Operation("*",[new f.Dimension(-1),c]):c},expression:function(){var a,b,c=[],d;while(a=w(this.addition)||w(this.entity))c.push(a);if(c.length>0)return new f.Expression(c)},property:function(){var a;if(a=w(/^(\*?-?[-a-z_0-9]+)\s*:/))return a[1]}}}};if(d.mode==="browser"||d.mode==="rhino")d.Parser.importer=function(a,b,c,d){!/^([a-z]+:)?\//.test(a)&&b.length>0&&(a=b[0]+a),o({href:a,title:a,type:d.mime},function(e){e&&typeof d.errback=="function"?d.errback.call(null,a,b,c,d):c.apply(null,arguments)},!0)};(function(a){function b(b){return a.functions.hsla(b.h,b.s,b.l,b.a)}function c(b){if(b instanceof a.Dimension)return parseFloat(b.unit=="%"?b.value/100:b.value);if(typeof b=="number")return b;throw{error:"RuntimeError",message:"color functions take numbers as parameters"}}function d(a){return Math.min(1,Math.max(0,a))}a.functions={rgb:function(a,b,c){return this.rgba(a,b,c,1)},rgba:function(b,d,e,f){var g=[b,d,e].map(function(a){return c(a)}),f=c(f);return new a.Color(g,f)},hsl:function(a,b,c){return this.hsla(a,b,c,1)},hsla:function(a,b,d,e){function h(a){return a=a<0?a+1:a>1?a-1:a,a*6<1?g+(f-g)*a*6:a*2<1?f:a*3<2?g+(f-g)*(2/3-a)*6:g}a=c(a)%360/360,b=c(b),d=c(d),e=c(e);var f=d<=.5?d*(b+1):d+b-d*b,g=d*2-f;return this.rgba(h(a+1/3)*255,h(a)*255,h(a-1/3)*255,e)},hue:function(b){return new a.Dimension(Math.round(b.toHSL().h))},saturation:function(b){return new a.Dimension(Math.round(b.toHSL().s*100),"%")},lightness:function(b){return new a.Dimension(Math.round(b.toHSL().l*100),"%")},alpha:function(b){return new a.Dimension(b.toHSL().a)},saturate:function(a,c){var e=a.toHSL();return e.s+=c.value/100,e.s=d(e.s),b(e)},desaturate:function(a,c){var e=a.toHSL();return e.s-=c.value/100,e.s=d(e.s),b(e)},lighten:function(a,c){var e=a.toHSL();return e.l+=c.value/100,e.l=d(e.l),b(e)},darken:function(a,c){var e=a.toHSL();return e.l-=c.value/100,e.l=d(e.l),b(e)},fadein:function(a,c){var e=a.toHSL();return e.a+=c.value/100,e.a=d(e.a),b(e)},fadeout:function(a,c){var e=a.toHSL();return e.a-=c.value/100,e.a=d(e.a),b(e)},fade:function(a,c){var e=a.toHSL();return e.a=c.value/100,e.a=d(e.a),b(e)},spin:function(a,c){var d=a.toHSL(),e=(d.h+c.value)%360;return d.h=e<0?360+e:e,b(d)},mix:function(b,c,d){var e=d.value/100,f=e*2-1,g=b.toHSL().a-c.toHSL().a,h=((f*g==-1?f:(f+g)/(1+f*g))+1)/2,i=1-h,j=[b.rgb[0]*h+c.rgb[0]*i,b.rgb[1]*h+c.rgb[1]*i,b.rgb[2]*h+c.rgb[2]*i],k=b.alpha*e+c.alpha*(1-e);return new a.Color(j,k)},greyscale:function(b){return this.desaturate(b,new a.Dimension(100))},e:function(b){return new a.Anonymous(b instanceof a.JavaScript?b.evaluated:b)},escape:function(b){return new a.Anonymous(encodeURI(b.value).replace(/=/g,"%3D").replace(/:/g,"%3A").replace(/#/g,"%23").replace(/;/g,"%3B").replace(/\(/g,"%28").replace(/\)/g,"%29"))},"%":function(b){var c=Array.prototype.slice.call(arguments,1),d=b.value;for(var e=0;e<c.length;e++)d=d.replace(/%[sda]/i,function(a){var b=a.match(/s/i)?c[e].value:c[e].toCSS();return a.match(/[A-Z]$/)?encodeURIComponent(b):b});return d=d.replace(/%%/g,"%"),new a.Quoted('"'+d+'"',d)},round:function(a){return this._math("round",a)},ceil:function(a){return this._math("ceil",a)},floor:function(a){return this._math("floor",a)},_math:function(b,d){if(d instanceof a.Dimension)return new a.Dimension(Math[b](c(d)),d.unit);if(typeof d=="number")return Math[b](d);throw{type:"Argument",message:"argument must be a number"}},argb:function(b){return new a.Anonymous(b.toARGB())},percentage:function(b){return new a.Dimension(b.value*100,"%")},color:function(b){if(b instanceof a.Quoted)return new a.Color(b.value.slice(1));throw{type:"Argument",message:"argument must be a string"}},iscolor:function(b){return this._isa(b,a.Color)},isnumber:function(b){return this._isa(b,a.Dimension)},isstring:function(b){return this._isa(b,a.Quoted)},iskeyword:function(b){return this._isa(b,a.Keyword)},isurl:function(b){return this._isa(b,a.URL)},ispixel:function(b){return b instanceof a.Dimension&&b.unit==="px"?a.True:a.False},ispercentage:function(b){return b instanceof a.Dimension&&b.unit==="%"?a.True:a.False},isem:function(b){return b instanceof a.Dimension&&b.unit==="em"?a.True:a.False},_isa:function(b,c){return b instanceof c?a.True:a.False}}})(c("./tree")),function(a){a.colors={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgrey:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",grey:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgrey:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370d8",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#d87093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"}}(c("./tree")),function(a){a.Alpha=function(a){this.value=a},a.Alpha.prototype={toCSS:function(){return"alpha(opacity="+(this.value.toCSS?this.value.toCSS():this.value)+")"},eval:function(a){return this.value.eval&&(this.value=this.value.eval(a)),this}}}(c("../tree")),function(a){a.Anonymous=function(a){this.value=a.value||a},a.Anonymous.prototype={toCSS:function(){return this.value},eval:function(){return this}}}(c("../tree")),function(a){a.Assignment=function(a,b){this.key=a,this.value=b},a.Assignment.prototype={toCSS:function(){return this.key+"="+(this.value.toCSS?this.value.toCSS():this.value)},eval:function(a){return this.value.eval&&(this.value=this.value.eval(a)),this}}}(c("../tree")),function(a){a.Call=function(a,b,c,d){this.name=a,this.args=b,this.index=c,this.filename=d},a.Call.prototype={eval:function(b){var c=this.args.map(function(a){return a.eval(b)});if(!(this.name in a.functions))return new a.Anonymous(this.name+"("+c.map(function(a){return a.toCSS()}).join(", ")+")");try{return a.functions[this.name].apply(a.functions,c)}catch(d){throw{type:d.type||"Runtime",message:"error evaluating function `"+this.name+"`"+(d.message?": "+d.message:""),index:this.index,filename:this.filename}}},toCSS:function(a){return this.eval(a).toCSS()}}}(c("../tree")),function(a){a.Color=function(a,b){Array.isArray(a)?this.rgb=a:a.length==6?this.rgb=a.match(/.{2}/g).map(function(a){return parseInt(a,16)}):this.rgb=a.split("").map(function(a){return parseInt(a+a,16)}),this.alpha=typeof b=="number"?b:1},a.Color.prototype={eval:function(){return this},toCSS:function(){return this.alpha<1?"rgba("+this.rgb.map(function(a){return Math.round(a)}).concat(this.alpha).join(", ")+")":"#"+this.rgb.map(function(a){return a=Math.round(a),a=(a>255?255:a<0?0:a).toString(16),a.length===1?"0"+a:a}).join("")},operate:function(b,c){var d=[];c instanceof a.Color||(c=c.toColor());for(var e=0;e<3;e++)d[e]=a.operate(b,this.rgb[e],c.rgb[e]);return new a.Color(d,this.alpha+c.alpha)},toHSL:function(){var a=this.rgb[0]/255,b=this.rgb[1]/255,c=this.rgb[2]/255,d=this.alpha,e=Math.max(a,b,c),f=Math.min(a,b,c),g,h,i=(e+f)/2,j=e-f;if(e===f)g=h=0;else{h=i>.5?j/(2-e-f):j/(e+f);switch(e){case a:g=(b-c)/j+(b<c?6:0);break;case b:g=(c-a)/j+2;break;case c:g=(a-b)/j+4}g/=6}return{h:g*360,s:h,l:i,a:d}},toARGB:function(){var a=[Math.round(this.alpha*255)].concat(this.rgb);return"#"+a.map(function(a){return a=Math.round(a),a=(a>255?255:a<0?0:a).toString(16),a.length===1?"0"+a:a}).join("")}}}(c("../tree")),function(a){a.Comment=function(a,b){this.value=a,this.silent=!!b},a.Comment.prototype={toCSS:function(a){return a.compress?"":this.value},eval:function(){return this}}}(c("../tree")),function(a){a.Condition=function(a,b,c,d,e){this.op=a.trim(),this.lvalue=b,this.rvalue=c,this.index=d,this.negate=e},a.Condition.prototype.eval=function(a){var b=this.lvalue.eval(a),c=this.rvalue.eval(a),d=this.index,e,e=function(a){switch(a){case"and":return b&&c;case"or":return b||c;default:if(b.compare)e=b.compare(c);else{if(!c.compare)throw{type:"Type",message:"Unable to perform comparison",index:d};e=c.compare(b)}switch(e){case-1:return a==="<"||a==="=<";case 0:return a==="="||a===">="||a==="=<";case 1:return a===">"||a===">="}}}(this.op);return this.negate?!e:e}}(c("../tree")),function(a){a.Dimension=function(a,b){this.value=parseFloat(a),this.unit=b||null},a.Dimension.prototype={eval:function(){return this},toColor:function(){return new a.Color([this.value,this.value,this.value])},toCSS:function(){var a=this.value+this.unit;return a},operate:function(b,c){return new a.Dimension(a.operate(b,this.value,c.value),this.unit||c.unit)},compare:function(b){return b instanceof a.Dimension?b.value>this.value?-1:b.value<this.value?1:0:-1}}}(c("../tree")),function(a){a.Directive=function(b,c,d){this.name=b,this.features=d&&new a.Value(d),Array.isArray(c)?(this.ruleset=new a.Ruleset([],c),this.ruleset.allowImports=!0):this.value=c},a.Directive.prototype={toCSS:function(a,b){var c=this.features?" "+this.features.toCSS(b):"";return this.ruleset?(this.ruleset.root=!0,this.name+c+(b.compress?"{":" {\n ")+this.ruleset.toCSS(a,b).trim().replace(/\n/g,"\n ")+(b.compress?"}":"\n}\n")):this.name+" "+this.value.toCSS()+";\n"},eval:function(a){return this.features=this.features&&this.features.eval(a),a.frames.unshift(this),this.ruleset=this.ruleset&&this.ruleset.eval(a),a.frames.shift(),this},variable:function(b){return a.Ruleset.prototype.variable.call(this.ruleset,b)},find:function(){return a.Ruleset.prototype.find.apply(this.ruleset,arguments)},rulesets:function(){return a.Ruleset.prototype.rulesets.apply(this.ruleset)}}}(c("../tree")),function(a){a.Element=function(b,c,d){this.combinator=b instanceof a.Combinator?b:new a.Combinator(b),typeof c=="string"?this.value=c.trim():c?this.value=c:this.value="",this.index=d},a.Element.prototype.eval=function(b){return new a.Element(this.combinator,this.value.eval?this.value.eval(b):this.value,this.index)},a.Element.prototype.toCSS=function(a){return this.combinator.toCSS(a||{})+(this.value.toCSS?this.value.toCSS(a):this.value)},a.Combinator=function(a){a===" "?this.value=" ":a==="& "?this.value="& ":this.value=a?a.trim():""},a.Combinator.prototype.toCSS=function(a){return{"":""," ":" ","&":"","& ":" ",":":" :","::":"::","+":a.compress?"+":" + ","~":a.compress?"~":" ~ ",">":a.compress?">":" > "}[this.value]}}(c("../tree")),function(a){a.Expression=function(a){this.value=a},a.Expression.prototype={eval:function(b){return this.value.length>1?new a.Expression(this.value.map(function(a){return a.eval(b)})):this.value.length===1?this.value[0].eval(b):this},toCSS:function(a){return this.value.map(function(b){return b.toCSS?b.toCSS(a):""}).join(" ")}}}(c("../tree")),function(a){a.Import=function(b,c,d,e){var f=this;this.index=e,this._path=b,this.features=d&&new a.Value(d),b instanceof a.Quoted?this.path=/\.(le?|c)ss(\?.*)?$/.test(b.value)?b.value:b.value+".less":this.path=b.value.value||b.value,this.css=/css(\?.*)?$/.test(this.path),this.css||c.push(this.path,function(b,c){b&&(b.index=e),f.root=c||new a.Ruleset([],[])})},a.Import.prototype={toCSS:function(a){var b=this.features?" "+this.features.toCSS(a):"";return this.css?"@import "+this._path.toCSS()+b+";\n":""},eval:function(b){var c,d=this.features&&this.features.eval(b);if(this.css)return this;c=new a.Ruleset([],this.root.rules.slice(0));for(var e=0;e<c.rules.length;e++)c.rules[e]instanceof a.Import&&Array.prototype.splice.apply(c.rules,[e,1].concat(c.rules[e].eval(b)));return this.features?new
9
+ a.Directive("@media",c.rules,this.features.value):c.rules}}}(c("../tree")),function(a){a.JavaScript=function(a,b,c){this.escaped=c,this.expression=a,this.index=b},a.JavaScript.prototype={eval:function(b){var c,d=this,e={},f=this.expression.replace(/@\{([\w-]+)\}/g,function(c,e){return a.jsify((new a.Variable("@"+e,d.index)).eval(b))});try{f=new Function("return ("+f+")")}catch(g){throw{message:"JavaScript evaluation error: `"+f+"`",index:this.index}}for(var h in b.frames[0].variables())e[h.slice(1)]={value:b.frames[0].variables()[h].value,toJS:function(){return this.value.eval(b).toCSS()}};try{c=f.call(e)}catch(g){throw{message:"JavaScript evaluation error: '"+g.name+": "+g.message+"'",index:this.index}}return typeof c=="string"?new a.Quoted('"'+c+'"',c,this.escaped,this.index):Array.isArray(c)?new a.Anonymous(c.join(", ")):new a.Anonymous(c)}}}(c("../tree")),function(a){a.Keyword=function(a){this.value=a},a.Keyword.prototype={eval:function(){return this},toCSS:function(){return this.value},compare:function(b){return b instanceof a.Keyword?b.value===this.value?0:1:-1}},a.True=new a.Keyword("true"),a.False=new a.Keyword("false")}(c("../tree")),function(a){a.mixin={},a.mixin.Call=function(b,c,d,e,f){this.selector=new a.Selector(b),this.arguments=c,this.index=d,this.filename=e,this.important=f},a.mixin.Call.prototype={eval:function(a){var b,c,d=[],e=!1;for(var f=0;f<a.frames.length;f++)if((b=a.frames[f].find(this.selector)).length>0){c=this.arguments&&this.arguments.map(function(b){return b.eval(a)});for(var g=0;g<b.length;g++)if(b[g].match(c,a))try{Array.prototype.push.apply(d,b[g].eval(a,this.arguments,this.important).rules),e=!0}catch(h){throw{message:h.message,index:h.index,filename:this.filename,stack:h.stack,call:this.index}}if(e)return d;throw{type:"Runtime",message:"No matching definition was found for `"+this.selector.toCSS().trim()+"("+this.arguments.map(function(a){return a.toCSS()}).join(", ")+")`",index:this.index,filename:this.filename}}throw{type:"Name",message:this.selector.toCSS().trim()+" is undefined",index:this.index,filename:this.filename}}},a.mixin.Definition=function(b,c,d,e){this.name=b,this.selectors=[new a.Selector([new a.Element(null,b)])],this.params=c,this.condition=e,this.arity=c.length,this.rules=d,this._lookups={},this.required=c.reduce(function(a,b){return!b.name||b.name&&!b.value?a+1:a},0),this.parent=a.Ruleset.prototype,this.frames=[]},a.mixin.Definition.prototype={toCSS:function(){return""},variable:function(a){return this.parent.variable.call(this,a)},variables:function(){return this.parent.variables.call(this)},find:function(){return this.parent.find.apply(this,arguments)},rulesets:function(){return this.parent.rulesets.apply(this)},evalParams:function(b,c){var d=new a.Ruleset(null,[]);for(var e=0,f;e<this.params.length;e++)if(this.params[e].name){if(!(f=c&&c[e]||this.params[e].value))throw{type:"Runtime",message:"wrong number of arguments for "+this.name+" ("+c.length+" for "+this.arity+")"};d.rules.unshift(new a.Rule(this.params[e].name,f.eval(b)))}return d},eval:function(b,c,d){var e=this.evalParams(b,c),f,g=[],h;for(var i=0;i<Math.max(this.params.length,c&&c.length);i++)g.push(c[i]||this.params[i].value);return e.rules.unshift(new a.Rule("@arguments",(new a.Expression(g)).eval(b))),h=d?this.rules.map(function(b){return new a.Rule(b.name,b.value,"!important",b.index)}):this.rules.slice(0),(new a.Ruleset(null,h)).eval({frames:[this,e].concat(this.frames,b.frames)})},match:function(a,b){var c=a&&a.length||0,d,e;if(c<this.required)return!1;if(this.required>0&&c>this.params.length)return!1;if(this.condition&&!this.condition.eval({frames:[this.evalParams(b,a)].concat(b.frames)}))return!1;d=Math.min(c,this.arity);for(var f=0;f<d;f++)if(!this.params[f].name&&a[f].eval(b).toCSS()!=this.params[f].value.eval(b).toCSS())return!1;return!0}}}(c("../tree")),function(a){a.Operation=function(a,b){this.op=a.trim(),this.operands=b},a.Operation.prototype.eval=function(b){var c=this.operands[0].eval(b),d=this.operands[1].eval(b),e;if(c instanceof a.Dimension&&d instanceof a.Color){if(this.op!=="*"&&this.op!=="+")throw{name:"OperationError",message:"Can't substract or divide a color from a number"};e=d,d=c,c=e}return c.operate(this.op,d)},a.operate=function(a,b,c){switch(a){case"+":return b+c;case"-":return b-c;case"*":return b*c;case"/":return b/c}}}(c("../tree")),function(a){a.Paren=function(a){this.value=a},a.Paren.prototype={toCSS:function(a){return"("+this.value.toCSS(a)+")"},eval:function(b){return new a.Paren(this.value.eval(b))}}}(c("../tree")),function(a){a.Quoted=function(a,b,c,d){this.escaped=c,this.value=b||"",this.quote=a.charAt(0),this.index=d},a.Quoted.prototype={toCSS:function(){return this.escaped?this.value:this.quote+this.value+this.quote},eval:function(b){var c=this,d=this.value.replace(/`([^`]+)`/g,function(d,e){return(new a.JavaScript(e,c.index,!0)).eval(b).value}).replace(/@\{([\w-]+)\}/g,function(d,e){var f=(new a.Variable("@"+e,c.index)).eval(b);return"value"in f?f.value:f.toCSS()});return new a.Quoted(this.quote+d+this.quote,d,this.escaped,this.index)}}}(c("../tree")),function(a){a.Rule=function(b,c,d,e,f){this.name=b,this.value=c instanceof a.Value?c:new a.Value([c]),this.important=d?" "+d.trim():"",this.index=e,this.inline=f||!1,b.charAt(0)==="@"?this.variable=!0:this.variable=!1},a.Rule.prototype.toCSS=function(a){return this.variable?"":this.name+(a.compress?":":": ")+this.value.toCSS(a)+this.important+(this.inline?"":";")},a.Rule.prototype.eval=function(b){return new a.Rule(this.name,this.value.eval(b),this.important,this.index,this.inline)},a.Shorthand=function(a,b){this.a=a,this.b=b},a.Shorthand.prototype={toCSS:function(a){return this.a.toCSS(a)+"/"+this.b.toCSS(a)},eval:function(){return this}}}(c("../tree")),function(a){a.Ruleset=function(a,b){this.selectors=a,this.rules=b,this._lookups={}},a.Ruleset.prototype={eval:function(b){var c=this.selectors&&this.selectors.map(function(a){return a.eval(b)}),d=new a.Ruleset(c,this.rules.slice(0));d.root=this.root,d.allowImports=this.allowImports,b.frames.unshift(d);if(d.root||d.allowImports)for(var e=0;e<d.rules.length;e++)d.rules[e]instanceof a.Import&&Array.prototype.splice.apply(d.rules,[e,1].concat(d.rules[e].eval(b)));for(var e=0;e<d.rules.length;e++)d.rules[e]instanceof a.mixin.Definition&&(d.rules[e].frames=b.frames.slice(0));for(var e=0;e<d.rules.length;e++)d.rules[e]instanceof a.mixin.Call&&Array.prototype.splice.apply(d.rules,[e,1].concat(d.rules[e].eval(b)));for(var e=0,f;e<d.rules.length;e++)f=d.rules[e],f instanceof a.mixin.Definition||(d.rules[e]=f.eval?f.eval(b):f);return b.frames.shift(),d},match:function(a){return!a||a.length===0},variables:function(){return this._variables?this._variables:this._variables=this.rules.reduce(function(b,c){return c instanceof a.Rule&&c.variable===!0&&(b[c.name]=c),b},{})},variable:function(a){return this.variables()[a]},rulesets:function(){return this._rulesets?this._rulesets:this._rulesets=this.rules.filter(function(b){return b instanceof a.Ruleset||b instanceof a.mixin.Definition})},find:function(b,c){c=c||this;var d=[],e,f,g=b.toCSS();return g in this._lookups?this._lookups[g]:(this.rulesets().forEach(function(e){if(e!==c)for(var g=0;g<e.selectors.length;g++)if(f=b.match(e.selectors[g])){b.elements.length>e.selectors[g].elements.length?Array.prototype.push.apply(d,e.find(new a.Selector(b.elements.slice(1)),c)):d.push(e);break}}),this._lookups[g]=d)},toCSS:function(b,c){var d=[],e=[],f=[],g=[],h,i;this.root||(b.length===0?g=this.selectors.map(function(a){return[a]}):this.joinSelectors(g,b,this.selectors));for(var j=0;j<this.rules.length;j++)i=this.rules[j],i.rules||i instanceof a.Directive?f.push(i.toCSS(g,c)):i instanceof a.Comment?i.silent||(this.root?f.push(i.toCSS(c)):e.push(i.toCSS(c))):i.toCSS&&!i.variable?e.push(i.toCSS(c)):i.value&&!i.variable&&e.push(i.value.toString());return f=f.join(""),this.root?d.push(e.join(c.compress?"":"\n")):e.length>0&&(h=g.map(function(a){return a.map(function(a){return a.toCSS(c)}).join("").trim()}).join(c.compress?",":",\n"),d.push(h,(c.compress?"{":" {\n ")+e.join(c.compress?"":"\n ")+(c.compress?"}":"\n}\n"))),d.push(f),d.join("")+(c.compress?"\n":"")},joinSelectors:function(a,b,c){for(var d=0;d<c.length;d++)this.joinSelector(a,b,c[d])},joinSelector:function(b,c,d){var e=[],f=[],g=[],h=[],i=!1,j;for(var k=0;k<d.elements.length;k++)j=d.elements[k],j.combinator.value.charAt(0)==="&"&&(i=!0),i?h.push(j):g.push(j);i||(h=g,g=[]),g.length>0&&e.push(new a.Selector(g)),h.length>0&&f.push(new a.Selector(h));for(var l=0;l<c.length;l++)b.push(e.concat(c[l]).concat(f))}}}(c("../tree")),function(a){a.Selector=function(a){this.elements=a,this.elements[0].combinator.value===""&&(this.elements[0].combinator.value=" ")},a.Selector.prototype.match=function(a){var b=this.elements.length,c=a.elements.length,d=Math.min(b,c);if(b<c)return!1;for(var e=0;e<d;e++)if(this.elements[e].value!==a.elements[e].value)return!1;return!0},a.Selector.prototype.eval=function(b){return new a.Selector(this.elements.map(function(a){return a.eval(b)}))},a.Selector.prototype.toCSS=function(a){return this._css?this._css:this._css=this.elements.map(function(b){return typeof b=="string"?" "+b.trim():b.toCSS(a)}).join("")}}(c("../tree")),function(b){b.URL=function(b,c){b.data?this.attrs=b:(typeof a!="undefined"&&!/^(?:https?:\/\/|file:\/\/|data:|\/)/.test(b.value)&&c.length>0&&(b.value=c[0]+(b.value.charAt(0)==="/"?b.value.slice(1):b.value)),this.value=b,this.paths=c)},b.URL.prototype={toCSS:function(){return"url("+(this.attrs?"data:"+this.attrs.mime+this.attrs.charset+this.attrs.base64+this.attrs.data:this.value.toCSS())+")"},eval:function(a){return this.attrs?this:new b.URL(this.value.eval(a),this.paths)}}}(c("../tree")),function(a){a.Value=function(a){this.value=a,this.is="value"},a.Value.prototype={eval:function(b){return this.value.length===1?this.value[0].eval(b):new a.Value(this.value.map(function(a){return a.eval(b)}))},toCSS:function(a){return this.value.map(function(b){return b.toCSS(a)}).join(a.compress?",":", ")}}}(c("../tree")),function(a){a.Variable=function(a,b,c){this.name=a,this.index=b,this.file=c},a.Variable.prototype={eval:function(b){var c,d,e=this.name;e.indexOf("@@")==0&&(e="@"+(new a.Variable(e.slice(1))).eval(b).value);if(c=a.find(b.frames,function(a){if(d=a.variable(e))return d.value.eval(b)}))return c;throw{type:"Name",message:"variable "+e+" is undefined",filename:this.file,index:this.index}}}}(c("../tree")),function(a){a.find=function(a,b){for(var c=0,d;c<a.length;c++)if(d=b.call(a,a[c]))return d;return null},a.jsify=function(a){return Array.isArray(a.value)&&a.value.length>1?"["+a.value.map(function(a){return a.toCSS(!1)}).join(", ")+"]":a.toCSS(!1)}}(c("./tree"));var g=location.protocol==="file:"||location.protocol==="chrome:"||location.protocol==="chrome-extension:"||location.protocol==="resource:";d.env=d.env||(location.hostname=="127.0.0.1"||location.hostname=="0.0.0.0"||location.hostname=="localhost"||location.port.length>0||g?"development":"production"),d.async=!1,d.poll=d.poll||(g?1e3:1500),d.watch=function(){return this.watchMode=!0},d.unwatch=function(){return this.watchMode=!1},d.env==="development"?(d.optimization=0,/!watch/.test(location.hash)&&d.watch(),d.watchTimer=setInterval(function(){d.watchMode&&n(function(a,b,c,d,e){b&&r(b.toCSS(),d,e.lastModified)})},d.poll)):d.optimization=3;var h;try{h=typeof a.localStorage=="undefined"?null:a.localStorage}catch(i){h=null}var j=document.getElementsByTagName("link"),k=/^text\/(x-)?less$/;d.sheets=[];for(var l=0;l<j.length;l++)(j[l].rel==="stylesheet/less"||j[l].rel.match(/stylesheet/)&&j[l].type.match(k))&&d.sheets.push(j[l]);d.refresh=function(a){var b,c;b=c=new Date,n(function(a,d,e,f,g){g.local?v("loading "+f.href+" from cache."):(v("parsed "+f.href+" successfully."),r(d.toCSS(),f,g.lastModified)),v("css for "+f.href+" generated in "+(new Date-c)+"ms"),g.remaining===0&&v("css generated in "+(new Date-b)+"ms"),c=new Date},a),m()},d.refreshStyles=m,d.refresh(d.env==="development")})(window);
skin/frontend/default/hellowired/js/pngfix.js ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * DD_belatedPNG: Adds IE6 support: PNG images for CSS background-image and HTML <IMG/>.
3
+ * Author: Drew Diller
4
+ * Email: drew.diller@gmail.com
5
+ * URL: http://www.dillerdesign.com/experiment/DD_belatedPNG/
6
+ * Version: 0.0.8a
7
+ * Licensed under the MIT License: http://dillerdesign.com/experiment/DD_belatedPNG/#license
8
+ *
9
+ * Example usage:
10
+ * DD_belatedPNG.fix('.png_bg'); // argument is a CSS selector
11
+ * DD_belatedPNG.fixPng( someNode ); // argument is an HTMLDomElement
12
+ **/
13
+ var DD_belatedPNG={ns:"DD_belatedPNG",imgSize:{},delay:10,nodesFixed:0,createVmlNameSpace:function(){if(document.namespaces&&!document.namespaces[this.ns]){document.namespaces.add(this.ns,"urn:schemas-microsoft-com:vml")}},createVmlStyleSheet:function(){var b,a;b=document.createElement("style");b.setAttribute("media","screen");document.documentElement.firstChild.insertBefore(b,document.documentElement.firstChild.firstChild);if(b.styleSheet){b=b.styleSheet;b.addRule(this.ns+"\\:*","{behavior:url(#default#VML)}");b.addRule(this.ns+"\\:shape","position:absolute;");b.addRule("img."+this.ns+"_sizeFinder","behavior:none; border:none; position:absolute; z-index:-1; top:-10000px; visibility:hidden;");this.screenStyleSheet=b;a=document.createElement("style");a.setAttribute("media","print");document.documentElement.firstChild.insertBefore(a,document.documentElement.firstChild.firstChild);a=a.styleSheet;a.addRule(this.ns+"\\:*","{display: none !important;}");a.addRule("img."+this.ns+"_sizeFinder","{display: none !important;}")}},readPropertyChange:function(){var b,c,a;b=event.srcElement;if(!b.vmlInitiated){return}if(event.propertyName.search("background")!=-1||event.propertyName.search("border")!=-1){DD_belatedPNG.applyVML(b)}if(event.propertyName=="style.display"){c=(b.currentStyle.display=="none")?"none":"block";for(a in b.vml){if(b.vml.hasOwnProperty(a)){b.vml[a].shape.style.display=c}}}if(event.propertyName.search("filter")!=-1){DD_belatedPNG.vmlOpacity(b)}},vmlOpacity:function(b){if(b.currentStyle.filter.search("lpha")!=-1){var a=b.currentStyle.filter;a=parseInt(a.substring(a.lastIndexOf("=")+1,a.lastIndexOf(")")),10)/100;b.vml.color.shape.style.filter=b.currentStyle.filter;b.vml.image.fill.opacity=a}},handlePseudoHover:function(a){setTimeout(function(){DD_belatedPNG.applyVML(a)},1)},fix:function(a){if(this.screenStyleSheet){var c,b;c=a.split(",");for(b=0;b<c.length;b++){this.screenStyleSheet.addRule(c[b],"behavior:expression(DD_belatedPNG.fixPng(this))")}}},applyVML:function(a){a.runtimeStyle.cssText="";this.vmlFill(a);this.vmlOffsets(a);this.vmlOpacity(a);if(a.isImg){this.copyImageBorders(a)}},attachHandlers:function(i){var d,c,g,e,b,f;d=this;c={resize:"vmlOffsets",move:"vmlOffsets"};if(i.nodeName=="A"){e={mouseleave:"handlePseudoHover",mouseenter:"handlePseudoHover",focus:"handlePseudoHover",blur:"handlePseudoHover"};for(b in e){if(e.hasOwnProperty(b)){c[b]=e[b]}}}for(f in c){if(c.hasOwnProperty(f)){g=function(){d[c[f]](i)};i.attachEvent("on"+f,g)}}i.attachEvent("onpropertychange",this.readPropertyChange)},giveLayout:function(a){a.style.zoom=1;if(a.currentStyle.position=="static"){a.style.position="relative"}},copyImageBorders:function(b){var c,a;c={borderStyle:true,borderWidth:true,borderColor:true};for(a in c){if(c.hasOwnProperty(a)){b.vml.color.shape.style[a]=b.currentStyle[a]}}},vmlFill:function(e){if(!e.currentStyle){return}else{var d,f,g,b,a,c;d=e.currentStyle}for(b in e.vml){if(e.vml.hasOwnProperty(b)){e.vml[b].shape.style.zIndex=d.zIndex}}e.runtimeStyle.backgroundColor="";e.runtimeStyle.backgroundImage="";f=true;if(d.backgroundImage!="none"||e.isImg){if(!e.isImg){e.vmlBg=d.backgroundImage;e.vmlBg=e.vmlBg.substr(5,e.vmlBg.lastIndexOf('")')-5)}else{e.vmlBg=e.src}g=this;if(!g.imgSize[e.vmlBg]){a=document.createElement("img");g.imgSize[e.vmlBg]=a;a.className=g.ns+"_sizeFinder";a.runtimeStyle.cssText="behavior:none; position:absolute; left:-10000px; top:-10000px; border:none; margin:0; padding:0;";c=function(){this.width=this.offsetWidth;this.height=this.offsetHeight;g.vmlOffsets(e)};a.attachEvent("onload",c);a.src=e.vmlBg;a.removeAttribute("width");a.removeAttribute("height");document.body.insertBefore(a,document.body.firstChild)}e.vml.image.fill.src=e.vmlBg;f=false}e.vml.image.fill.on=!f;e.vml.image.fill.color="none";e.vml.color.shape.style.backgroundColor=d.backgroundColor;e.runtimeStyle.backgroundImage="none";e.runtimeStyle.backgroundColor="transparent"},vmlOffsets:function(d){var h,n,a,e,g,m,f,l,j,i,k;h=d.currentStyle;n={W:d.clientWidth+1,H:d.clientHeight+1,w:this.imgSize[d.vmlBg].width,h:this.imgSize[d.vmlBg].height,L:d.offsetLeft,T:d.offsetTop,bLW:d.clientLeft,bTW:d.clientTop};a=(n.L+n.bLW==1)?1:0;e=function(b,p,q,c,s,u){b.coordsize=c+","+s;b.coordorigin=u+","+u;b.path="m0,0l"+c+",0l"+c+","+s+"l0,"+s+" xe";b.style.width=c+"px";b.style.height=s+"px";b.style.left=p+"px";b.style.top=q+"px"};e(d.vml.color.shape,(n.L+(d.isImg?0:n.bLW)),(n.T+(d.isImg?0:n.bTW)),(n.W-1),(n.H-1),0);e(d.vml.image.shape,(n.L+n.bLW),(n.T+n.bTW),(n.W),(n.H),1);g={X:0,Y:0};if(d.isImg){g.X=parseInt(h.paddingLeft,10)+1;g.Y=parseInt(h.paddingTop,10)+1}else{for(j in g){if(g.hasOwnProperty(j)){this.figurePercentage(g,n,j,h["backgroundPosition"+j])}}}d.vml.image.fill.position=(g.X/n.W)+","+(g.Y/n.H);m=h.backgroundRepeat;f={T:1,R:n.W+a,B:n.H,L:1+a};l={X:{b1:"L",b2:"R",d:"W"},Y:{b1:"T",b2:"B",d:"H"}};if(m!="repeat"||d.isImg){i={T:(g.Y),R:(g.X+n.w),B:(g.Y+n.h),L:(g.X)};if(m.search("repeat-")!=-1){k=m.split("repeat-")[1].toUpperCase();i[l[k].b1]=1;i[l[k].b2]=n[l[k].d]}if(i.B>n.H){i.B=n.H}d.vml.image.shape.style.clip="rect("+i.T+"px "+(i.R+a)+"px "+i.B+"px "+(i.L+a)+"px)"}else{d.vml.image.shape.style.clip="rect("+f.T+"px "+f.R+"px "+f.B+"px "+f.L+"px)"}},figurePercentage:function(d,c,f,a){var b,e;e=true;b=(f=="X");switch(a){case"left":case"top":d[f]=0;break;case"center":d[f]=0.5;break;case"right":case"bottom":d[f]=1;break;default:if(a.search("%")!=-1){d[f]=parseInt(a,10)/100}else{e=false}}d[f]=Math.ceil(e?((c[b?"W":"H"]*d[f])-(c[b?"w":"h"]*d[f])):parseInt(a,10));if(d[f]%2===0){d[f]++}return d[f]},fixPng:function(c){c.style.behavior="none";var g,b,f,a,d;if(c.nodeName=="BODY"||c.nodeName=="TD"||c.nodeName=="TR"){return}c.isImg=false;if(c.nodeName=="IMG"){if(c.src.toLowerCase().search(/\.png$/)!=-1){c.isImg=true;c.style.visibility="hidden"}else{return}}else{if(c.currentStyle.backgroundImage.toLowerCase().search(".png")==-1){return}}g=DD_belatedPNG;c.vml={color:{},image:{}};b={shape:{},fill:{}};for(a in c.vml){if(c.vml.hasOwnProperty(a)){for(d in b){if(b.hasOwnProperty(d)){f=g.ns+":"+d;c.vml[a][d]=document.createElement(f)}}c.vml[a].shape.stroked=false;c.vml[a].shape.appendChild(c.vml[a].fill);c.parentNode.insertBefore(c.vml[a].shape,c)}}c.vml.image.shape.fillcolor="none";c.vml.image.fill.type="tile";c.vml.color.fill.on=false;g.attachHandlers(c);g.giveLayout(c);g.giveLayout(c.offsetParent);c.vmlInitiated=true;g.applyVML(c)}};try{document.execCommand("BackgroundImageCache",false,true)}catch(r){}DD_belatedPNG.createVmlNameSpace();DD_belatedPNG.createVmlStyleSheet();
14
+
15
+ DD_belatedPNG.fix('ul.links li a,.wrapper,button.button span span');
skin/frontend/default/hellowired/js/respond.min.js ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
1
+ /*! matchMedia() polyfill - Test a CSS media type/query in JS. Authors & copyright (c) 2012: Scott Jehl, Paul Irish, Nicholas Zakas. Dual MIT/BSD license */
2
+ /*! NOTE: If you're already including a window.matchMedia polyfill via Modernizr or otherwise, you don't need this part */
3
+ window.matchMedia=window.matchMedia||(function(e,f){var c,a=e.documentElement,b=a.firstElementChild||a.firstChild,d=e.createElement("body"),g=e.createElement("div");g.id="mq-test-1";g.style.cssText="position:absolute;top:-100em";d.style.background="none";d.appendChild(g);return function(h){g.innerHTML='&shy;<style media="'+h+'"> #mq-test-1 { width: 42px; }</style>';a.insertBefore(d,b);c=g.offsetWidth==42;a.removeChild(d);return{matches:c,media:h}}})(document);
4
+
5
+ /*! Respond.js v1.1.0: min/max-width media query polyfill. (c) Scott Jehl. MIT/GPLv2 Lic. j.mp/respondjs */
6
+ (function(e){e.respond={};respond.update=function(){};respond.mediaQueriesSupported=e.matchMedia&&e.matchMedia("only all").matches;if(respond.mediaQueriesSupported){return}var w=e.document,s=w.documentElement,i=[],k=[],q=[],o={},h=30,f=w.getElementsByTagName("head")[0]||s,g=w.getElementsByTagName("base")[0],b=f.getElementsByTagName("link"),d=[],a=function(){var D=b,y=D.length,B=0,A,z,C,x;for(;B<y;B++){A=D[B],z=A.href,C=A.media,x=A.rel&&A.rel.toLowerCase()==="stylesheet";if(!!z&&x&&!o[z]){if(A.styleSheet&&A.styleSheet.rawCssText){m(A.styleSheet.rawCssText,z,C);o[z]=true}else{if((!/^([a-zA-Z:]*\/\/)/.test(z)&&!g)||z.replace(RegExp.$1,"").split("/")[0]===e.location.host){d.push({href:z,media:C})}}}}u()},u=function(){if(d.length){var x=d.shift();n(x.href,function(y){m(y,x.href,x.media);o[x.href]=true;u()})}},m=function(I,x,z){var G=I.match(/@media[^\{]+\{([^\{\}]*\{[^\}\{]*\})+/gi),J=G&&G.length||0,x=x.substring(0,x.lastIndexOf("/")),y=function(K){return K.replace(/(url\()['"]?([^\/\)'"][^:\)'"]+)['"]?(\))/g,"$1"+x+"$2$3")},A=!J&&z,D=0,C,E,F,B,H;if(x.length){x+="/"}if(A){J=1}for(;D<J;D++){C=0;if(A){E=z;k.push(y(I))}else{E=G[D].match(/@media *([^\{]+)\{([\S\s]+?)$/)&&RegExp.$1;k.push(RegExp.$2&&y(RegExp.$2))}B=E.split(",");H=B.length;for(;C<H;C++){F=B[C];i.push({media:F.split("(")[0].match(/(only\s+)?([a-zA-Z]+)\s?/)&&RegExp.$2||"all",rules:k.length-1,hasquery:F.indexOf("(")>-1,minw:F.match(/\(min\-width:[\s]*([\s]*[0-9\.]+)(px|em)[\s]*\)/)&&parseFloat(RegExp.$1)+(RegExp.$2||""),maxw:F.match(/\(max\-width:[\s]*([\s]*[0-9\.]+)(px|em)[\s]*\)/)&&parseFloat(RegExp.$1)+(RegExp.$2||"")})}}j()},l,r,v=function(){var z,A=w.createElement("div"),x=w.body,y=false;A.style.cssText="position:absolute;font-size:1em;width:1em";if(!x){x=y=w.createElement("body");x.style.background="none"}x.appendChild(A);s.insertBefore(x,s.firstChild);z=A.offsetWidth;if(y){s.removeChild(x)}else{x.removeChild(A)}z=p=parseFloat(z);return z},p,j=function(I){var x="clientWidth",B=s[x],H=w.compatMode==="CSS1Compat"&&B||w.body[x]||B,D={},G=b[b.length-1],z=(new Date()).getTime();if(I&&l&&z-l<h){clearTimeout(r);r=setTimeout(j,h);return}else{l=z}for(var E in i){var K=i[E],C=K.minw,J=K.maxw,A=C===null,L=J===null,y="em";if(!!C){C=parseFloat(C)*(C.indexOf(y)>-1?(p||v()):1)}if(!!J){J=parseFloat(J)*(J.indexOf(y)>-1?(p||v()):1)}if(!K.hasquery||(!A||!L)&&(A||H>=C)&&(L||H<=J)){if(!D[K.media]){D[K.media]=[]}D[K.media].push(k[K.rules])}}for(var E in q){if(q[E]&&q[E].parentNode===f){f.removeChild(q[E])}}for(var E in D){var M=w.createElement("style"),F=D[E].join("\n");M.type="text/css";M.media=E;f.insertBefore(M,G.nextSibling);if(M.styleSheet){M.styleSheet.cssText=F}else{M.appendChild(w.createTextNode(F))}q.push(M)}},n=function(x,z){var y=c();if(!y){return}y.open("GET",x,true);y.onreadystatechange=function(){if(y.readyState!=4||y.status!=200&&y.status!=304){return}z(y.responseText)};if(y.readyState==4){return}y.send(null)},c=(function(){var x=false;try{x=new XMLHttpRequest()}catch(y){x=new ActiveXObject("Microsoft.XMLHTTP")}return function(){return x}})();a();respond.update=a;function t(){j(true)}if(e.addEventListener){e.addEventListener("resize",t,false)}else{if(e.attachEvent){e.attachEvent("onresize",t)}}})(this);