function charCounter(field,counter,maxChars){$('counter'+counter).innerHTML=(maxChars-field.length);if((maxChars-field.length)<11){$('counter'+counter).style.color='#cc0000';}else{$('counter'+counter).style.color='#595959';}}