//Download by
//Usage://jAlert( message, [title, callback] )//jConfirm( message, [title, callback] )//jPrompt( message, [value, title, callback] )// //History://
//1.00 - Released (29 December 2008)//2013-7-8
(function($) {
$.alerts={//These properties can be read/written by accessing $.alerts.propertyName from your scripts at any time
verticalOffset:-75, //vertical offset of the dialog from center screen, in pixels
horizontalOffset: 0, //horizontal offset of the dialog from center screen, in pixels/
repositionOnResize: true, //re-centers the dialog on window resize
overlayOpacity: .01, //transparency level of overlay
overlayColor: '#FFF', //base color of overlay
draggable: true, //make the dialogs draggable (requires UI Draggables plugin)
okButton: ' OK ', //text for the OK button
cancelButton: ' Cancel ', //text for the Cancel button
dialogClass: alert:function(message, title, callback) {if( title == null ) title = 'Alert';
$.alerts._show(title, message,null, 'alert', function(result) {if( callback ) callback(result);
});
},
confirm:function(message, title, callback) {if( title == null ) title = 'Confirm';
$.alerts._show(title, message,null, 'confirm', function(result) {i