<block name="formkey" type="core/template" template="core/formkey.phtml"/>
<label>All Pages</label>
<block type="page/html" name="root" output="toHtml" template="page/3columns.phtml">
   <block type="page/html_head" name="head" as="head">
      <action method="addJs">
         <script>prototype/prototype.js</script>
      </action>
      <action method="addJs">
         <script>lib/ccard.js</script>
      </action>
      <action method="addJs">
         <script>prototype/validation.js</script>
      </action>
      <action method="addJs">
         <script>scriptaculous/builder.js</script>
      </action>
      <action method="addJs">
         <script>scriptaculous/effects.js</script>
      </action>
      <action method="addJs">
         <script>scriptaculous/dragdrop.js</script>
      </action>
      <action method="addJs">
         <script>scriptaculous/controls.js</script>
      </action>
      <action method="addJs">
         <script>scriptaculous/slider.js</script>
      </action>
      <action method="addJs">
         <script>varien/js.js</script>
      </action>
      <action method="addJs">
         <script>varien/form.js</script>
      </action>
      <action method="addJs">
         <script>varien/menu.js</script>
      </action>
      <action method="addJs">
         <script>mage/translate.js</script>
      </action>
      <action method="addJs">
         <script>mage/cookies.js</script>
      </action>
      <block type="page/js_cookie" name="js_cookies" template="page/js/cookie.phtml"/>
      <action method="addCss">
         <stylesheet>css/styles.css</stylesheet>
      </action>
      <action method="addCss">
         <stylesheet>css/widgets.css</stylesheet>
      </action>
      <action method="addCss">
         <stylesheet>css/print.css</stylesheet>
         <params>media=&quot;print&quot;</params>
      </action>
      <action method="addItem">
         <type>js</type>
         <name>lib/ds-sleight.js</name>
         <params/>
         <if>lt IE 7</if>
      </action>
      <action method="addItem">
         <type>skin_js</type>
         <name>js/ie6.js</name>
         <params/>
         <if>lt IE 7</if>
      </action>
   </block>
   <block type="core/text_list" name="after_body_start" as="after_body_start" translate="label">
      <label>Page Top</label>
   </block>
   <block type="page/html_notices" name="global_notices" as="global_notices" template="page/html/notices.phtml"/>
   <block type="page/html_header" name="header" as="header">
      <block type="page/template_links" name="top.links" as="topLinks"/>
      <block type="page/switch" name="store_language" as="store_language" template="page/switch/languages.phtml"/>
      <block type="core/text_list" name="top.menu" as="topMenu" translate="label">
         <label>Navigation Bar</label>
         <block type="page/html_topmenu" name="catalog.topnav" template="page/html/topmenu.phtml"/>
      </block>
      <block type="page/html_wrapper" name="top.container" as="topContainer" translate="label">
         <label>Page Header</label>
         <action method="setElementClass">
            <value>top-container</value>
         </action>
      </block>
      <block type="page/html_welcome" name="welcome" as="welcome"/>
   </block>
   <block type="page/html_breadcrumbs" name="breadcrumbs" as="breadcrumbs"/>
   <block type="core/text_list" name="left" as="left" translate="label">
      <label>Left Column</label>
   </block>
   <block type="core/messages" name="global_messages" as="global_messages"/>
   <block type="core/messages" name="messages" as="messages"/>
   <block type="core/text_list" name="content" as="content" translate="label">
      <label>Main Content Area</label>
   </block>
   <block type="core/text_list" name="right" as="right" translate="label">
      <label>Right Column</label>
   </block>
   <block type="page/html_footer" name="footer" as="footer" template="page/html/footer.phtml">
      <block type="page/html_wrapper" name="bottom.container" as="bottomContainer" translate="label">
         <label>Page Footer</label>
         <action method="setElementClass">
            <value>bottom-container</value>
         </action>
      </block>
      <block type="page/switch" name="store_switcher" as="store_switcher" template="page/switch/stores.phtml"/>
      <block type="page/template_links" name="footer_links" as="footer_links" template="page/template/links.phtml"/>
   </block>
   <block type="core/text_list" name="before_body_end" as="before_body_end" translate="label">
      <label>Page Bottom</label>
      <block type="page/html_cookieNotice" name="global_cookie_notice" as="global_cookie_notice" template="page/html/cookienotice.phtml" before="-"/>
   </block>
</block>
<block type="core/profiler" output="toHtml" name="core_profiler"/>
<reference name="head">
   <block type="core/template" name="optional_zip_countries" as="optional_zip_countries" template="directory/js/optional_zip_countries.phtml"/>
</reference>
<reference name="footer">
   <block type="cms/block" name="cms_footer_links" before="footer_links">
      <action method="setBlockId">
         <block_id>footer_links</block_id>
      </action>
   </block>
</reference>
<reference name="top.links">
   <action method="addLink" translate="label title" module="customer">
      <label>My Account</label>
      <url helper="customer/getAccountUrl"/>
      <title>My Account</title>
      <prepare/>
      <urlParams/>
      <position>10</position>
   </action>
</reference>
<reference name="left">
   <block type="core/template" name="left.permanent.callout" template="callouts/left_col.phtml">
      <action method="setImgSrc">
         <src>images/media/col_left_callout.jpg</src>
      </action>
      <action method="setImgAlt" translate="alt" module="catalog">
         <alt>Our customer service is available 24/7. Call us at (555) 555-0123.</alt>
      </action>
      <action method="setLinkUrl">
         <url>checkout/cart</url>
      </action>
   </block>
