var QueryString = function () { // Gets all parameters passed to the page. // This function is anonymous, so it is executed immediately and // the return value is assigned to the global variable QueryString. // Used with permission by Oran D. Lord var query_string = {}; var query = window.location.search.substring(1); var vars = query.split("&"); for (var i = 0; i < vars.length; i++) { var pair = vars[i].split("="); // If first entry with this name if (typeof query_string[pair[0]] === "undefined") { query_string[pair[0]] = pair[1]; // If second entry with this name } else if (typeof query_string[pair[0]] === "string") { var arr = [query_string[pair[0]], pair[1]]; query_string[pair[0]] = arr; // If third or later entry with this name } else { query_string[pair[0]].push(pair[1]); } } return query_string; } (); function OnClientItemClosing(sender, args) { args.set_cancel(true); } function ExternalitemOpened(s, e) { if ($telerik.isIE8) { // Fix an IE 8 bug that causes the list bullets to disappear (standards mode only) $telerik.$("li", e.get_item().get_element()) .each(function () { this.style.cssText = this.style.cssText; }); } } function ExternalOnClientItemClicking(sender, args) { if (args.get_item().get_isOpen() == true) { args.set_cancel(true); args.get_item().close(); } else { args.set_cancel(true); args.get_item().open(); } } function OnClientMouseOverHandler(sender, eventArgs) { if (eventArgs.get_item().get_parent() == sender) { sender.set_clicked(false); } } //Prevent cross-domain framing attacks function breakOut() { if (self != top) top.location = self.document.location; }