function null_loader() { return true; } function el(i) { return document.getElementById(i); } function lmbDynaTable_OverRow(obj, going_to, default_color, over_color, on_color) { if (going_to == 'ov') { if (!obj.isON) { obj.style.backgroundColor = over_color; } } else if (going_to == 'on') { if (obj.isON) { obj.isON = 0; obj.style.backgroundColor = over_color; } else { obj.isON = 1; obj.style.backgroundColor = on_color; } } else { obj.style.backgroundColor = obj.isON ? on_color : default_color; } } function lmbTxtAreaResize(id, ud) { var obj = document.getElementById(id); if (!obj) return; if (ud == -1) { if (obj.rows < 11) return; obj.rows -= 5; if (obj.rows < 10) obj.rows = 10; } else { if (obj.rows > 49) return; obj.rows += 5; if (obj.rows > 50) obj.rows = 50; } } function moreInfo(infoPage) { var infoWin = window.open('moreInfo.php?ifp='+infoPage,'moreInfoWin','width=400,height=400,scrollbars,resizable'); infoWin.focus(); } function badWords(list, fieldName) { list = list.split(","); numWords = list.length; list = list.join("\n\t", list); alert(numWords+" unallowed word"+((numWords>1) ? "s were" : " was")+" found in \""+fieldName+"\":\n\n\t"+list); } function lmb_hidemod(modid) { obj = document.getElementById(modid); obj.style.display = obj.style.display == 'none' ? 'block' : 'none'; return false; } function lmb_closemod(modid) { obj = document.getElementById(modid); obj2 = document.getElementById(modid+'_HDR'); obj3 = document.getElementById(modid+'_BR'); obj.style.display = 'none'; obj2.style.display = 'none'; obj3.style.display = 'none'; return false; } function goFAQ(faqID) { return false; } errcount = 0; function adderr(err_obj_id, err_txt) { if (err_obj_id == 'GET_ERROR_COUNT') { return errcount; } if (err_obj_id == 'RESET_COUNT') { errcount = 0; return; } obj = document.getElementById(err_obj_id+'_err_td'); // if (obj.innerHTML == '') { ++errcount; // } obj.innerHTML = err_txt; } function delerr(err_obj_id) { obj = document.getElementById(err_obj_id+'_err_td'); if (obj.innerHTML != '') { obj.innerHTML = ''; --errcount; } } function lmbCloseLyr(obj_name) { obj = document.getElementById(obj_name); obj.style.visibility = 'hidden'; } function getRealLeft(obj) { if (arguments.length==0) obj = this; xPos = obj.offsetLeft; tempobj = obj.offsetParent; while (tempobj != null) { xPos += tempobj.offsetLeft; tempobj = tempobj.offsetParent; } return xPos; } function getRealTop(obj) { if (arguments.length==0) obj = this; yPos = obj.offsetTop; tempobj = obj.offsetParent; while (tempobj != null) { yPos += tempobj.offsetTop; tempobj = tempobj.offsetParent; } return yPos; } function lmbSwitchCheck(id) { obj = document.getElementById(id); obj.checked = !obj.checked; return false; } lmbFocusFormEelem = function() { var lmbEls = document.getElementsByTagName("INPUT"); for (var i=0; i