</reference>
<reference name="right">
   <block type="catalog/product_compare_sidebar" before="cart_sidebar" name="catalog.compare.sidebar" template="catalog/product/compare/sidebar.phtml"/>
   <block type="core/template" name="right.permanent.callout" template="callouts/right_col.phtml">
      <action method="setImgSrc">
         <src>images/media/col_right_callout.jpg</src>
      </action>
      <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>
   </block>
</reference>
<reference name="footer_links">
   <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>
</reference>
<block type="catalog/product_price_template" name="catalog_product_price_template"/>
<reference name="catalog_product_price_template">
   <action method="addPriceBlockType">
      <type>msrp</type>
      <block>catalog/product_price</block>
      <template>catalog/product/price_msrp.phtml</template>
   </action>
   <action method="addPriceBlockType">
      <type>msrp_item</type>
      <block>catalog/product_price</block>
      <template>catalog/product/price_msrp_item.phtml</template>
   </action>
   <action method="addPriceBlockType">
      <type>msrp_noform</type>
      <block>catalog/product_price</block>
      <template>catalog/product/price_msrp_noform.phtml</template>
   </action>
</reference>
<reference name="header">
   <block type="core/template" name="top.search" as="topSearch" template="catalogsearch/form.mini.phtml"/>
</reference>
<reference name="footer_links">
   <action method="addLink" translate="label title" module="catalogsearch" ifconfig="catalog/seo/search_terms">
      <label>Search Terms</label>
      <url helper="catalogsearch/getSearchTermUrl"/>
      <title>Search Terms</title>
   </action>
   <action method="addLink" translate="label title" module="catalogsearch">
      <label>Advanced Search</label>
      <url helper="catalogsearch/getAdvancedSearchUrl"/>
      <title>Advanced Search</title>
   </action>
</reference>
<reference name="footer_links">
   <block type="sales/guest_links" name="return_link"/>
   <action method="addLinkBlock">
      <blockName>return_link</blockName>
   </action>
</reference>
<reference name="top.links">
   <block type="checkout/links" name="checkout_cart_link">
      <action method="addCartLink"/>
      <action method="addCheckoutLink"/>
   </block>
</reference>
<reference name="right">
   <block type="checkout/cart_sidebar" name="cart_sidebar" template="checkout/cart/sidebar.phtml" before="-">
      <action method="addItemRender">
         <type>simple</type>
         <block>checkout/cart_item_renderer</block>
         <template>checkout/cart/sidebar/default.phtml</template>
      </action>
      <action method="addItemRender">
         <type>grouped</type>
         <block>checkout/cart_item_renderer_grouped</block>
         <template>checkout/cart/sidebar/default.phtml</template>
      </action>
      <action method="addItemRender">
         <type>configurable</type>
         <block>checkout/cart_item_renderer_configurable</block>
         <template>checkout/cart/sidebar/default.phtml</template>
      </action>
      <block type="core/text_list" name="cart_sidebar.extra_actions" as="extra_actions" translate="label" module="checkout">
         <label>Shopping Cart Sidebar Extra Actions</label>
      </block>
   </block>
</reference>
<reference name="topCart.extra_actions">
   <block type="paypal/express_shortcut" name="paypal.partner.top_cart.shortcut" template="paypal/express/shortcut.phtml"/>
</reference>
<reference name="cart_sidebar.extra_actions">
   <block type="paypal/express_shortcut" name="paypal.partner.cart_sidebar.shortcut" template="paypal/express/shortcut.phtml"/>
</reference>
<reference name="right">
   <block type="poll/activePoll" name="right.poll">
      <action method="setPollTemplate">
         <template>poll/active.phtml</template>
         <type>poll</type>
      </action>
      <action method="setPollTemplate">
         <template>poll/result.phtml</template>
         <type>results</type>
      </action>
   </block>
</reference>
<reference name="right">
   <block type="reports/product_viewed" before="right.permanent.callout" name="right.reports.product.viewed" template="reports/product_viewed.phtml"/>
   <block type="reports/product_compared" before="right.permanent.callout" name="right.reports.product.compared" template="reports/product_compared.phtml"/>
</reference>
<reference name="head" before="-">
   <block type="googleanalytics/ga" name="google_analytics" as="google_analytics" template="googleanalytics/ga.phtml"/>
</reference>
<reference name="top.links">
   <block type="wishlist/links" name="wishlist_link"/>
   <action method="addLinkBlock">
      <blockName>wishlist_link</blockName>
   </action>
</reference>
<reference name="right">
   <block type="wishlist/customer_sidebar" name="wishlist_sidebar" as="wishlist" after="cart_sidebar" template="wishlist/sidebar.phtml"/>
</reference>
<reference name="topCart.extra_actions">
   <block type="paypaluk/express_shortcut" name="paypaluk.partner.top_cart.shortcut" template="paypal/express/shortcut.phtml"/>
</reference>
<reference name="cart_sidebar.extra_actions">
   <block type="paypaluk/express_shortcut" name="paypaluk.partner.cart_sidebar.shortcut" template="paypal/express/shortcut.phtml"/>
</reference>
<reference name="footer_links">
   <action method="addLink" translate="label title" module="contacts" ifconfig="contacts/contacts/enabled">
      <label>Contact Us</label>
      <url>contacts</url>
      <title>Contact Us</title>
      <prepare>true</prepare>
   </action>
</reference>
<reference name="footer_links">
   <action method="addLink" translate="label title" module="rss" ifconfig="rss/config/active">
      <label>RSS</label>
      <url>rss</url>
      <title>RSS</title>
      <prepare>true</prepare>
      <urlParams/>
      <position/>
      <li/>
      <a>class=&quot;link-rss&quot;</a>
   </action>
</reference>
<block type="rss/list" name="head_rss" ifconfig="rss/config/active"/>
<reference name="cart_sidebar">
   <action method="addItemRender">
      <type>bundle</type>
      <block>bundle/checkout_cart_item_renderer</block>
      <template>checkout/cart/sidebar/default.phtml</template>
   </action>
