﻿/// <reference path="../../Default/Scripts/jquery-1.4.1-vsdoc.js" />
/// <reference path="../../Default/Scripts/jquery.bnet-vsdoc.js" />

// PNG fix for IE
$(document).ready(function () {

    //Infolinks scroller
    var infoHeight = $("#InfoSlider ul").height();
    var infoTop = 0;
    $("#InfoSlider .next").click(function () {
        if (infoTop + 48 < infoHeight) {
            infoTop += 48;
            $("#InfoSlider ul").animate({ top: "-=48px" });
        }
    });
    $("#InfoSlider .prev").click(function () {
        if (infoTop > 0) {
            infoTop -= 48;
            $("#InfoSlider ul").animate({ top: "+=48px" });
        }
    });


    $("#InnerFooter a").hover(function () {
        $(this).stop().animate({ opacity: 1 });
    }, function () {
        $(this).stop().animate({ opacity: 0.3 });
    });

    $(".thumbnailList li").biglink();
});
