function addAlert(){var A=new ajax_connect(ROOT_PATH+"ajax/ajax_default_alerts.php","POST");A.setVars("func=add_alert");A.setVars("alert_keywords,alert_words,alert_publication");A.onComplete(function(C){document.getElement("#my_alerts .right .text").set("html","Email Alert Added");var B=document.getElement("#my_alerts .right .icon");B.set("html",B.getElement("a").get("html"))});A.sendData()};