</reference>
<reference name="wishlist_sidebar">
   <action method="addPriceBlockType">
      <type>bundle</type>
      <block>bundle/catalog_product_price</block>
      <template>bundle/catalog/product/price.phtml</template>
   </action>
</reference>
<reference name="catalog_product_price_template">
   <action method="addPriceBlockType">
      <type>bundle</type>
      <block>bundle/catalog_product_price</block>
      <template>bundle/catalog/product/price.phtml</template>
   </action>
</reference>
<reference name="left">
   <block type="newsletter/subscribe" name="left.newsletter" template="newsletter/subscribe.phtml"/>
</reference>
<reference name="footer_links">
   <block type="blog/blog" name="add.blog.footer">
      <action method="addBlogLink" ifconfig="blog/menu/footer">
         <param>footer</param>
      </action>
   </block>
</reference>
<reference name="right">
   <block type="blog/menu_sidebar" name="right.blog.menu" before="-">
      <action method="setTemplate" ifconfig="blog/menu/right" ifvalue="1">
         <template>aw_blog/menu.phtml</template>
      </action>
      <block type="blog/tags" name="blog_tags"/>
   </block>
</reference>
<reference name="left">
   <block type="blog/menu_sidebar" name="left.blog.menu" before="-">
      <action method="setTemplate" ifconfig="blog/menu/left">
         <template>aw_blog/menu.phtml</template>
      </action>
      <block type="blog/tags" name="blog_tags"/>
   </block>
</reference>
<reference name="top.links">
   <block type="blog/blog" name="add.blog.link">
      <action method="addBlogLink" ifconfig="blog/menu/top">
         <param>top</param>
      </action>
   </block>
</reference>
<reference name="head">
   <action method="addItem">
      <type>skin_css</type>
      <name>aw_blog/css/style.css</name>
   </action>
</reference>
<reference name="before_body_end">
   <block type="aminvisiblecaptcha/captcha" name="captcha_script"/>
   <block type="core/text" name="google_recaptcha_api">
      <action method="setText">
         <text>&lt;script src=&quot;https://www.google.com/recaptcha/api.js&quot; async defer&gt;&lt;/script&gt;</text>
      </action>
   </block>
</reference>
<reference name="head">
   <action method="addCss">
      <name>css/amasty/ampromo/styles.css</name>
   </action>
   <action method="addJs">
      <script>amasty/ampromo/items.js</script>
   </action>
</reference>
<block name="ampromo_notification" type="ampromo/notification" template="amasty/ampromo/notification.phtml" before="-"/>
<reference name="content">
   <action ifconfig="ampromo/messages/display_notification" method="append">
      <block>ampromo_notification</block>
   </action>
</reference>
<reference name="after_body_start" after="-">
   <block type="ec/track" name="ec_noscript" as="ec_noscript" template="ec/noscript.phtml"/>
</reference>
<reference name="head" after="-">
   <action method="addItem">
      <type>skin_js</type>
      <name>js/ec.js</name>
   </action>
   <block type="ec/track" name="ec_header" as="ec_header" template="ec/header.phtml"/>
   <block type="ec/track" name="ec_purchase" as="ec_purchase" template="ec/purchase.phtml">
      <block type="ec/track" name="ec_datalayer" as="ec_datalayer" template="ec/datalayer.phtml"/>
      <block type="ec/track" name="ec_visitor" as="ec_visitor" template="ec/visitor.phtml"/>
      <block type="ec/track" name="ec_dimensions" as="ec_dimensions" template="ec/dimensions.phtml"/>
      <block type="ec/track" name="ec_adroll" as="ec_adroll" template="ec/adroll.phtml"/>
      <block type="ec/experiments" name="ec_experiments" as="ec_experiments" template="ec/experiments.phtml"/>
      <block type="ec/track" name="ec_promotions" as="ec_promotions" template="ec/promotions.phtml"/>
      <block type="ec/track" name="ec_impression" as="ec_impression" template="ec/impression.phtml"/>
      <block type="ec/track" name="ec_details" as="ec_details" template="ec/details.phtml"/>
      <block type="ec/track" name="ec_search" as="ec_search" template="ec/search.phtml"/>
      <block type="ec/track" name="ec_perfectaudience" as="ec_perfectaudience" template="ec/perfectaudience.phtml"/>
   </block>
</reference>
<reference name="before_body_end" after="-">
   <block type="ec/events" name="ec_events" as="ec_events" template="ec/events.phtml"/>
   <block type="ec/track" name="ec_footer" as="ec_footer" template="ec/footer.phtml"/>
</reference>
<reference name="head">
   <action ifconfig="configsystem/cmsmart_fontend/enalbed_jquery" method="addItem">
      <type>js</type>
      <name>cmsmart/jquery/jquery.js</name>
   </action>
   <action ifconfig="configsystem/cmsmart_fontend/enalbed_jquery_mirgate" method="addItem">
      <type>js</type>
      <name>cmsmart/jquery/jquery-migrate.js</name>
   </action>
   <action ifconfig="configsystem/cmsmart_fontend/enalbed_jquery_noconflig" method="addItem">
      <type>js</type>
      <name>cmsmart/jquery/jquery-noconflict.js</name>
   </action>
</reference>
<reference name="before_body_end">
   <block type="page/html" name="extras" as="extras" after="-" template="mgs/ajaxcart/extras.phtml"/>
</reference>
<reference name="head">
   <block type="mpanel/head" name="theme.setting"/>
</reference>
<reference name="after_body_start">
   <block type="mpanel/mpanel" name="mpanel" template="mgs/mpanel/toppanel.phtml"/>
