function News_CalculateCharLimit(){var r;if($(".news-introduction textarea").length>0&&$(".news-introduction .char_limit").length>0){var i=$(".news-introduction textarea"),t=$(i).val().length,n=0;$(".news-introduction .char_limit").attr("data-charlimit")!==undefined&&(n=$(".news-introduction .char_limit").attr("data-charlimit"));t>0?$(".news-introduction .char_limit").html("
Character Length:<\/strong> "+t+"<\/span>"+(n!==0?" of "+n+"<\/span>":"")):$(".news-introduction .char_limit").html("");n!==undefined&&(n>0&&t>=n?$(".news-introduction .char_limit").addClass("text-danger"):$(".news-introduction .char_limit").removeClass("text-danger"),n>0&&t>n&&(r=$(i).val().substr(0,n),$(i).val(r)))}}$(document).ready(function(){$(".news-introduction .char_limit").length>0&&$(".news-introduction .char_limit").attr("data-charlimit")!==undefined&&$(".news-introduction label").html("Introduction: (Max Character Length: "+$(".news-introduction .char_limit").attr("data-charlimit")+")<\/span>")});$(".news-introduction textarea").keyup(function(){News_CalculateCharLimit()});
/*!
* accounting.js v0.4.2
* Copyright 2014 Open Exchange Rates
*
* Freely distributable under the MIT license.
* Portions of accounting.js are inspired or borrowed from underscore.js
*
* Full details and documentation:
* http://openexchangerates.github.io/accounting.js/
*/
(function(n,t){function o(n){return!!(n===""||n&&n.charCodeAt&&n.substr)}function u(n){return a?a(n):v.call(n)==="[object Array]"}function s(n){return n&&v.call(n)==="[object Object]"}function h(n,t){var i;n=n||{};t=t||{};for(i in t)t.hasOwnProperty(i)&&n[i]==null&&(n[i]=t[i]);return n}function r(n,t,i){var u=[],r,f;if(!n)return u;if(l&&n.map===l)return n.map(t,i);for(r=0,f=n.length;r Character Length:<\/strong> "+t+"<\/span>"+(n!==0?" of "+n+"<\/span>":"")):$(".notices-introduction .char_limit").html("");n!==undefined&&(n>0&&t>=n?$(".notices-introduction .char_limit").addClass("text-danger"):$(".notices-introduction .char_limit").removeClass("text-danger"),n>0&&t>n&&(r=$(i).val().substr(0,n),$(i).val(r)))}}$(document).ready(function(){$(".notices-introduction .char_limit").length>0&&$(".notices-introduction .char_limit").attr("data-charlimit")!==undefined&&$(".notices-introduction label").html("Introduction: (Max Character Length: "+$(".notices-introduction .char_limit").attr("data-charlimit")+")<\/span>")});$(".notices-introduction textarea").keyup(function(){PN_CalculateCharLimit()});
function OnClientFileUploaded(n,t){var r=t.get_fileInfo(),i,u;r.ErrorMessage!=null&&(i=t.get_row(),n._updateRowImage(i,"fail"),n._updateCancelButton(i),u='