var VisualToolsApi=function(){var n=function(n){n.url==undefined&&(n.url="");n.type==undefined&&(n.type="GET");n.data==undefined&&(n.data={});n.target==undefined&&(n.target="");n.url!=""&&$.ajax({url:n.url,type:n.type,data:n.data,beforeSend:function(){typeof n.beforeSend=="function"&&n.beforeSend();n.target!=""&&VisualToolsUtility.blockUI({target:"#"+n.target,animate:!0})},success:function(t){typeof n.success=="function"&&n.success(t)},error:function(t,i,r){typeof n.error=="function"&&n.error(t,i,r)},complete:function(){typeof n.complete=="function"&&n.complete();n.target!=""&&VisualToolsUtility.unblockUI("#"+n.target)}})};return{Execute:function(t){return n(t)}}}()