</reference>
<reference name="before_body_end">
   <block type="core/template" name="mpanel.script" template="mgs/mpanel/script.phtml"/>
   <block type="core/template" name="mpanel.home.button" template="mgs/mpanel/button.phtml"/>
</reference>
<reference name="top.links">
   <action method="addLink" translate="label title" module="productquestions" ifconfig="productquestions/faqs_page/faqs_link_to_toplink">
      <label helper="productquestions/faqsPageTitle"/>
      <url helper="productquestions/faqsPageUrl"/>
      <title helper="productquestions/faqsPageTitle"/>
      <prepare/>
      <urlParams/>
      <position>10</position>
   </action>
</reference>
<reference name="right">
   <block type="productquestions/right" name="productquestions.right">
      <action method="setTemplate" ifconfig="productquestions/faqs_block/active">
         <template>productquestions/right.phtml</template>
      </action>
   </block>
</reference>
<reference name="head">
   <action method="addItem">
      <type>skin_css</type>
      <stylesheet>css/mgs_promobanners.css</stylesheet>
   </action>
</reference>
<reference name="before_body_end">
   <block type="page/html" name="quick-view" as="quick-view" after="-" template="mgs/quickview/script.phtml"/>
</reference>
<reference name="head">
   <block type="passwordstrength/validation" name="password_validation" as="password_validation" template="passwordstrength/js/validation.phtml"/>
</reference>
<reference name="before_body_end">
   <block type="core/template" name="newsletter_popup" as="newsletter_popup" template="val/newsletter-popup.phtml"/>
</reference>
<block type="custommenu/toggle"/>
<reference name="right">
   <remove name="catalog.compare.sidebar"/>
   <remove name="right.reports.product.compared"/>
</reference>
<reference name="head">
   <block type="magiczoomplus/headers" name="magictoolbox_headers" as="magictoolbox_headers" after="-"/>
</reference>
<reference name="magictoolbox_headers">
   <block type="magiczoomplus/header" name="magiczoomplus_header" as="magiczoomplus_header"/>
</reference>
<reference name="right.reports.product.viewed">
   <action method="setTemplate">
      <template helper="magiczoomplus/settings/getBlockTemplate">
         <name>right.reports.product.viewed</name>
         <template>magiczoomplus/product_viewed.phtml</template>
      </template>
   </action>
</reference>
<reference name="head">
   <action method="addItem">
      <type>skin_js</type>
      <name>js/jquery.min.js</name>
   </action>
   <action method="addItem">
      <type>skin_js</type>
      <name>js/jquery-ui.js</name>
   </action>
   <action method="addItem">
      <type>skin_js</type>
      <name>js/bootstrap.min.js</name>
   </action>
   <action method="removeItem" ifconfig="mgs_theme/general/right_to_left">
      <type>skin_js</type>
      <name>js/bootstrap.min.js</name>
   </action>
   <action method="addItem" ifconfig="mgs_theme/general/right_to_left">
      <type>skin_js</type>
      <name>js/bootstrap-arabic.min.js</name>
   </action>
   <action method="addItem">
      <type>skin_js</type>
      <name>js/jquery.parallax-1.1.3.js</name>
   </action>
   <action method="addItem">
      <type>skin_js</type>
      <name>js/html5shiv.js</name>
      <params/>
      <if>lt IE 9</if>
   </action>
   <action method="addItem">
      <type>skin_js</type>
      <name>js/respond.min.js</name>
      <params/>
      <if>lt IE 9</if>
   </action>
   <action method="removeItem">
      <type>skin_css</type>
      <name>css/styles.css</name>
   </action>
   <action method="addItem">
      <type>skin_css</type>
      <stylesheet>css/bootstrap.min.css</stylesheet>
   </action>
   <action method="removeItem" ifconfig="mgs_theme/general/right_to_left">
      <type>skin_css</type>
      <name>css/bootstrap.css</name>
   </action>
   <action method="addCss" ifconfig="mgs_theme/general/right_to_left">
      <stylesheet>css/bootstrap-arabic.min.css</stylesheet>
   </action>
   <action method="addItem">
      <type>skin_css</type>
      <stylesheet>css/margin-padding.css</stylesheet>
   </action>
   <action method="addItem">
      <type>skin_css</type>
      <stylesheet>css/font-awesome.css</stylesheet>
   </action>
   <action method="addItem">
      <type>skin_css</type>
      <stylesheet>css/styles.css</stylesheet>
   </action>
   <action method="removeItem" ifconfig="mgs_theme/general/right_to_left">
      <type>skin_css</type>
      <name>css/styles.css</name>
   </action>
   <action method="addCss" ifconfig="mgs_theme/general/right_to_left">
      <stylesheet>css/styles-rtl.css</stylesheet>
   </action>
   <action method="removeItem" ifconfig="mgs_theme/general/right_to_left">
      <type>skin_css</type>
      <name>css/responsive.css</name>
   </action>
   <action method="addCss" ifconfig="mgs_theme/general/right_to_left">
      <stylesheet>css/responsive-rtl.css</stylesheet>
   </action>
   <action method="addItem">
      <type>skin_css</type>
      <stylesheet>css/owl-carousel.css</stylesheet>
   </action>
   <action method="addCss">
      <stylesheet>css/magnific-popup.css</stylesheet>
   </action>
   <action method="addItem">
      <type>skin_js</type>
      <name>js/theme.js</name>
   </action>
   <action method="addItem">
      <type>skin_js</type>
      <name>js/jquery.appear.js</name>
   </action>
   <action method="addItem">
      <type>skin_js</type>
      <name>js/jquery.jcarousel.min.js</name>
   </action>
   <action method="addItem">
      <type>skin_js</type>
      <name>js/jquery.prettyPhoto.js</name>
   </action>
   <action method="addItem">
      <type>skin_js</type>
      <name>js/masonry.pkgd.min.js</name>
   </action>
   <action method="addItem">
      <type>skin_css</type>
      <stylesheet>css/animate.css</stylesheet>
   </action>
   <action method="addItem">
      <type>skin_css</type>
      <stylesheet>css/responsive.css</stylesheet>
   </action>
   <action method="addItem">
      <type>skin_css</type>
      <stylesheet>css/prettyPhoto.css</stylesheet>
   </action>
   <action method="addItem">
      <type>skin_js</type>
      <name>js/jquery.mCustomScrollbar.concat.min.js</name>
   </action>
   <action method="addItem">
      <type>skin_css</type>
      <stylesheet>css/jquery.mCustomScrollbar.css</stylesheet>
   </action>
   <action method="addItem">
      <type>skin_js</type>
      <name>js/bootstrap.min.js</name>
   </action>
   <action method="addItem">
      <type>skin_js</type>
      <name>js/app.js</name>
   </action>
   <action method="addItem">
      <type>skin_js</type>
      <name>js/lib/imagesloaded.js</name>
   </action>
