﻿function scrollTo(target)
{
    $target = $("#" + target);
    var targetOffset = $target.offset().top - 10;
    $("html,body").animate({scrollTop: targetOffset}, 1000);
    return false;
}

$(document).ready(function(){
    // We need to change the pointer type on our 'image map' classes to let everyone know they're clickable.
    // This is not done in CSS, because if someone has JS disabled, they could get really confused.
    $(".kart-imagemap").css("cursor", "pointer");

});