function initNotifications(){$("#notification").kendoNotification!==undefined?ntf=$("#notification").kendoNotification({animation:{open:{effects:"fadeIn"},close:{effects:"slideIn:left",reverse:!0}},position:{pinned:!0,top:30,right:30},stacking:"down",templates:[{type:"info",template:'<div class="info-notice"><div class="notice-x badge pull-right close">X<\/div><br /><br /><p class="lead">#= message #<\/p><\/div >'},{type:"warning",template:'<div class="warning-notice"><div class="notice-x badge pull-right close">X<\/div><br /><br /><p class="lead">#= message #<\/p><\/div >'},{type:"success",template:'<div class="success-notice"><div class="notice-x badge pull-right close">X<\/div><br /><br /><p class="lead">#= message #<\/p><\/div >'},{type:"error",template:'<div class="error-notice"><div class="notice-x badge pull-right close">X<\/div><br /><br /><p class="lead">#= message #<\/p><\/div >'}]}).data("kendoNotification"):console.log("Error, please verify Kendo UI library is loaded...")}function isNumberKey(n){var t=n.which?n.which:event.keyCode;return t>31&&(t<48||t>57)?!1:!0}function showLoading(n){kendo.ui.progress($(n),!0)}function hideLoading(n){setTimeout(function(){kendo.ui.progress($(n),!1)},1e3)}function rsMessage(n,t){if(ntf.setOptions!==undefined)switch(n){case"s":ntf.setOptions({autoHideAfter:4e3});ntf.show({title:"Success",message:t},"success");break;case"e":ntf.setOptions({autoHideAfter:2e4});ntf.show({title:"Error",message:t},"error");break;case"w":ntf.setOptions({autoHideAfter:4e3});ntf.show({title:"Warning",message:t},"warning");break;default:ntf.setOptions({autoHideAfter:4e3});ntf.show({title:"",message:t},"info")}else console.log("Error: Please verify Kendo UI library is loaded");hideLoading(".body-content");hideLoading("#section1");hideLoading("#section1a");hideLoading("#section2");hideLoading("#section2a");hideLoading("#section3");hideLoading("#section4")}var ntf=null;$(document).ready(function(){initNotifications();$('[data-toggle="tooltip"]').tooltip()})