</reference>
<reference name="header">
   <block type="directory/currency" name="top.currency" template="directory/currency.phtml"/>
   <block type="checkout/cart_sidebar" name="cart_sidebar3" template="checkout/cart/sidebar3.phtml"/>
</reference>
<reference name="top.menu">
   <action method="unsetChild" ifconfig="megamenu/general/enabled">
      <name>catalog.topnav</name>
   </action>
   <block type="megamenu/megamenu" name="megamenu"/>
</reference>
<reference name="megamenu">
   <action method="setTemplate" ifconfig="megamenu/general/enabled">
      <template>megamenu/navigation.phtml</template>
   </action>
</reference>
<reference name="footer">
   <action method="setTemplate" ifconfig="mpanel/general/enabled">
      <template>mgs/mpanel/footer.phtml</template>
   </action>
</reference>
<reference name="root">
   <block type="core/text_list" name="theme_popup" as="theme_popup" translate="label"/>
</reference>
<reference name="theme_popup">
   <block type="core/template" name="popup.html" as="popup.html" template="mgs/mpanel/overlay.phtml"/>
</reference>
<reference name="right">
   <remove name="right.permanent.callout"/>
</reference>
<reference name="left">
   <remove name="left.permanent.callout"/>
</reference>
<label>Catalog Product View (Any)</label>
<reference name="root">
   <action method="setTemplate">
      <template>page/2columns-right.phtml</template>
   </action>
</reference>
<reference name="head">
   <action method="addJs">
      <script>varien/product.js</script>
   </action>
   <action method="addJs">
      <script>varien/configurable.js</script>
   </action>
   <action method="addItem">
      <type>js_css</type>
      <name>calendar/calendar-win2k-1.css</name>
      <params/>
   </action>
   <action method="addItem">
      <type>js</type>
      <name>calendar/calendar.js</name>
   </action>
   <action method="addItem">
      <type>js</type>
      <name>calendar/calendar-setup.js</name>
   </action>
</reference>
<reference name="content">
   <block type="catalog/product_view" name="product.info" template="catalog/product/view.phtml">
      <block type="catalog/product_view_media" name="product.info.media" as="media" template="catalog/product/view/media.phtml"/>
      <block type="core/text_list" name="alert.urls" as="alert_urls" translate="label">
         <label>Alert Urls</label>
      </block>
      <action method="setTierPriceTemplate">
         <template>catalog/product/view/tierprices.phtml</template>
      </action>
      <block type="catalog/product_list_upsell" name="product.info.upsell" as="upsell_products" template="catalog/product/list/upsell.phtml">
         <action method="setColumnCount">
            <columns>4</columns>
         </action>
         <action method="setItemLimit">
            <type>upsell</type>
            <limit>4</limit>
         </action>
      </block>
      <block type="catalog/product_view_additional" name="product.info.additional" as="product_additional_data"/>
      <block type="catalog/product_view_description" name="product.description" as="description" template="catalog/product/view/description.phtml">
         <action method="addToParentGroup">
            <group>detailed_info</group>
         </action>
      </block>
      <block type="catalog/product_view_attributes" name="product.attributes" as="additional" template="catalog/product/view/attributes.phtml">
         <action method="addToParentGroup">
            <group>detailed_info</group>
         </action>
      </block>
      <block type="catalog/product_view" name="product.info.addto" as="addto" template="catalog/product/view/addto.phtml"/>
      <block type="catalog/product_view" name="product.info.addtocart" as="addtocart" template="catalog/product/view/addtocart.phtml"/>
      <block type="core/text_list" name="product.info.extrahint" as="extrahint" translate="label">
         <label>Product View Extra Hint</label>
      </block>
      <block type="catalog/product_view" name="product.info.options.wrapper" as="product_options_wrapper" template="catalog/product/view/options/wrapper.phtml" translate="label">
         <label>Info Column Options Wrapper</label>
         <block type="core/template" name="options_js" template="catalog/product/view/options/js.phtml"/>
         <block type="catalog/product_view_options" name="product.info.options" as="product_options" template="catalog/product/view/options.phtml">
            <action method="addOptionRenderer">
               <type>text</type>
               <block>catalog/product_view_options_type_text</block>
               <template>catalog/product/view/options/type/text.phtml</template>
            </action>
            <action method="addOptionRenderer">
               <type>file</type>
               <block>catalog/product_view_options_type_file</block>
               <template>catalog/product/view/options/type/file.phtml</template>
            </action>
            <action method="addOptionRenderer">
               <type>select</type>
               <block>catalog/product_view_options_type_select</block>
               <template>catalog/product/view/options/type/select.phtml</template>
            </action>
            <action method="addOptionRenderer">
               <type>date</type>
               <block>catalog/product_view_options_type_date</block>
               <template>catalog/product/view/options/type/date.phtml</template>
            </action>
         </block>
         <block type="core/html_calendar" name="html_calendar" as="html_calendar" template="page/js/calendar.phtml"/>
      </block>
      <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">
         <label>Bottom Block Options Wrapper</label>
         <action method="insert">
            <block>product.tierprices</block>
         </action>
         <block type="catalog/product_view" name="product.clone_prices" as="prices" template="catalog/product/view/price_clone.phtml"/>
         <action method="append">
            <block>product.info.addtocart</block>
         </action>
         <action method="append">
            <block>product.info.addto</block>
         </action>
      </block>
      <block type="core/template_facade" name="product.info.container1" as="container1">
         <action method="setDataByKey">
            <key>alias_in_layout</key>
            <value>container1</value>
         </action>
         <action method="setDataByKeyFromRegistry">
            <key>options_container</key>
            <key_in_registry>product</key_in_registry>
         </action>
         <action method="append">
            <block>product.info.options.wrapper</block>
         </action>
         <action method="append">
            <block>product.info.options.wrapper.bottom</block>
         </action>
      </block>
      <block type="core/template_facade" name="product.info.container2" as="container2">
         <action method="setDataByKey">
            <key>alias_in_layout</key>
            <value>container2</value>
         </action>
         <action method="setDataByKeyFromRegistry">
            <key>options_container</key>
            <key_in_registry>product</key_in_registry>
         </action>
         <action method="append">
            <block>product.info.options.wrapper</block>
         </action>
         <action method="append">
            <block>product.info.options.wrapper.bottom</block>
         </action>
      </block>
      <action method="unsetCallChild">
         <child>container1</child>
         <call>ifEquals</call>
         <if>0</if>
         <key>alias_in_layout</key>
         <key>options_container</key>
      </action>
      <action method="unsetCallChild">
         <child>container2</child>
         <call>ifEquals</call>
         <if>0</if>
         <key>alias_in_layout</key>
         <key>options_container</key>
      </action>
   </block>
