jQuery(
function () {
    //$('.products_table:odd').after('<p><hr /></p>');
    //$('.products_table ~p').eq(0).each(function(){ if ($(this).text().length<2) $(this).remove(); });
    $('.products_table tr').removeClass('odd')
    $('.products_table tr').removeClass('even')
    $('.enrollment_dates tr').removeClass('odd')
    $('.enrollment_dates tr').removeClass('even')
    /*  should remove removeClass after content cleaned*/
    $('.products_table, .enrollment_dates').each(
        function () {
            $(this).find('tbody tr:even').addClass('even');
            $(this).find('tbody tr:odd').addClass('odd');
            
        }
    );
    $('hr').css({visibility: 'hidden'});
    $('hr').after('<div style="clear: both;" />');
    $('p table').each(function(){$(this).parent().html($(this).html())});
    $('.sifr').sifr( { path: 'resources/', font: 'arial', color: '#01669A'} );
    $('.hair_design_menu a').each(
        function () {
            f=window.location.href.split('/');
            s=f[f.length-1];
            h=$(this).attr('href').split('/');
            t=h[h.length-1];

            if (s==t) $(this).attr('id','selected');
        }
    );


});
