tElementsByTagName("script");
                var JQFound = JQUIFound = NotiFound = false;
                for (var s = 0; s < ScriptsFound.length; s++) {
                    if (ScriptsFound[s].src.indexOf("jquery.js") > -1) { JQFound = true; }
                    if (ScriptsFound[s].src.indexOf("jquery-ui.min.js") > -1) { JQUIFound = true; }
                    if (ScriptsFound[s].src.indexOf("notify.js") > -1) { NotiFound = true; }
                }
                var headID = xFrm.document.getElementsB