$(document).ready(function () {

    // Header Scroller
    $('.headerCenterText1').css('opacity', 0);
    $('.headerCenterText2').css('opacity', 0);

    setTimeout(function () {
        $('.headerCenterText1').animate({ opacity: 0.9, top: "5px" }, 2500);
        setTimeout(function () {
            $('.headerCenterText2').animate({ opacity: 0.9, top: "7px" }, 2500);
        }, 4000);
    }, 3000);

    $('img.mainNav_tried').click(function () {
        $('div.mainNav_tried').fadeIn('slow');
    });

    $('a.PreciousOneMore').click(function () {
        $(this).hide();
        $('div.PreciousOneMore').fadeIn('slow');
    });
    $('a.PreciousOneLess').click(function () {
        $('div.PreciousOneMore').fadeOut('slow');
        $('a.PreciousOneMore').show();
    });

    $('a.comment_Next').click(function () {
        var showIndex = $(this).attr('title');
        var hideIndex = parseInt(showIndex) - 1;
        $('div.comment_' + showIndex).show();
        $('div.comment_' + hideIndex).hide();
    });
    $('a.comment_Previous').click(function () {
        var showIndex = $(this).attr('title');
        var hideIndex = parseInt(showIndex) + 1;
        $('div.comment_' + showIndex).show();
        $('div.comment_' + hideIndex).hide();
    });
});