</reference>
<reference name="right">
   <block type="catalog/product_list_related" name="catalog.product.related" before="-" template="catalog/product/list/related.phtml"/>
</reference>
<reference name="head">
   <action method="addItem" ifconfig="sales/msrp/enabled">
      <type>skin_js</type>
      <name>js/msrp.js</name>
   </action>
</reference>
<reference name="content">
   <block type="core/template" template="catalog/msrp/popup.phtml" name="product.tooltip"/>
</reference>
<reference name="catalog_product_price_template">
   <action method="addPriceBlockType">
      <type>msrp</type>
      <block>catalog/product_price</block>
      <template>catalog/product/price_msrp_item.phtml</template>
   </action>
</reference>
<reference name="product.clone_prices">
   <action method="addPriceBlockType">
      <type>msrp</type>
      <block>catalog/product_price</block>
      <template>catalog/product/price_msrp_item.phtml</template>
   </action>
</reference>
<update handle="MAP_popup"/>
<update handle="MAP_price_msrp_item"/>
<reference name="product.info">
   <block type="payment/catalog_product_view_profile" name="product.info.additional.recurring.schedule" as="recurring_info" template="payment/catalog/product/view/profile/schedule.phtml">
      <action method="addToParentGroup">
         <group>detailed_info</group>
      </action>
      <action method="setTitle" translate="value">
         <value>Recurring Profile</value>
      </action>
   </block>
</reference>
<reference name="product.info.options.wrapper">
   <block type="payment/catalog_product_view_profile" name="product.info.options.recurring" as="recurring_options" template="payment/catalog/product/view/profile/options.phtml"/>
</reference>
<reference name="product.info.extrahint">
   <block type="cataloginventory/qtyincrements" name="product.info.extrahint.qtyincrements" template="cataloginventory/qtyincrements.phtml"/>
</reference>
<reference name="product.tooltip">
   <block type="page/html_wrapper" name="product.info.addtocart.paypal.wrapper" translate="label">
      <block type="paypal/express_shortcut" name="product.info.addtocart.paypal" template="paypal/express/shortcut.phtml">
         <action method="setIsInCatalogProduct">
            <value>1</value>
         </action>
         <action method="setShowOrPosition">
            <value>after</value>
         </action>
      </block>
   </block>
</reference>
<reference name="product.info.addtocart">
   <block type="page/html_wrapper" name="product.info.addtocart.paypal.wrapper" translate="label">
      <label>PayPal Express Checkout Shortcut Wrapper</label>
      <block type="paypal/express_shortcut" name="product.info.addtocart.paypal" template="paypal/express/shortcut.phtml">
         <action method="setIsInCatalogProduct">
            <value>1</value>
         </action>
      </block>
   </block>
</reference>
<update handle="SHORTCUT_popup"/>
<reference name="right">
   <block type="paypal/logo" name="paypal.partner.right.logo" template="paypal/partner/logo.phtml">
                
            </block>
</reference>
<reference name="top.container">
   <block type="paypal/bml_banners" name="bml.center.logo" template="paypal/bml.phtml">
      <action method="setSection">
         <section>productpage</section>
      </action>
      <action method="setPosition">
         <position>0</position>
      </action>
   </block>
</reference>
<reference name="product.info.addtocart">
   <block type="paypal/bml_banners" name="bml.right.logo" after="product.info.addtocart.paypal" template="paypal/bml.phtml">
      <action method="setSection">
         <section>productpage</section>
      </action>
      <action method="setPosition">
         <position>1</position>
      </action>
   </block>
