<?xml version="1.0"?>
<layout version="0.1.3">
    <default>
        <reference name="head">
            <action method="addJs">
                <script>autoparts/autoparts.js</script>
            </action>
            <action method="addCss">
                <script>css/autoparts.css</script>
            </action>      
            <action method="addCss">
                <script>css/jquery-ui.min.css</script>
            </action>      			
        </reference>   
		
		
    </default>    
    
    <tecdoc_search_index translate="label">
        <label>Alexander</label>
        <!-- Mage_Checkout -->
        <remove name="right"/>
        <reference name="head">
            <action method="addJs">
                <script>autoparts/jquery.mousewheel-3.0.4.pack.js</script>
            </action>
            <action method="addJs">
                <script>autoparts/jquery.fancybox-1.3.4.pack.js</script>
            </action>			  	     			
        </reference>  
        <reference name="root">
            <action method="setTemplate">
                <template>page/1column.phtml</template>
            </action>
        </reference>			
        <reference name="vehicles-block">
            <block type="tecdoc/vehicles" name="vehicles" before="-" template="autoparts_tecdoc/vehicles.phtml"/>
        </reference>		
        <!--reference name="left">
            <block type="tecdoc/tecdoc_details" name="tecdoc.details" template="autoparts_tecdoc/details.phtml"/>
        </reference-->
        <reference name="content">
            <block type="tecdoc/tecdoc_search" name="tecdoc.product.search" template="autoparts_tecdoc/product/list.phtml">
                <block type="tecdoc/tecdoc_toolbar" name="product_list_toolbar" template="catalog/product/list/toolbar.phtml">
                    <block type="page/html_pager" name="product_list_toolbar_pager"/>
                    <!-- The following code shows how to set your own pager increments -->
                    <!--
                        <action method="setDefaultListPerPage"><limit>4</limit></action>
                        <action method="setDefaultGridPerPage"><limit>9</limit></action>
                        <action method="addPagerLimit"><mode>list</mode><limit>2</limit></action>
                        <action method="addPagerLimit"><mode>list</mode><limit>4</limit></action>
                        <action method="addPagerLimit"><mode>list</mode><limit>6</limit></action>
                        <action method="addPagerLimit"><mode>list</mode><limit>8</limit></action>
                        <action method="addPagerLimit" translate="label"><mode>list</mode><limit>all</limit><label>All</label></action>
                    -->
                </block>
            </block>
        </reference>
    </tecdoc_search_index>    
    
    
    <tecdoc_category_index translate="label">
        <label>Alexander</label>
        <!-- Mage_Checkout -->
        <remove name="right"/>

        <reference name="root">
            <action method="setTemplate">
                <template>page/1column.phtml</template>
            </action>
        </reference>	
        <reference name="head">
            <action method="addJs">
                <script>autoparts/jquery.mousewheel-3.0.4.pack.js</script>
            </action>
            <action method="addJs">
                <script>autoparts/jquery.fancybox-1.3.4.pack.js</script>
            </action>				     			
        </reference>  
        <reference name="vehicles-block">
            <block type="tecdoc/vehicles" name="vehicles" before="-" template="autoparts_tecdoc/vehicles.phtml"/>
        </reference>		
        <reference name="left">
            <block type="tecdoc/tecdoc_details" name="tecdoc.details" template="autoparts_tecdoc/details.phtml"/>
            <block type="tecdoc/tecdoc" name="tecdoc.categories2" template="autoparts_tecdoc/category_left.phtml"/>
        </reference>
        <reference name="content">
            <block type="tecdoc/tecdoc" name="tecdoc.categories" template="autoparts_tecdoc/category.phtml">
                 <block type="tecdoc/tecdoc_details" name="tecdoc.details" template="autoparts_tecdoc/details.phtml"/>
            </block> 
        </reference>
    </tecdoc_category_index>
    <tecdoc_category_product translate="label">
        <label>Alexander</label>
        <!-- Mage_Checkout -->
        <remove name="right"/>
        <reference name="left">
            <block type="tecdoc/tecdoc_details" name="tecdoc.details" template="autoparts_tecdoc/details.phtml"/>
        </reference>
        <reference name="root">
            <action method="setTemplate">
                <template>page/1column.phtml</template>
            </action>
        </reference>
        <reference name="left">
            <block type="tecdoc/vehicles" name="vehicles" before="-" template="autoparts_tecdoc/vehicles.phtml"/>
        </reference>	
        <reference name="vehicles-block">
            <block type="tecdoc/vehicles" name="vehicles" before="-" template="autoparts_tecdoc/vehicles.phtml"/>
        </reference>		
        <reference name="head">
            <action method="addJs">
                <script>autoparts/jquery.mousewheel-3.0.4.pack.js</script>
            </action>
            <action method="addJs">
                <script>autoparts/jquery.fancybox-1.3.4.pack.js</script>
            </action>			   	     			
        </reference>  
        <reference name="left">
            <block type="tecdoc/tecdoc" name="tecdoc.categories" template="autoparts_tecdoc/category_left.phtml"/>
        </reference>
		
        
        <reference name="content">
            <block type="tecdoc/tecdoc_list" name="tecdoc.product.list" template="autoparts_tecdoc/product/list.phtml">
                <block type="tecdoc/tecdoc_toolbar" name="product_list_toolbar" template="catalog/product/list/toolbar.phtml">
                    
                    
                    <block type="page/html_pager" name="product_list_toolbar_pager"/>
                    <!-- The following code shows how to set your own pager increments -->
                    <!--
                        <action method="setDefaultListPerPage"><limit>4</limit></action>
                        <action method="setDefaultGridPerPage"><limit>9</limit></action>
                        <action method="addPagerLimit"><mode>list</mode><limit>2</limit></action>
                        <action method="addPagerLimit"><mode>list</mode><limit>4</limit></action>
                        <action method="addPagerLimit"><mode>list</mode><limit>6</limit></action>
                        <action method="addPagerLimit"><mode>list</mode><limit>8</limit></action>
                        <action method="addPagerLimit" translate="label"><mode>list</mode><limit>all</limit><label>All</label></action>
                    -->
                </block>
            </block>
        </reference>        
    </tecdoc_category_product>
</layout>

