//{literal} function init() { return; } function preloadNavRollovers() { return; } function IsEmpty(aTextField) { if ((aTextField.value.length==0) || (aTextField.value==null)) { return true; } else { return false; } } function validate_page_name(theForm) { pageName = new String(theForm.name.value); if (IsEmpty(theForm.name)) { alert("Item name cannot be blank"); return false; } if (pageName.indexOf("?") > -1) { alert("No question marks allowed in item names"); return false; } if (pageName.indexOf("'") > -1) { alert("No quotes allowed in item names"); return false; } if (pageName.indexOf("_") > -1) { alert("No underscores allowed in item names"); return false; } return true; } //{/literal}