</reference>
<reference name="product.tooltip">
   <block type="page/html_wrapper" name="product.info.addtocart.paypaluk.wrapper" translate="label">
      <block type="paypaluk/express_shortcut" name="product.info.addtocart.paypaluk" template="paypal/express/shortcut.phtml">
         <action method="setIsInCatalogProduct">
            <value>1</value>
         </action>
         <action method="setShowOrPosition">
            <value>after</value>
         </action>
      </block>
   </block>
</reference>
<reference name="product.info.addtocart">
   <block type="page/html_wrapper" name="product.info.addtocart.paypaluk.wrapper" translate="label">
      <label>PayPal Express Checkout (Payflow Edition) Shortcut Wrapper</label>
      <action method="setHtmlTagName">
         <tag>p</tag>
      </action>
      <action method="setElementClass">
         <class>paypal-logo</class>
      </action>
      <block type="paypaluk/express_shortcut" name="product.info.addtocart.paypaluk" template="paypal/express/shortcut.phtml">
         <action method="setIsInCatalogProduct">
            <value>1</value>
         </action>
      </block>
   </block>
</reference>
<update handle="SHORTCUT_uk_popup"/>
<reference name="content">
   <reference name="product.info">
      <reference name="alert.urls">
         <block type="productalert/product_view" name="productalert.price" as="productalert_price" template="productalert/product/view.phtml">
            <action method="preparePriceAlertData"/>
            <action method="setHtmlClass">
               <value>alert-price link-price-alert</value>
            </action>
            <action method="setSignupLabel" translate="value">
               <value>Sign up for price alert</value>
            </action>
         </block>
         <block type="productalert/product_view" name="productalert.stock" as="productalert_stock" template="productalert/product/view.phtml">
            <action method="prepareStockAlertData"/>
            <action method="setHtmlClass">
               <value>alert-stock link-stock-alert</value>
            </action>
            <action method="setSignupLabel" translate="value">
               <value>Sign up to get notified when this product is back in stock</value>
            </action>
         </block>
      </reference>
   </reference>
</reference>
<reference name="catalog.product.related">
   <action method="addPriceBlockType">
      <type>bundle</type>
      <block>bundle/catalog_product_price</block>
      <template>bundle/catalog/product/price.phtml</template>
   </action>
</reference>
<reference name="head">
   <action method="addItem">
      <type>skin_js</type>
      <script>js/lib/elevatezoom/jquery.elevateZoom-3.0.8.min.js</script>
   </action>
   <action method="addCss">
      <stylesheet>css/configurableswatches.css</stylesheet>
   </action>
</reference>
<reference name="product.info.media">
   <block type="core/text_list" name="product.info.media.after" as="after"/>
</reference>
<reference name="content">
   <block type="core/template" name="external.pagecache.cookie" template="pagecache/cookie.phtml"/>
</reference>
<block as="other" type="ampromo/banner" name="ampromo.banner.after_name" template="amasty/ampromo/banner.phtml">
   <action method="setPosition">
      <position>after_name</position>
   </action>
</block>
<block before="main" type="ampromo/banner" name="ampromo.banner.top" template="amasty/ampromo/banner.phtml">
   <action method="setPosition">
      <position>top</position>
   </action>
</block>
<reference name="content">
   <block before="main" type="ampromo/label" name="ampromo.label" template="amasty/ampromo/label.phtml"/>
   <action method="insert" ifconfig="ampromo/banners/enabled_top">
      <block>ampromo.banner.top</block>
   </action>
   <reference name="product.info">
      <block type="core/text_list" name="ampromo.after.name" as="other" translate="label">
         <action method="insert" ifconfig="ampromo/banners/enabled_above_cart">
            <block>ampromo.banner.after_name</block>
         </action>
      </block>
   </reference>
</reference>
<reference name="head">
   <block type="core/template" name="promotion_rating_video" template="cmsmart/productvideo/rating.phtml"/>
   <action method="addJs" ifconfig="productvideo/general/enabled">
      <script>cmsmart/productvideo/jquery.js</script>
   </action>
   <action method="addJs" ifconfig="productvideo/general/enabled">
      <script>cmsmart/productvideo/jquery_noconflict.js</script>
   </action>
   <block type="core/template" name="promotion" template="cmsmart/productvideo/jsvideo.phtml"/>
   <action method="addJs" ifconfig="productvideo/display_setting/zoom">
      <script>cmsmart/productvideo/jquery.elevateZoom-3.0.8.min.js</script>
      <params/>
   </action>
   <action method="addJs" ifconfig="productvideo/display_setting/zoom">
      <script>cmsmart/productvideo/cmsmart-zoom.js</script>
      <params/>
   </action>
   <action method="addJs" ifconfig="productvideo/display_setting/zoom">
      <script>cmsmart/productvideo/owl.carousel.min.js</script>
      <params/>
   </action>
   <action method="addJs" ifconfig="productvideo/general/enabled">
      <script>cmsmart/productvideo/cmsmart_productvideo.js</script>
   </action>
   <action method="addJs" ifconfig="productvideo/general/enabled">
      <script>cmsmart/productvideo/cmsmart_productvideo_slide.js</script>
   </action>
   <action method="addItem" ifconfig="productvideo/general/enabled">
      <type>skin_css</type>
      <name>cmsmart/productvideo/css/owl.carousel.css</name>
   </action>
   <action method="addItem" ifconfig="productvideo/general/enabled">
      <type>skin_css</type>
      <name>cmsmart/productvideo/css/theme-default.css</name>
   </action>
</reference>
<reference name="product.info.media">
   <action method="setTemplate" ifconfig="productvideo/general/enabled">
      <template>cmsmart/productvideo/productmedia.phtml</template>
   </action>
