﻿$(function(){
    $("span.abuse").click(function(){
        var span = this;
        if(!confirm("Notify Drawloop of an abuse?  Click OK to submit report.")) {
            return false;
        }
        $(span).parent().append("reported").end().remove();
    });
});

function hsubmit() {
    $("#lxform *").css({
        "opacity":      ".30",
        "filter":       "alpha(opacity=30)",
        "-moz-opacity": "0.3"
    });
    $("select").css("visibility", "hidden");
    if($.browser.msie){
        $("button.formbtn").css("top", "-2px");
    }
    $("#form_loading_img").find("img").remove().end().show().prepend('<img src="/images/widgets/throbber.gif" alt="processing" />');
    window.scrollTo(0,0);
    return true;
};