function autoUrl(b, c) { var a; a = document.getElementById(b); a = a.options[a.selectedIndex].value; if(a != 0) { location.href = c + a } } function autoUrlNoList(b, c) { var a; a = document.getElementById(b).checked; location.href = c + (a == true ? 1 : 0) } function toggle(b, c) { b.style.display = c ? "" : "none" } function toggleMultiple(b) { for(var c = b.length, a = 0;a < c;a++) { b[a].style && toggle(b[a], b[a].style.display == "none") } } function showElemFromSelect(b, c) { for(var a = document.getElementById(b), d = 0;d < a.length;++d) { var e = document.getElementById(c + a.options[d].value); e != null && toggle(e, d == a.selectedIndex) } } function openCloseAllDiv(b, c) { for(var a = $("*[name=" + b + "]"), d = 0;d < a.length;++d) { toggle(a[d], c) } } function toggleElemValue(b, c, a) { if(b = document.getElementById(b)) { b.value = !b.value || b.value == a ? c : a } } function addBookmark(b, c) { if(window.sidebar) { return window.sidebar.addPanel(c, b, "") }else { if(window.external) { return window.external.AddFavorite(b, c) }else { if(window.opera && window.print) { return true } } } return true } function writeBookmarkLink(b, c, a, d) { var e = ""; if(d) { e = writeBookmarkLinkObject(b, c, '<img src="' + d + '" alt="' + escape(a) + '" title="' + escape(a) + '" />') + "&nbsp" } e += writeBookmarkLinkObject(b, c, a); document.write(e) } function writeBookmarkLinkObject(b, c, a) { if(window.sidebar || window.external) { return"<a href=\"javascript:addBookmark('" + escape(b) + "', '" + escape(c) + "')\">" + a + "</a>" }else { if(window.opera && window.print) { return'<a rel="sidebar" href="' + escape(b) + '" title="' + escape(c) + '">' + a + "</a>" } } return"" } function checkCustomizations() { for(var b = / ?filled ?/, c = 0;c < customizationFields.length;c++) { if(parseInt(customizationFields[c][1]) == 1 && $("#" + customizationFields[c][0]).val() == "" && !b.test($("#" + customizationFields[c][0]).attr("class"))) {  return false } } return true } ;