﻿jQuery.noConflict();
jQuery(document).ready(function() {
    jQuery("#topNav > ul > li").hover(
        function() { jQuery(this).addClass("hovering"); },
        function() { jQuery(this).removeClass("hovering"); }
    );

    //Split Grantee Partner ul
    var n = (jQuery(".granteePartners ul li").length / 2);
    jQuery(".granteePartners .GeneralContentRight .body .divideUL").append('<ul id="gp2"></ul>');

    var counter = 1;
    jQuery(".granteePartners ul").each(function() {
        var counter = 0;
        jQuery(this).children("li").each(function() {
            if (counter > n) jQuery(this).appendTo(jQuery("#gp2"))
            counter++;
        });
    });
});
