Academic Awards Countdown ").addClass("circularCountdown").addClass(a.type); c.wrap(f); var m = c.parent(".circularCountdown"), k = d(".secondsDiv", m), l = d(".minutesDiv", m), n = d(".hoursDiv", m), e = d(".daysDiv", m), h = d(".theCircles", m), c = d(".socialIcons", m), y = d(".socialIconsDiv", m), z = d(".logoDiv", m), w = d("h2", m), x = d("h3", m), v = d("h4", m), g = "", p = f = f = "", s = "", t = "", u = A(); m.css({ "font-family": a.pluginFontFamily }); f = a.beginDate.split(","); p = a.launchingDate.split(","); a.beginDate = Date.UTC(parseInt(f[0], 10), parseInt(f[1], 10) - 1, parseInt(f[2], 10), parseInt(f[3], 10), parseInt(f[4], 10), parseInt(f[5], 10)) / 1E3; a.launchingDate = Date.UTC(parseInt(p[0], 10), parseInt(p[1], 10) - 1, parseInt(p[2], 10), parseInt(p[3], 10), parseInt(p[4], 10), parseInt(p[5], 10)) / 1E3; var b = { nowD: new Date, secondsInADay: 86400, secondsInAnHour: 3600, secondsInAMinute: 60, entireWorkingDaysPeriod: 0, totalRemainingSeconds: 0, remainingDays: 0, remainingHours: 0, remainingMinutes: 0, remainingSeconds: 0, canvasSeconds: "", ctxSeconds: "", secondsNumberDiv: d(".innerNumber", k), canvasMinutes: "", ctxMinutes: "", minutesNumberDiv: d(".innerNumber", l), canvasHours: "", ctxHours: "", hoursNumberDiv: d(".innerNumber", n), canvasDays: "", ctxDays: "", daysNumberDiv: d(".innerNumber", e), canvasWidth: 0, canvasOrigWidth: 0, canvasHeight: 0, canvasOrigHeight: 0, unitDivOrigWidth: 0, unitDivOrigHeight: 0, unitDivOrigWidthDays: 0, unitDivOrigHeightDays: 0, unitDivOrigWidthHours: 0, unitDivOrigHeightHours: 0, unitDivOrigWidthMinutes: 0, unitDivOrigHeightMinutes: 0, unitDivOrigWidthSeconds: 0, unitDivOrigHeightSeconds: 0, pluginRatio: 1, repetitionNo: 0 }; b.entireWorkingDaysPeriod = Math.floor((a.launchingDate - a.beginDate) / b.secondsInADay); nowDate_arr = a.nowDate.split(","); b.totalRemainingSeconds = "" == a.nowDate ? a.launchingDate - Date.UTC(b.nowD.getFullYear(), b.nowD.getMonth(), b.nowD.getDate(), b.nowD.getHours(), b.nowD.getMinutes(), b.nowD.getSeconds()) / 1E3 : a.launchingDate - Date.UTC(parseInt(nowDate_arr[0], 10), parseInt(nowDate_arr[1], 10) - 1, parseInt(nowDate_arr[2], 10), parseInt(nowDate_arr[3], 10), parseInt(nowDate_arr[4], 10), parseInt(nowDate_arr[5], 10)) / 1E3; C(b, a); b.canvasWidth = 2 * a.circleRadius + a.circleLineWidth + a.behindCircleLineWidthExpand + 2 * a.circleLeftRightPadding; b.canvasHeight = 2 * a.circleRadius + a.circleLineWidth + a.behindCircleLineWidthExpand + 2 * a.circleTopBottomPadding; b.canvasOrigWidth = b.canvasWidth; b.canvasOrigHeight = b.canvasHeight; - 1 != u && 9 > u || (b.canvasDays = d(".canvasDays", m)[0], b.canvasDays.width = b.canvasWidth, b.canvasDays.height = b.canvasHeight, b.ctxDays = b.canvasDays.getContext("2d"), r("days", b.ctxDays, b.canvasDays, a.behindCircleAlphaDays, a.behindCircleColorDays, a.circleAlphaDays, a.circleColorDays, b, a, e, n, l, k, u, 0), b.canvasHours = d(".canvasHours", m)[0], b.canvasHours.width = b.canvasWidth, b.canvasHours.height = b.canvasHeight, b.ctxHours = b.canvasHours.getContext("2d"), r("hours", b.ctxHours, b.canvasHours, a.behindCircleAlphaHours, a.behindCircleColorHours, a.circleAlphaHours, a.circleColorHours, b, a, e, n, l, k, u, 0), b.canvasMinutes = d(".canvasMinutes", m)[0], b.canvasMinutes.width = b.canvasWidth, b.canvasMinutes.height = b.canvasHeight, b.ctxMinutes = b.canvasMinutes.getContext("2d"), r("minutes", b.ctxMinutes, b.canvasMinutes, a.behindCircleAlphaMinutes, a.behindCircleColorMinutes, a.circleAlphaMinutes, a.circleColorMinutes, b, a, e, n, l, k, u, 0), b.canvasSeconds = d(".canvasSeconds", m)[0], b.canvasSeconds.width = b.canvasWidth, b.canvasSeconds.height = b.canvasHeight, b.ctxSeconds = b.canvasSeconds.getContext("2d"), r("seconds", b.ctxSeconds, b.canvasSeconds, a.behindCircleAlphaSeconds, a.behindCircleColorSeconds, a.circleAlphaSeconds, a.circleColorSeconds, b, a, e, n, l, k, u, 0)); b.totalRemainingSeconds--; b.intervalIDSeconds = setInterval(function() { b.totalRemainingSeconds--; r("seconds", b.ctxSeconds, b.canvasSeconds, a.behindCircleAlphaSeconds, a.behindCircleColorSeconds, a.circleAlphaSeconds, a.circleColorSeconds, b, a, e, n, l, k, u, 1); r("minutes", b.ctxMinutes, b.canvasMinutes, a.behindCircleAlphaMinutes, a.behindCircleColorMinutes, a.circleAlphaMinutes, a.circleColorMinutes, b, a, e, n, l, k, u, 1); r("hours", b.ctxHours, b.canvasHours, a.behindCircleAlphaHours, a.behindCircleColorHours, a.circleAlphaHours, a.circleColorHours, b, a, e, n, l, k, u, 1); r("days", b.ctxDays, b.canvasDays, a.behindCircleAlphaDays, a.behindCircleColorDays, a.circleAlphaDays, a.circleColorDays, b, a, e, n, l, k, u, 1) }, 1E3); g = a.divBackgroundDays; q(a.divBackgroundDays) && (g = "url(" + a.divBackgroundDays + ")"); f = 0; "" != a.borderTopColorDays && (f = "1px solid " + a.borderTopColorDays); p = 0; "" != a.borderRightColorDays && (p = "1px solid " + a.borderRightColorDays); s = 0; "" != a.borderBottomColorDays && (s = "1px solid " + a.borderBottomColorDays); t = 0; "" != a.borderLeftColorDays && (t = "1px solid " + a.borderLeftColorDays); e.css({ "border-top": f, "border-right": p, "border-bottom": s, "border-left": t, background: g }); g = a.divBackgroundHours; q(a.divBackgroundHours) && (g = "url(" + a.divBackgroundHours + ")"); f = 0; "" != a.borderTopColorHours && (f = "1px solid " + a.borderTopColorHours); p = 0; "" != a.borderRightColorHours && (p = "1px solid " + a.borderRightColorHours); s = 0; "" != a.borderBottomColorHours && (s = "1px solid " + a.borderBottomColorHours); t = 0; "" != a.borderLeftColorHours && (t = "1px solid " + a.borderLeftColorHours); n.css({ "border-top": f, "border-right": p, "border-bottom": s, "border-left": t, background: g }); g = a.divBackgroundMinutes; q(a.divBackgroundMinutes) && (g = "url(" + a.divBackgroundMinutes + ")"); f = 0; "" != a.borderTopColorMinutes && (f = "1px solid " + a.borderTopColorMinutes); p = 0; "" != a.borderRightColorMinutes && (p = "1px solid " + a.borderRightColorMinutes); s = 0; "" != a.borderBottomColorMinutes && (s = "1px solid " + a.borderBottomColorMinutes); t = 0; "" != a.borderLeftColorMinutes && (t = "1px solid " + a.borderLeftColorMinutes); l.css({ "border-top": f, "border-right": p, "border-bottom": s, "border-left": t, background: g }); g = a.divBackgroundSeconds; q(a.divBackgroundSeconds) && (g = "url(" + a.divBackgroundSeconds + ")"); f = 0; "" != a.borderTopColorSeconds && (f = "1px solid " + a.borderTopColorSeconds); p = 0; "" != a.borderRightColorSeconds && (p = "1px solid " + a.borderRightColorSeconds); s = 0; "" != a.borderBottomColorSeconds && (s = "1px solid " + a.borderBottomColorSeconds); t = 0; "" != a.borderLeftColorSeconds && (t = "1px solid " + a.borderLeftColorSeconds); k.css({ "border-top": f, "border-right": p, "border-bottom": s, "border-left": t, background: g }); b.unitDivOrigWidthDays = parseInt(2 * a.circleRadius + a.circleLineWidth + a.behindCircleLineWidthExpand + 2 * a.circleLeftRightPadding, 10); b.unitDivOrigWidth = b.unitDivOrigWidthDays; b.unitDivOrigWidthHours = b.unitDivOrigWidthDays; b.unitDivOrigWidthMinutes = b.unitDivOrigWidthDays; b.unitDivOrigWidthSeconds = b.unitDivOrigWidthDays; "" != a.borderLeftColorDays && b.unitDivOrigWidthDays--; "" != a.borderRightColorDays && b.unitDivOrigWidthDays--; e.css({ width: b.unitDivOrigWidth + "px" }); "" != a.borderLeftColorHours && b.unitDivOrigWidthHours--; "" != a.borderRightColorHours && b.unitDivOrigWidthHours--; n.css({ width: b.unitDivOrigWidth + "px" }); "" != a.borderLeftColorMinutes && b.unitDivOrigWidthMinutes--; "" != a.borderRightColorMinutes && b.unitDivOrigWidthMinutes--; l.css({ width: b.unitDivOrigWidth + "px" }); "" != a.borderLeftColorSeconds && b.unitDivOrigWidthSeconds--; "" != a.borderRightColorSeconds && b.unitDivOrigWidthSeconds--; k.css({ width: b.unitDivOrigWidth + "px" }); f = 0; - 1 != u && 9 > u && (f = b.canvasHeight); d(".innerNumber", e).css({ color: a.numberColorDays, "font-size": a.numberSize + "px", "line-height": a.numberSize + "px" }); g = a.textColorBackgroundDays; q(a.textColorBackgroundDays) && (g = "url(" + a.textColorBackgroundDays + ")"); d(".innerText", e).css({ top: f + "px", color: a.textColorDays, "font-size": a.textSize + "px", "line-height": a.textSize + "px", "margin-top": a.textMarginTop + "px", "padding-top": a.textPadding + "px", "padding-bottom": a.textPadding + "px", background: g }); d(".innerNumber", n).css({ color: a.numberColorHours, "font-size": a.numberSize + "px", "line-height": a.numberSize + "px" }); g = a.textColorBackgroundHours; q(a.textColorBackgroundHours) && (g = "url(" + a.textColorBackgroundHours + ")"); d(".innerText", n).css({ top: f + "px", color: a.textColorHours, "font-size": a.textSize + "px", "line-height": a.textSize + "px", "margin-top": a.textMarginTop + "px", "padding-top": a.textPadding + "px", "padding-bottom": a.textPadding + "px", background: g }); d(".innerNumber", l).css({ color: a.numberColorMinutes, "font-size": a.numberSize + "px", "line-height": a.numberSize + "px" }); g = a.textColorBackgroundMinutes; q(a.textColorBackgroundMinutes) && (g = "url(" + a.textColorBackgroundMinutes + ")"); d(".innerText", l).css({ top: f + "px", color: a.textColorMinutes, "font-size": a.textSize + "px", "line-height": a.textSize + "px", "margin-top": a.textMarginTop + "px", "padding-top": a.textPadding + "px", "padding-bottom": a.textPadding + "px", background: g }); d(".innerNumber", k).css({ color: a.numberColorSeconds, "font-size": a.numberSize + "px", "line-height": a.numberSize + "px" }); g = a.textColorBackgroundSeconds; q(a.textColorBackgroundSeconds) && (g = "url(" + a.textColorBackgroundSeconds + ")"); d(".innerText", k).css({ top: f + "px", color: a.textColorSeconds, "font-size": a.textSize + "px", "line-height": a.textSize + "px", "margin-top": a.textMarginTop + "px", "padding-top": a.textPadding + "px", "padding-bottom": a.textPadding + "px", background: g }); f = parseInt(k.width() + l.width() + n.width() + e.width(), 10); "" != a.borderLeftColorDays && f++; "" != a.borderRightColorDays && f++; "" != a.borderLeftColorHours && f++; "" != a.borderRightColorHours && f++; "" != a.borderLeftColorMinutes && f++; "" != a.borderRightColorMinutes && f++; "" != a.borderLeftColorSeconds && f++; "" != a.borderRightColorSeconds && f++; a.origWidth = f; a.prevOrigWidth = f; h.css({ width: f + 2 + "px", "margin-top": a.allCirclesTopMargin + "px", "margin-bottom": a.allCirclesBottomMargin + "px" }); w.css({ "font-size": a.h2Size + "px", "line-height": a.h2Size + "px", color: a.h2Color, "font-weight": a.h2Weight, "margin-top": a.h2TopMargin + "px" }); x.css({ "font-size": a.h3Size + "px", "line-height": a.h3Size + "px", color: a.h3Color, "font-weight": a.h3Weight, "margin-top": a.h3TopMargin + "px" }); v.css({ "font-size": a.h4Size + "px", "line-height": a.h4Size + "px", color: a.h4Color, "font-weight": a.h4Weight, "margin-top": a.h4TopMargin + "px" }); z.css({ width: f + "px", background: "url(" + a.lineSeparatorImg + ") bottom left repeat-x" }); y.css({ width: f + "px", background: "url(" + a.lineSeparatorImg + ") top left repeat-x" }); g = a.socialBgOFF; q(a.socialBgOFF) && (g = "url(" + a.socialBgOFF + ") no-repeat"); d("li", c).css({ background: g }); d("li", c).mouseover(function() { g = a.socialBgON; q(a.socialBgON) && (g = "url(" + a.socialBgON + ") no-repeat"); d(this).css({ background: g }) }); d("li", c).mouseout(function() { g = a.socialBgOFF; q(a.socialBgOFF) && (g = "url(" + a.socialBgOFF + ") no-repeat"); d(this).css({ background: g }) }); b.unitDivOrigHeightDays = parseInt(2 * a.circleRadius + a.circleLineWidth + a.behindCircleLineWidthExpand + 2 * a.circleTopBottomPadding + d(".innerText", e).height() + 2 * a.textPadding + a.textMarginTop, 10); b.unitDivOrigHeight = b.unitDivOrigHeightDays; b.unitDivOrigHeightHours = b.unitDivOrigHeightDays; b.unitDivOrigHeightMinutes = b.unitDivOrigHeightDays; b.unitDivOrigHeightSeconds = b.unitDivOrigHeightDays; "" != a.borderTopColorDays && b.unitDivOrigHeightDays--; "" != a.borderBottomColorDays && b.unitDivOrigHeightDays--; e.css({ height: b.unitDivOrigHeight + "px" }); "" != a.borderTopColorHours && b.unitDivOrigHeightHours--; "" != a.borderBottomColorHours && b.unitDivOrigHeightHours--; n.css({ height: b.unitDivOrigHeight + "px" }); "" != a.borderTopColorMinutes && b.unitDivOrigHeightMinutes--; "" != a.borderBottomColorMinutes && b.unitDivOrigHeightMinutes--; l.css({ height: b.unitDivOrigHeight + "px" }); "" != a.borderTopColorSeconds && b.unitDivOrigHeightSeconds--; "" != a.borderBottomColorSeconds && b.unitDivOrigHeightSeconds--; k.css({ height: b.unitDivOrigHeight + "px" }); setTimeout(function() { D(a, b, e, n, l, k) }, 200); a.responsive && E(b, a, m, z, e, n, l, k, h, y, w, x, v); var B = !1; d(window).resize(function() { var c = A(); doResizeNow = !0; - 1 != navigator.userAgent.indexOf("Android") && (0 == a.windowOrientationScreenSize0 && 0 == window.orientation && (a.windowOrientationScreenSize0 = d(window).width()), 0 == a.windowOrientationScreenSize90 && 90 == window.orientation && (a.windowOrientationScreenSize90 = d(window).height()), 0 == a.windowOrientationScreenSize_90 && -90 == window.orientation && (a.windowOrientationScreenSize_90 = d(window).height()), a.windowOrientationScreenSize0 && 0 == window.orientation && d(window).width() > a.windowOrientationScreenSize0 && (doResizeNow = !1), a.windowOrientationScreenSize90 && 90 == window.orientation && d(window).height() > a.windowOrientationScreenSize90 && (doResizeNow = !1), a.windowOrientationScreenSize_90 && -90 == window.orientation && d(window).height() > a.windowOrientationScreenSize_90 && (doResizeNow = !1), 0 == b.windowWidth && (doResizeNow = !1, b.windowWidth = d(window).width())); - 1 != c && 9 == c && 0 == b.windowWidth && (doResizeNow = !1); b.windowWidth == d(window).width() ? (doResizeNow = !1, a.windowCurOrientation != window.orientation && -1 != navigator.userAgent.indexOf("Android") && (a.windowCurOrientation = window.orientation, doResizeNow = !0)) : b.windowWidth = d(window).width(); a.responsive && doResizeNow && (!1 !== B && clearTimeout(B), B = setTimeout(function() { E(b, a, m, z, e, n, l, k, h, y, w, x, v) }, 300)) }) }) }; d.fn.circularCountdown.defaults = { type: "version1", beginDate: "2012,2,30,22,30,10", launchingDate: "2014,5,18,09,30,00", nowDate: "", pluginFontFamily: "'Arimo', serif", circleRadius: 85, circleLineWidth: 20, behindCircleLineWidthExpand: 6, circleTopBottomPadding: 20, circleLeftRightPadding: 30, numberSize: 60, numberAdditionalTopPadding: 2, textSize: 24, textMarginTop: 18, textPadding: 15, lineSeparatorImg: "circular_countdown_images/line.png", allCirclesTopMargin: 0, allCirclesBottomMargin: 80, divBackgroundDays: "", borderTopColorDays: "", borderRightColorDays: "", borderBottomColorDays: "", borderLeftColorDays: "", circleColorDays: "#004065", circleAlphaDays: 100, behindCircleColorDays: "#000000", behindCircleAlphaDays: 30, numberColorDays: "#c8b18b", textColorDays: "#6f6f6f", textColorBackgroundDays: "", divBackgroundHours: "", borderTopColorHours: "", borderRightColorHours: "", borderBottomColorHours: "", borderLeftColorHours: "", circleColorHours: "#0096d6", circleAlphaHours: 100, behindCircleColorHours: "#000000", behindCircleAlphaHours: 30, numberColorHours: "#aba089", textColorHours: "#6f6f6f", textColorBackgroundHours: "", divBackgroundMinutes: "", borderTopColorMinutes: "", borderRightColorMinutes: "", borderBottomColorMinutes: "", borderLeftColorMinutes: "", circleColorMinutes: "#004065", circleAlphaMinutes: 100, behindCircleColorMinutes: "#000000", behindCircleAlphaMinutes: 30, numberColorMinutes: "#aba089", textColorMinutes: "#6f6f6f", textColorBackgroundMinutes: "", divBackgroundSeconds: "", borderTopColorSeconds: "", borderRightColorSeconds: "", borderBottomColorSeconds: "", borderLeftColorSeconds: "", circleColorSeconds: "#0096d6", circleAlphaSeconds: 100, behindCircleColorSeconds: "#000000", behindCircleAlphaSeconds: 30, numberColorSeconds: "#aba089", textColorSeconds: "#6f6f6f", textColorBackgroundSeconds: "", socialBgOFF: "circular_countdown_images/social_icons/socialCircleOFF.png", socialBgON: "circular_countdown_images/social_icons/socialCircleON.png", h2Size: 36, h2Color: "#FFFFFF", h2Weight: "bold", h2TopMargin: 60, h3Size: 24, h3Color: "#6f6f6f", h3Weight: "normal", h3TopMargin: 0, h4Size: 14, h4Color: "#6f6f6f", h4Weight: "normal", h4TopMargin: 15, complete: null, responsive: !1, origWidth: 0, prevOrigWidth: 0, thumbsWrapperMarginBottom: 0, windowOrientationScreenSize0: 0, windowOrientationScreenSize90: 0, windowOrientationScreenSize_90: 0, windowCurOrientation: 0 } })(jQuery); Countdown to the Academic Awards Announcement: 0 DAYS 0 HOURS 0 MINUTES 0 SECONDS