/* Optional functions that are a shortcut to call jAlert */ function alert(a,b){"undefined"==typeof b&&(b=a,a=""),$.jAlert({title:a,content:b})}function confirm(a,b,c){$.jAlert({type:"confirm",confirmQuestion:c,onConfirm:a,onDeny:b})}function showAlert(a,b,c){$.jAlert({title:a,content:b,theme:c})}function successAlert(a,b){"undefined"==typeof b&&(b=a,a="Success"),showAlert(a,b,"green")}function errorAlert(a,b){"undefined"==typeof b&&(b=a,a="Error"),showAlert(a,b,"red")}function infoAlert(a,b){"undefined"==typeof b&&(b=a,a="Info"),showAlert(a,b,"blue")}function warningAlert(a,b){"undefined"==typeof b&&(b=a,a="Warning"),showAlert(a,b,"yellow")}function blackAlert(a,b){"undefined"==typeof b&&(b=a,a="Warning"),showAlert(a,b,"black")}function imageAlert(a,b){"auto"==typeof b&&(iframeHeight=!1),$.jAlert({image:a,imageWidth:b})}function videoAlert(a){$.jAlert({video:a})}function iframeAlert(a,b){"undefined"==typeof b&&(b=!1),$.jAlert({iframe:a,iframeHeight:b})}function ajaxAlert(a,b){"undefined"==typeof b&&(b=function(){return!1}),$.jAlert({ajax:a,onOpen:b})}