﻿function cleartext(txt) {txt.value = '';}
function search(qid, url) { window.location = url + '?q=' + document.getElementById(qid).value + '&page=1'; return false; }
function setCommandSupressDefault(strCommandName, strCommandValue, strConfirm) { var bConfirm; if (strConfirm != null && strConfirm != "") { bConfirm = confirm(strConfirm); } else { bConfirm = true; } if (bConfirm == true) { document.getElementById("command_name").value = strCommandName; document.getElementById("command_value").value = strCommandValue; document.getElementById("aspnetForm").submit(); } return bConfirm; }
function setCommand(strCommandName, strCommandValue, strConfirm) { var bConfirm; if (strConfirm != null && strConfirm != "") { bConfirm = confirm(strConfirm); } else { bConfirm = true; } if (bConfirm == true) { document.getElementById("command_name").value = strCommandName; document.getElementById("command_value").value = strCommandValue; } return bConfirm; }
function textsize(size) {document.getElementsByTagName("BODY")[0].className = size; return false; }