$('document').ready(function () {
    'use strict';

    $('.browseForFeaturedItems').on('click', function () {
        window.open(
            '/shop/admin/products/manage.products.mini.php?field=item_id&sex=' + $('input[name="sex"]').val(),
            'browseForFeaturedItems',
            'status=yes,scrollbars=yes,resizable=yes,width=500,height=600'
        );
    });

    $('.clearFeaturedItem').on('click', function () {
        $('#item_id, #item_id_name').val('');
    });

}); // document ready
