jQuery(document).ready(function() {
    jQuery("div.gdt-plusminus").click(function() {
        if (jQuery(this).parent().parent().hasClass("voted")) {
            jQuery("#votedbox").fadeIn("fast").show();
        } else {
            jQuery("#regbox").fadeIn("fast").show();
        }
    });
});

function gdsri_popup_close(box) {
    jQuery("#" + box).fadeOut("slow").hide();
}

