<?php
    // Dupicate of magento template, but with ajax loaded products support
?>

<script type="text/javascript">
    if ('complete' === document.readyState) {
        // ajaxpro, quickshopping on the category view page
        var swatchesConfig = new Product.ConfigurableSwatches(spConfig);
    }
</script>
