1 var limit = document.getElementById('limit');
2 var span = document.getElementById('span_limit');
3 var old_limit = $content[views_max];
5 function FocusLimitedNo () {
6 if ((limit.value > 0) && (limit.value != '-')) {
7 old_limit = limit.value;
10 limit.setAttribute('class', 'disabled');
11 limit.style.textAlign = 'center';
15 function FocusLimitedYes () {
16 limit.disabled = false;
17 limit.setAttribute('class', 'member_normal');
18 limit.style.textAlign = 'left';
20 limit.value = old_limit;
27 function SubmitForm () {
28 if (limit.value == '-') {
34 function ResetForm () {
40 if ($content[limited] == true) {