/* Author:

 ‘___’
 (O.o)
 /)__)
 "  " HOOT-HOOT

 Fedor Konovalov

 */

$(function() {

    /*  $('#footer .arrow').click(function() {
     $('#footer').animate({bottom:-250}, 400, "swing");
     });*/


    /*$('#footer').hover(
     function(){
     $('#footer').stop(true, true).animate({bottom:0}, 600, "swing");
     },
     function(){
     return;
     $('#footer').stop(true, true).animate({bottom:-250}, 600, "swing");
     });*/

    soundManager.setVolume('mySound', 10);

    function track() {
        $("#sideLeft").load("parse.php");

    }

    setInterval(track, 3000);


    $('.footer .arrow').click(function() {
        if ($('.footer').hasClass('hidden'))

            $('.footer').stop(true, true).animate({bottom:0}, 500, "swing").removeClass("hidden");


        else
            $('.footer').animate({bottom:-223}, 500, "swing").addClass("hidden");

    });

    $('.footer .arrow').click(function() {
        if ($('.arrow').hasClass('hidden'))
            $('.arrow').css('background-position', "-41px -64px").removeClass("hidden");
        else
            $('.arrow').css('background-position', "0 -64px").addClass("hidden");

    });


    /*$("#sideLeft").load("parse.php");*/
    /*alert ( "Too late! You didn't stop the timer." );*/

    /*       $('#footer .arrow').click(
     function() {
     if ($('#footer .arrow').hasClass('active')) {
     $('#footer .arrow').removeClass('active').hide();
     }

     if ($('.search-wrapper').hasClass('active')) {
     $('.search-wrapper').removeClass('active').hide();
     $('.search-description').removeAttr("style");
     }
     else {
     $('.search-wrapper').addClass('active').show();
     $('.search-description').hide();


     }

     return false;
     }


     );*/

    /*


     $(function() {
     // setup master volume
     $( "#master" ).slider({
     value: 60,
     orientation: "horizontal",
     range: "min",
     animate: true
     });
     // setup graphic EQ

     });

     */


});






