</reference>
<reference name="head">
   <action method="addCss">
      <stylesheet>productquestions/css/custom.css</stylesheet>
   </action>
</reference>
<reference name="product.info">
   <block type="productquestions/question" name="product.questions" as="product.questions" template="productquestions/list.phtml" after="-"/>
</reference>
<reference name="magiczoomplus_header">
   <action method="setPageType">
      <type>product</type>
   </action>
</reference>
<reference name="product.info.media">
   <action method="setTemplate">
      <template helper="magiczoomplus/settings/getBlockTemplate">
         <name>product.info.media</name>
         <template>magiczoomplus/media.phtml</template>
      </template>
   </action>
</reference>
<reference name="product.info">
   <block type="catalog/product_view_additional" name="product.info.additional" as="product_additional_data"/>
   <block type="catalog/product_view_description" name="product.description" as="description" template="catalog/product/view/description.phtml">
      <action method="addToParentGroup" ifconfig="mpanel/product_tabs/description">
         <group>tabs</group>
      </action>
      <action method="setTitle" translate="value">
         <value>Description</value>
      </action>
   </block>
   <block type="catalog/product_view_attributes" name="product.attributes" as="additional" template="catalog/product/view/attributes.phtml">
      <action method="addToParentGroup" ifconfig="mpanel/product_tabs/aditional">
         <group>tabs</group>
      </action>
      <action method="setTitle" translate="value">
         <value>Aditional Information</value>
      </action>
   </block>
   <block type="review/product_view_list" name="reviews" as="reviews" template="review/product/view/list.phtml">
      <block type="review/form" name="product.review.form" as="review_form">
         <block type="page/html_wrapper" name="product.review.form.fields.before" as="form_fields_before" translate="label">
            <label>Review Form Fields Before</label>
            <action method="setMayBeInvisible">
               <value>1</value>
            </action>
         </block>
      </block>
      <action method="addToParentGroup" ifconfig="mpanel/product_tabs/reviews">
         <group>tabs</group>
      </action>
      <action method="setTitle" translate="value">
         <value>Reviews</value>
      </action>
   </block>
   <block type="tag/product_list" name="product_tag_list" template="tag/list.phtml">
      <action method="addToParentGroup" ifconfig="mpanel/product_tabs/tags">
         <group>tabs</group>
      </action>
      <action method="setTitle" translate="value">
         <value>Product Tags</value>
      </action>
      <block type="page/html_wrapper" name="product.tag.list.list.before" as="list_before" translate="label">
         <label>Tags List Before</label>
         <action method="setMayBeInvisible">
            <value>1</value>
         </action>
      </block>
   </block>
</reference>
<label>Configure Cart Item</label>
<update handle="catalog_product_view"/>
<reference name="product.info">
   <block type="checkout/cart_item_configure" name="checkout.cart.item.configure.block"/>
</reference>
<label>Catalog Product View (Bundle)</label>
<reference name="head">
   <action method="addItem">
      <type>skin_js</type>
      <name>js/bundle.js</name>
   </action>
</reference>
<reference name="product.info">
   <block type="bundle/catalog_product_view_type_bundle" name="product.info.bundle" as="product_type_data" template="bundle/catalog/product/view/type/bundle.phtml">
      <action method="addPriceBlockType">
         <type>bundle</type>
         <block>bundle/catalog_product_price</block>
         <template>bundle/catalog/product/price.phtml</template>
      </action>
      <block type="bundle/catalog_product_price" name="bundle.prices" as="bundle_prices" template="bundle/catalog/product/view/price.phtml">
         <action method="setMAPTemplate">
            <tmpl>catalog/product/price_msrp_item.phtml</tmpl>
         </action>
      </block>
   </block>
</reference>
<reference name="product.info.options.wrapper">
   <block type="bundle/catalog_product_view_type_bundle" name="product.info.bundle.options" as="type_bundle_options" template="bundle/catalog/product/view/type/bundle/options.phtml">
      <action method="addRenderer">
         <type>select</type>
         <block>bundle/catalog_product_view_type_bundle_option_select</block>
      </action>
      <action method="addRenderer">
         <type>multi</type>
         <block>bundle/catalog_product_view_type_bundle_option_multi</block>
      </action>
      <action method="addRenderer">
         <type>radio</type>
         <block>bundle/catalog_product_view_type_bundle_option_radio</block>
      </action>
      <action method="addRenderer">
         <type>checkbox</type>
         <block>bundle/catalog_product_view_type_bundle_option_checkbox</block>
      </action>
   </block>
   <action method="insert">
      <block>product.info.bundle.options</block>
   </action>
</reference>
<reference name="product.info.options.wrapper.bottom">
   <remove name="product.tierprices"/>
   <block type="bundle/catalog_product_view" name="bundle.tierprices" as="tierprices" before="-" template="bundle/catalog/product/view/tierprices.phtml"/>
   <block type="cataloginventory/qtyincrements" name="product.info.qtyincrements" before="-" template="cataloginventory/qtyincrements.phtml"/>
</reference>
<reference name="product.clone_prices">
   <action method="addPriceBlockType">
      <type>bundle</type>
      <block>bundle/catalog_product_price</block>
      <template>bundle/catalog/product/view/price.phtml</template>
   </action>
</reference>
<reference name="top.links">
   <action method="addLink" translate="label title" module="customer">
      <label>Log In</label>
      <url helper="customer/getLoginUrl"/>
      <title>Log In</title>
      <prepare/>
      <urlParams/>
      <position>100</position>
   </action>
</reference>
<remove name="reorder"/>
<reference name="right">
   <block type="sales/reorder_sidebar" name="sale.reorder.sidebar" as="reorder" template="sales/reorder/sidebar.phtml"/>
</reference>
