function IntializeDatePicker(){$(".dtPicker").datetimepicker({format:"MM/DD/YYYY",locale:moment.locale(),useCurrent:!1,defaultDate:!1,showClose:!0,showClear:!0,showTodayButton:!0,focusOnShow:!0})}function setCookie(n,t,i,r){var e=!1,f="",u=new Date;r==enumCookieUnit.Days?u.setTime(u.getTime()+i*864e5):r==enumCookieUnit.Hours?u.setTime(u.getTime()+i*36e5):r==enumCookieUnit.Minute?u.setTime(u.getTime()+i*6e4):r==enumCookieUnit.Date?(f="expires="+i,e=!0):u.setTime(u.getTime()+i*144e4);e||(f="expires="+u.toUTCString());document.cookie=n+"="+t+";"+f+";path=/"}function getCookie(n){for(var t,r=n+"=",u=document.cookie.split(";"),i=0;i<u.length;i++){for(t=u[i];t.charAt(0)==" ";)t=t.substring(1);if(t.indexOf(r)==0)return t.substring(r.length,t.length)}return""}function isNumber(n){n=n?n:window.event;var t=n.which?n.which:n.keyCode;return t>31&&(t<48||t>57)?!1:!0}var enumCookieUnit={Days:"1",Hours:"2",Minute:"3",Date:"4"};$.extend({getUrlVars:function(){for(var t=[],n,r=window.location.href.slice(window.location.href.indexOf("?")+1).split("&"),i=0;i<r.length;i++)n=r[i].split("="),t.push(n[0]),t[n[0]]=n[1];return t},getUrlVar:function(n){return $.getUrlVars()[n]}});$.qsParameters=function(n){var r={},i=n||document.location.hash,u,t,f;if(i=="")return r;for(i=i.replace(/(^\#\?)/,"").replace(/;/g,"&");i.indexOf("&&")!=-1;)i=i.replace(/&&/g,"&");for(i=i.replace(/([\&]+$)/,""),i=i.split("&"),u=0;u<i.length;u++)t=i[u].split("="),t=$.map(t,function(n){return decodeURIComponent(n)}),r[t[0]]!=undefined?typeof r[t[0]]=="string"?(f=r[t[0]],t[1]==""&&(t[1]=null),r[t[0]]=[],r[t[0]].push(f),r[t[0]].push(t[1])):typeof r[t[0]]=="object"&&(t[1]==""&&(t[1]=null),r[t[0]].push(t[1])):(t[1]==""&&(t[1]=null),r[t[0]]=t[1]);return r};$(function(){var n=$(".dtPicker").datetimepicker({format:"MM/DD/YYYY",locale:moment.locale(),useCurrent:!1,defaultDate:!1,showClose:!0,showClear:!0,showTodayButton:!0,focusOnShow:!0});$(document).ajaxStart(function(){});$(document).ajaxStop(function(){})});$(document).ready(function(){$(window).scroll(function(){$(this).scrollTop()>=50?$("#return-to-top").fadeIn(200):$("#return-to-top").fadeOut(200)});$("#return-to-top").click(function(){$("body,html").animate({scrollTop:0},500)});$(".toggle-menu").jPushMenu({closeOnClickLink:!1});$(".dropdown-toggle").dropdown()})