mReady!"
			], function(doh, date, locale, lang, on, parser, registry, DateTextBox){
				// Add test=true to the URL to run unit tests.
				var test = /mode=test/i.test(window.location.href);

				parser.parse();
				
				// See if we can make a widget in script and attach it to the DOM ourselves.
				on(registry.byId('pattern'), "onMouseEnter", eventHandler);
				on(registry.byId('pattern'), "onMouseLeave", eventHandler);
				on(registry.byId('pattern'), "onKeyDown", eventHandler);

				var props = {
					