﻿$(document).ready(function () {

    $("#noscript-warning").hide();
    $("p.sf_eventPriod:contains('Publication date:')").hide();

    // iOS Hover Event Class Fix
    if ((navigator.userAgent.match(/iPhone/i)) ||
        (navigator.userAgent.match(/iPod/i)) ||
        (navigator.userAgent.match(/iPad/i))
        ) {
        $('#nav li a').click(function () {
            if ($(this).next('ul').length) {
                if ($(this).hasClass("hovering")) {
                    $(this).removeClass("hovering");
                } else {
                    $(this).addClass("hovering");
                    return false;
                }
            }
        });


    }



});
