-(function($,c,b){$.map("click dblclick mousemove mousedown mouseup mouseover mouseout change select submit keydown keypress keyup".split(" "),function(d){a(d)});a("focusin","focus"+b);a("focusout","blur"+b);$.addOutsideEvent=a;function a(g,e){e=e||g+b;var d=$(),h=g+"."+e+"-special-event";$.event.special[e]={setup:function(){d=d.add(this);if(d.length===1){$(c).bind(h,f)}},teardown:function(){d=d.not(this);if(d.length===0){$(c).unbind(h)}},add:function(i){var j=i.handler;i.handler=function(l,k){l.target=k;j.apply(this,arguments)}}};function f(i){$(d).each(function(){var j=$(this);if(this!==i.target&&!j.has(i.target).length){j.triggerHandler(e,[i.target])}})}}})(jQuery,document,"outside");
\ No newline at end of file
+(function($,c,b){$.map("click dblclick mousemove mousedown mouseup mouseover mouseout change select submit keydown keypress keyup".split(" "),function(d){a(d)});a("focusin","focus"+b);a("focusout","blur"+b);$.addOutsideEvent=a;function a(g,e){e=e||g+b;var d=$(),h=g+"."+e+"-special-event";$.event.special[e]={setup:function(){d=d.add(this);if(d.length===1){$(c).bind(h,f)}},teardown:function(){d=d.not(this);if(d.length===0){$(c).unbind(h)}},add:function(i){var j=i.handler;i.handler=function(l,k){l.target=k;j.apply(this,arguments)}}};function f(i){$(d).each(function(){var j=$(this);if(this!==i.target&&!j.has(i.target).length){j.triggerHandler(e,[i.target])}})}}})(jQuery,document,"outside");\r
+\r
+$(document).ready( function(){\r
+ pickedTags().init();\r
+\r
+ $('input#bnewaccount').click(function() {\r
+ $('#bnewaccount').disabled=true;\r
+ });\r
+});\r
+\r
+function yourWorkWillBeLost(e) {\r
+ if(browserTester('chrome')) {\r
+ return "Are you sure you want to leave? Your work will be lost.";\r
+ } else if(browserTester('safari')) {\r
+ return "Are you sure you want to leave? Your work will be lost.";\r
+ } else {\r
+ if(!e) e = window.event;\r
+ e.cancelBubble = true;\r
+ e.returnValue = 'If you leave, your work will be lost.';\r
+\r
+ if (e.stopPropagation) {\r
+ e.stopPropagation();\r
+ e.preventDefault();\r
+ }\r
+ return e;\r
+ }\r
+}\r
+\r
+function browserTester(browserString) {\r
+ return navigator.userAgent.toLowerCase().indexOf(browserString) > -1;\r
+}\r
+\r
+// Add missing IE functionality\r
+if (!window.addEventListener) {\r
+ if (window.attachEvent) {\r
+ window.addEventListener = function (type, listener, useCapture) {\r
+ window.attachEvent('on' + type, listener);\r
+ };\r
+ window.removeEventListener = function (type, listener, useCapture) {\r
+ window.detachEvent('on' + type, listener);\r
+ };\r
+ } else {\r
+ window.addEventListener = function (type, listener, useCapture) {\r
+ window['on' + type] = listener;\r
+ };\r
+ window.removeEventListener = function (type, listener, useCapture) {\r
+ window['on' + type] = null;\r
+ };\r
+ }\r
+}
\ No newline at end of file