https://cerecore.service-now.com/assessment_take2.do?sysparm_assessable_type=f30877c71329d300e3913ff18144b0b9&sysparm_assessable_sysid=4b89f4cb1b05219c78fd326ecc4bcbe5

Last Checked: Feb 20, 2023, 12:28 EST

IP Address: 149.96.248.139
ASN #: AS16839 SNC, US
Location: Unknown, Unknown, Unknown
URL Reputation:
  • Unknown This URL is not identified as malicious in the PhishTank Database.
  • Unknown PhishCheck thinks this URL is likely not a phish.
  • Unknown OpenPhish: URL not in feed.

Other submissions on 149.96.248.139:

  • https://cerecore.service-now.com/assessment_take2.do?sysparm_assessable_type=f30877c71329d300e3913ff18144b0b9&sysparm_assessable_sysid=7a33e38a1b902dd078fd326ecc4bcbdb

Other submissions on service-now.com:

  • https://atyourserviceportal.service-now.com/esc?id=sc_cat_item&sys_id=38d17ae4db21bc948d2dce46b9961945&sysparm_category=6010be2cdbed7c948d2dce46b99619ce

  • https://scania.service-now.com/nav_to.do?uri=incident.do%3Fsys_id=06c1d6e297f5e9d06fbdfda6f053af71%26sysparm_stack=incident_list.do%3Fsysparm_query=active=true

  • https://ethosgroup.service-now.com/eg_cupo?id=questionnaire_addendum&link=linkSysid&sysid=603d3c0fb3e4a910cf61890a0f07624e

  • https://nsnsi.service-now.com/email_display.do?email_id=67490987973bbd90a1b9b79fe153af4d

  • https://goldmansachs.service-now.com/now?id=kb_article_view&sysparm_article=KB0015378

  • https://cohnreznick.service-now.com/nav_to.do?uri=live_feed_launcher.do?sysparm_feed_type=msg_feed%26sysparm_msg_id=678d45371b94f950ea1f7661cd4bcb63

  • http://tuisprod@service-now.com/

  • https://toshibatec.service-now.com/

  • https://shaarp.service-now.com/sp?id=approvals

  • https://cerecore.service-now.com/assessment_take2.do?sysparm_assessable_type=f30877c71329d300e3913ff18144b0b9&sysparm_assessable_sysid=7a33e38a1b902dd078fd326ecc4bcbdb

Previous checks:

                               Domain Name: SERVICE-NOW.COM
Registry Domain ID: 74671068_DOMAIN_COM-VRSN
Registrar WHOIS Server: whois.godaddy.com
Registrar URL: https://www.godaddy.com
Updated Date: 2023-01-20T13:52:27Z
Creation Date: 2001-07-04T05:45:33Z
Registrar Registration Expiration Date: 2025-07-04T05:45:32Z
Registrar: GoDaddy.com, LLC
Registrar IANA ID: 146
Registrar Abuse Contact Email: abuse@godaddy.com
Registrar Abuse Contact Phone: +1.4806242505
Domain Status: clientTransferProhibited https://icann.org/epp#clientTransferProhibited
Domain Status: clientUpdateProhibited https://icann.org/epp#clientUpdateProhibited
Domain Status: clientRenewProhibited https://icann.org/epp#clientRenewProhibited
Domain Status: clientDeleteProhibited https://icann.org/epp#clientDeleteProhibited
Registry Registrant ID: Not Available From Registry
Registrant Name: Registration Private
Registrant Organization: Domains By Proxy, LLC
Registrant Street: DomainsByProxy.com
Registrant Street: 2155 E Warner Rd
Registrant City: Tempe
Registrant State/Province: Arizona
Registrant Postal Code: 85284
Registrant Country: US
Registrant Phone: +1.4806242599
Registrant Phone Ext:
Registrant Fax: +1.4806242598
Registrant Fax Ext:
Registrant Email: Select Contact Domain Holder link at https://www.godaddy.com/whois/results.aspx?domain=SERVICE-NOW.COM
Registry Admin ID: Not Available From Registry
Admin Name: Registration Private
Admin Organization: Domains By Proxy, LLC
Admin Street: DomainsByProxy.com
Admin Street: 2155 E Warner Rd
Admin City: Tempe
Admin State/Province: Arizona
Admin Postal Code: 85284
Admin Country: US
Admin Phone: +1.4806242599
Admin Phone Ext:
Admin Fax: +1.4806242598
Admin Fax Ext:
Admin Email: Select Contact Domain Holder link at https://www.godaddy.com/whois/results.aspx?domain=SERVICE-NOW.COM
Registry Tech ID: Not Available From Registry
Tech Name: Registration Private
Tech Organization: Domains By Proxy, LLC
Tech Street: DomainsByProxy.com
Tech Street: 2155 E Warner Rd
Tech City: Tempe
Tech State/Province: Arizona
Tech Postal Code: 85284
Tech Country: US
Tech Phone: +1.4806242599
Tech Phone Ext:
Tech Fax: +1.4806242598
Tech Fax Ext:
Tech Email: Select Contact Domain Holder link at https://www.godaddy.com/whois/results.aspx?domain=SERVICE-NOW.COM
Name Server: EDNS140.ULTRADNS.COM
Name Server: EDNS140.ULTRADNS.NET
Name Server: EDNS140.ULTRADNS.ORG
Name Server: AUS1.AKAM.NET
Name Server: EUR6.AKAM.NET
Name Server: NS1-98.AKAM.NET
Name Server: USE1.AKAM.NET
Name Server: NS1-234.AKAM.NET
Name Server: USC4.AKAM.NET
Name Server: USE3.AKAM.NET
Name Server: USW1.AKAM.NET
Name Server: EDNS140.ULTRADNS.BIZ
DNSSEC: signedDelegation
URL of the ICANN WHOIS Data Problem Reporting System: http://wdprs.internic.net/
>>> Last update of WHOIS database: 2023-02-20T17:28:55Z <<<
For more information on Whois status codes, please visit https://icann.org/epp

TERMS OF USE: The data contained in this registrar's Whois database, while believed by the
registrar to be reliable, is provided "as is" with no guarantee or warranties regarding its
accuracy. This information is provided for the sole purpose of assisting you in obtaining
information about domain name registration records. Any use of this data for any other purpose
is expressly forbidden without the prior written permission of this registrar. By submitting
an inquiry, you agree to these terms and limitations of warranty. In particular, you agree not
to use this data to allow, enable, or otherwise support the dissemination or collection of this
data, in part or in its entirety, for any purpose, such as transmission by e-mail, telephone,
postal mail, facsimile or other means of mass unsolicited, commercial advertising or solicitations
of any kind, including spam. You further agree not to use this data to enable high volume, automated
or robotic electronic processes designed to collect or compile this data for any purpose, including
mining this data for your own personal or commercial purposes. Failure to comply with these terms
may result in termination of access to the Whois database. These terms may be subject to modification
at any time without notice.

                             
  • POST
    0 Timed out waiting for a response.

    https://cerecore.service-now.com/xmlhttp.do

<html class="ltr date-calendar tabbed" data-doctype="true" dir="ltr" ontouchend="CustomEvent.fireAll('body_clicked', event);" onclick="CustomEvent.fireAll('body_clicked', event);" lang="en"><head><script type="text/javascript"></script><title>Take survey | ServiceNow Production</title><meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1"><meta http-equiv="cache-control" content="public"><script src="/uxasset/externals/service-worker/loader.jsdbx?uxpcb=1676644830788&amp;sysparm_substitute=false"></script><script>var mswDisabledValue = "false";
			var disabled = mswDisabledValue === 'true' ? true : false;
			var serviceWorkers = JSON.parse("[{\"scope\":\"/\",\"serviceWorkerUrl\":\"/uxsw/scope/root.js\"},{\"scope\":\"/x/\",\"serviceWorkerUrl\":\"/uxsw/scope/now_x.js\"},{\"scope\":\"/now/\",\"serviceWorkerUrl\":\"/uxsw/scope/now_x.js\"}]");
			var SERVICE_WORKER_MANAGER_CONFIG = {disabled, serviceWorkers};
			if (window.serviceWorkerManager) window.serviceWorkerManager.init(SERVICE_WORKER_MANAGER_CONFIG);</script><meta name="viewport" content="initial-scale=1.0"><script type="text/javascript" data-description="globals population">
	window.NOW = window.NOW || {};
	var g_loadTime = new Date();
	var lastActivity = new Date();
	var g_lang = 'en';
	var g_system_lang = 'en';
	var g_enhanced_activated = 'true';
	  var g_popup_timeout = parseInt(100);
	var g_export_warn_threshold = parseInt(10000);
	  var g_event_handler_ids = {};
	var g_event_handlers = [];
	var g_event_handlers_onLoad = [];
	var g_event_handlers_onSubmit = [];
	var g_event_handlers_onChange = [];
	var g_event_handlers_onCellEdit = {};
	var g_event_handlers_localCache = {};
	var g_event_handlers_queryTracking = true;
	var g_user_date_time_format = "yyyy-MM-dd HH:mm:ss";
	var g_user_date_format = "yyyy-MM-dd";
	var g_user_decimal_separator = ".";
	var g_user_grouping_separator = ",";
	var g_glide_list_separator = ", ";
	var g_allow_field_dependency_for_templates = ("true" === "true");
	var g_tz_offset = -21600000;
	  var g_tz_user_offset = true;
	var g_first_day_of_week = parseInt(1, 10);
	var g_date_picker_first_day_of_week = parseInt(0, 10);
	  var g_full_calendar_edit = true;
	var g_submitted = false;
	var g_max_table_length = 80;
	var g_fontSizePreference = "";
	var g_fontSize = "10pt";
	// use to be the sys_property glide.ui.js_error_notify, hard coded for PRB603998
	var g_jsErrorNotify = "true";
	var g_cancelPreviousTransaction = true;
	var g_text_direction = "ltr";
	var g_glide_list_filter_max_length =  parseInt("0", 10);
	var g_accessibility = false;
	var g_accessibility_tooltips = false;
	var g_accessibility_tooltip_duration = parseInt("10", 10);
	var g_accessibility_visual_patterns = false;
	var g_accessibility_screen_reader_table = false;
	var g_detail_row = false;
	var g_builddate = "12-20-2022_0122";
	// default values to be used in absence of user preferences are hard coded below
	// as well as in keyboardShortcuts.js and keyboard_preference_changer.xml
	window.g_keyboard_shortcuts = {};
	window.g_keyboard_shortcuts.allow_in_input_fields = false;
	window.g_keyboard_shortcuts.enabled = true;
	window.g_keyboard_shortcuts.global_search = {};
	window.g_keyboard_shortcuts.global_search.enabled = true;
	window.g_keyboard_shortcuts.global_search.key_combination = 'ctrl+alt+g';
	window.g_keyboard_shortcuts.main_frame = {};
	window.g_keyboard_shortcuts.main_frame.enabled = true;
	window.g_keyboard_shortcuts.main_frame.key_combination = 'ctrl+alt+p';
	window.g_keyboard_shortcuts.navigator_toggle = {};
	window.g_keyboard_shortcuts.navigator_toggle.enabled = true;
	window.g_keyboard_shortcuts.navigator_toggle.key_combination = 'ctrl+alt+c';
	window.g_keyboard_shortcuts.navigator_filter = {};
	window.g_keyboard_shortcuts.navigator_filter.enabled = true;
	window.g_keyboard_shortcuts.navigator_filter.key_combination = 'ctrl+alt+f';
	window.g_keyboard_shortcuts.impersonator = {}
	window.g_keyboard_shortcuts.impersonator.enabled = true;
	window.g_keyboard_shortcuts.impersonator.key_combination = 'ctrl+alt+i';
	var g_concourse_onmessage_enforce_same_origin = 'true'.toLowerCase() === 'true';
	var g_concourse_onmessage_enforce_same_origin_whitelist = '';
	window.g_load_functions = [];
	window.g_render_functions = [];
	window.g_late_load_functions = [];
	window.g_tiny_url = {};
	window.g_tiny_url.use_tiny = 'true' === 'true';
	window.g_tiny_url.min_length = parseInt('1024');
	
	
	var g_ck = 'a5dff44f1bc5219c78fd326ecc4bcb989f6fc9b330b6f59f3dd3c48262d130e6da661a96';
	

	
	var g_acWaitTime = parseInt(250);
	

	var g_autoRequest = '';

	try {
		window.NOW.dateFormat = JSON.parse("{\"timeAgo\": false, \"dateBoth\": false}");
	} catch (e) {
		window.NOW.dateFormat = {timeAgo: false, dateBoth: false};
	}

	window.NOW.dateFormat.dateStringFormat = "yyyy-MM-dd";
	window.NOW.dateFormat.timeStringFormat = "HH:mm:ss";
	window.NOW.shortDateFormat = false;
	window.NOW.listTableWrap = true;
	window.NOW.compact = false;
  	window.NOW.templateToggle = false;
	window.NOW.tabbed = true;
	window.NOW.permalink = true;
	window.NOW.useSimpleStorage = true;
	window.NOW.httpRequestCompressionThreshold = 40000;
	window.NOW.httpRequestCompressionLevel = -1;
	window.NOW.httpRequestCompressionMemoryLevel = -1;
	window.NOW.deferAmbConnection = false;
	window.NOW.deferredAmbConnectionTimeout = 10000;
	window.NOW.simpleStorageSynch = "194514691b0d651c78fd326ecc4bcb22";
	window.NOW.language =  'en';
	window.NOW.listOpenInAppTab = false;
	window.NOW.floatingScrollbars = false;
	
	window.NOW.user = {};
	window.NOW.user.preferences = [];
	window.NOW.user.roles = '';
	window.NOW.user.allRoles = '';
	window.NOW.user.userID = '5136503cc611227c0183e96598c4f706';
	window.NOW.user.departmentID = '221db0edc611228401760aec06c9d929';
	window.NOW.user.firstName = 'Guest';
	window.NOW.user.lastName = 'Guest';
	window.NOW.user.name = 'guest';
  	window.NOW.user.isImpersonating = false;
	window.NOW.batch_glide_ajax_requests = 'true' === 'true';
	window.NOW.batch_glide_ajax_requests_max_time_in_queue = ~~'50';
	window.NOW.batch_glide_ajax_disable_time = ~~'1000';

	window.NOW.currency = {};
	window.NOW.currency.code = 'USD';
	window.NOW.locale = {};
	window.NOW.locale.code = 'en_US';

	window.NOW.attachment = {};
	
	window.NOW.attachment.overflow_limit =  parseInt('3', 10);
	window.NOW.isPolarisEnabled = "false";
	window.NOW.polaris_page_info ={"canUsePolarisCSS":false,"canUsePolarisTemplates":false,"jvar_form_name":"ui_page_render"};</script><script data-comment="GlideUser initialization">(function() {
		 g_render_functions.push(setGlideUser);
		function setGlideUser() {
			if (window.g_user || !window.GlideUser)
		return;

		window.g_user = new GlideUser(NOW.user.name,
			  NOW.user.firstName,
			  NOW.user.lastName,
			  NOW.user.roles,
			  NOW.user.userID,
			  NOW.user.departmentID);
		window.g_user.setRoles(NOW.user.allRoles, true);
		}
	})();</script><script data-comment="Fiscal schedule constants">window.NOW.filter_globals = "[[\"This fiscal month\", \"javascript:gs.beginningOfThisSchedulePeriod(\'0ca8ae11d7222100738dc0da9e6103e3\',\'This fiscal month\')\", \"javascript:gs.endOfThisSchedulePeriod(\'0ca8ae11d7222100738dc0da9e6103e3\',\'This fiscal month\')\", \"javascript:gs.endOfThisSchedulePeriod(\'0ca8ae11d7222100738dc0da9e6103e3\',\'This fiscal month\')\"], [\"Last fiscal month\", \"javascript:gs.beginningOfLastSchedulePeriod(\'0ca8ae11d7222100738dc0da9e6103e3\',\'Last fiscal month\')\", \"javascript:gs.endOfLastSchedulePeriod(\'0ca8ae11d7222100738dc0da9e6103e3\',\'Last fiscal month\')\", \"javascript:gs.endOfLastSchedulePeriod(\'0ca8ae11d7222100738dc0da9e6103e3\',\'Last fiscal month\')\"], [\"Next fiscal month\", \"javascript:gs.beginningOfNextSchedulePeriod(\'0ca8ae11d7222100738dc0da9e6103e3\',\'Next fiscal month\')\", \"javascript:gs.endOfNextSchedulePeriod(\'0ca8ae11d7222100738dc0da9e6103e3\',\'Next fiscal month\')\", \"javascript:gs.endOfNextSchedulePeriod(\'0ca8ae11d7222100738dc0da9e6103e3\',\'Next fiscal month\')\"], [\"Last 3 fiscal months\", \"javascript:gs.beginningOfSchedulePeriodsAgo(3, \'0ca8ae11d7222100738dc0da9e6103e3\',\'Last 3 fiscal months\')\", \"javascript:gs.endOfSchedulePeriodsAgo(1, \'0ca8ae11d7222100738dc0da9e6103e3\',\'Last 3 fiscal months\')\", \"javascript:gs.beginningOfSchedulePeriodsAgo(3, \'0ca8ae11d7222100738dc0da9e6103e3\',\'Last 3 fiscal months\')\"], [\"Last 12 fiscal months\", \"javascript:gs.beginningOfSchedulePeriodsAgo(12, \'0ca8ae11d7222100738dc0da9e6103e3\',\'Last 12 fiscal months\')\", \"javascript:gs.endOfSchedulePeriodsAgo(1, \'0ca8ae11d7222100738dc0da9e6103e3\',\'Last 12 fiscal months\')\", \"javascript:gs.beginningOfSchedulePeriodsAgo(12, \'0ca8ae11d7222100738dc0da9e6103e3\',\'Last 12 fiscal months\')\"], [\"Next 3 fiscal months\", \"javascript:gs.beginningOfSchedulePeriodsAgo(-1, \'0ca8ae11d7222100738dc0da9e6103e3\',\'Next 3 fiscal months\')\", \"javascript:gs.endOfSchedulePeriodsAgo(-3, \'0ca8ae11d7222100738dc0da9e6103e3\',\'Next 3 fiscal months\')\", \"javascript:gs.endOfSchedulePeriodsAgo(-3, \'0ca8ae11d7222100738dc0da9e6103e3\',\'Next 3 fiscal months\')\"], [\"Next 12 fiscal months\", \"javascript:gs.beginningOfSchedulePeriodsAgo(-1, \'0ca8ae11d7222100738dc0da9e6103e3\',\'Next 12 fiscal months\')\", \"javascript:gs.endOfSchedulePeriodsAgo(-12, \'0ca8ae11d7222100738dc0da9e6103e3\',\'Next 12 fiscal months\')\", \"javascript:gs.endOfSchedulePeriodsAgo(-12, \'0ca8ae11d7222100738dc0da9e6103e3\',\'Next 12 fiscal months\')\"], [\"This fiscal quarter\", \"javascript:gs.beginningOfThisSchedulePeriod(\'b198ae11d7222100738dc0da9e6103d7\',\'This fiscal quarter\')\", \"javascript:gs.endOfThisSchedulePeriod(\'b198ae11d7222100738dc0da9e6103d7\',\'This fiscal quarter\')\", \"javascript:gs.endOfThisSchedulePeriod(\'b198ae11d7222100738dc0da9e6103d7\',\'This fiscal quarter\')\"], [\"Last fiscal quarter\", \"javascript:gs.beginningOfLastSchedulePeriod(\'b198ae11d7222100738dc0da9e6103d7\',\'Last fiscal quarter\')\", \"javascript:gs.endOfLastSchedulePeriod(\'b198ae11d7222100738dc0da9e6103d7\',\'Last fiscal quarter\')\", \"javascript:gs.endOfLastSchedulePeriod(\'b198ae11d7222100738dc0da9e6103d7\',\'Last fiscal quarter\')\"], [\"Last 4 fiscal quarters\", \"javascript:gs.beginningOfSchedulePeriodsAgo(4, \'b198ae11d7222100738dc0da9e6103d7\',\'Last 4 fiscal quarters\')\", \"javascript:gs.endOfSchedulePeriodsAgo(1, \'b198ae11d7222100738dc0da9e6103d7\',\'Last 4 fiscal quarters\')\", \"javascript:gs.beginningOfSchedulePeriodsAgo(4, \'b198ae11d7222100738dc0da9e6103d7\',\'Last 4 fiscal quarters\')\"], [\"Next fiscal quarter\", \"javascript:gs.beginningOfNextSchedulePeriod(\'b198ae11d7222100738dc0da9e6103d7\',\'Next fiscal quarter\')\", \"javascript:gs.endOfNextSchedulePeriod(\'b198ae11d7222100738dc0da9e6103d7\',\'Next fiscal quarter\')\", \"javascript:gs.endOfNextSchedulePeriod(\'b198ae11d7222100738dc0da9e6103d7\',\'Next fiscal quarter\')\"], [\"Next 4 fiscal quarters\", \"javascript:gs.beginningOfSchedulePeriodsAgo(-1, \'b198ae11d7222100738dc0da9e6103d7\',\'Next 4 fiscal quarters\')\", \"javascript:gs.endOfSchedulePeriodsAgo(-4, \'b198ae11d7222100738dc0da9e6103d7\',\'Next 4 fiscal quarters\')\", \"javascript:gs.endOfSchedulePeriodsAgo(-4, \'b198ae11d7222100738dc0da9e6103d7\',\'Next 4 fiscal quarters\')\"], [\"This fiscal year\", \"javascript:gs.beginningOfThisSchedulePeriod(\'3f682e11d7222100738dc0da9e610353\',\'This fiscal year\')\", \"javascript:gs.endOfThisSchedulePeriod(\'3f682e11d7222100738dc0da9e610353\',\'This fiscal year\')\", \"javascript:gs.endOfThisSchedulePeriod(\'3f682e11d7222100738dc0da9e610353\',\'This fiscal year\')\"], [\"Last fiscal year\", \"javascript:gs.beginningOfLastSchedulePeriod(\'3f682e11d7222100738dc0da9e610353\',\'Last fiscal year\')\", \"javascript:gs.endOfLastSchedulePeriod(\'3f682e11d7222100738dc0da9e610353\',\'Last fiscal year\')\", \"javascript:gs.endOfLastSchedulePeriod(\'3f682e11d7222100738dc0da9e610353\',\'Last fiscal year\')\"], [\"Next fiscal year\", \"javascript:gs.beginningOfNextSchedulePeriod(\'3f682e11d7222100738dc0da9e610353\',\'Next fiscal year\')\", \"javascript:gs.endOfNextSchedulePeriod(\'3f682e11d7222100738dc0da9e610353\',\'Next fiscal year\')\", \"javascript:gs.endOfNextSchedulePeriod(\'3f682e11d7222100738dc0da9e610353\',\'Next fiscal year\')\"]]" || "[]";</script><script data-description="NOW glide web analytics siteid and url">window.snWebaConfig = window.snWebaConfig || {};
		// glide web analytics config
		window.snWebaConfig.siteId = "0";
		window.snWebaConfig.trackerURL = "";
		window.snWebaConfig.webaScriptPath = "/scripts/piwik-3.1.1/thirdparty/piwik.min.js";
		window.snWebaConfig.ambClient = (window.g_ambClient) ? window.g_ambClient : ((window.amb)? window.amb.getClient(): "");
		window.snWebaConfig.subscribed = false;</script><script type="text/javascript" src="/ConditionalFocus.jsdbx?v=12-20-2022_0122&amp;c=31_965"></script><link href="CereCore Logo Transparent 2019.png" rel="shortcut icon"><script>// window.performance in Chrome, Firefox, and Internet Explorer 9+ (not Safari)
				window.NOW.xperf = window.performance || {};
				if (!NOW.xperf.now) {
					NOW.xperf.now = function() { return new Date().getTime(); };
				}
				NOW.xperf.parseBegin = NOW.xperf.now();
				NOW.xperf.cssBegin = NOW.xperf.now();</script><link type="text/css" rel="stylesheet" href="/styles/css_includes_doctype.cssx?v=12-20-2022_0122&amp;c=7d5ffe651b8d291c78fd326ecc4bcb13&amp;theme=system"><link type="text/css" rel="stylesheet" href="/styles/heisenberg/source_sans_pro.cssx?v=12-20-2022_0122&amp;c=7d5ffe651b8d291c78fd326ecc4bcb13&amp;theme=system"><link type="text/css" rel="stylesheet" href="/styles/heisenberg/heisenberg_all.cssx?v=12-20-2022_0122&amp;c=7d5ffe651b8d291c78fd326ecc4bcb13&amp;theme=system"><script>NOW.xperf.cssEnd = NOW.xperf.now();
			NOW.xperf.scriptBegin = NOW.xperf.now();</script><script type="text/javascript" src="/scripts/doctype/js_includes_doctype.jsx?v=12-20-2022_0122&amp;lp=Wed_Feb_08_13_52_17_PST_2023&amp;c=31_965"></script><script type="text/javascript" src="/scripts/js_includes_customer.jsx?v=12-20-2022_0122&amp;lp=Wed_Feb_08_13_52_17_PST_2023&amp;c=31_965"></script><script>NOW.xperf.scriptEnd = NOW.xperf.now();
				NOW.xperf.parseEnd = NOW.xperf.now();
				$j(function() {
					var x = NOW.xperf;
					var last = x.lastDoctypeEnd - x.lastDoctypeBegin;
					if (window.console) {
						console.log("+-- Parse times");
						console.log("| CSS parse: " + (x.cssEnd - x.cssBegin));
						console.log("| JS  doctype: " + (x.scriptEnd - x.scriptBegin));
						console.log("| JS at end of page: " + last);
						console.log("+-- All parsing: " + (x.parseEnd - x.parseBegin + last));
					}

					var ms = Math.round(x.parseEnd - x.parseBegin + last);
					CustomEvent.fire('page_timing', { name: 'PARS', ms: ms, win: window });

					if (window.performance && performance.timing) {
						NOW.xperf.z = new Date().getTime();
						setTimeout(function () {
						   var x = performance.timing.loadEventEnd - performance.timing.domContentLoadedEventStart;
						   CustomEvent.fire('page_timing', { name: 'DOMC', ms: x, win: window });
						   x = performance.timing.loadEventStart - NOW.xperf.z;
						   CustomEvent.fire('page_timing', { name: 'PROC', ms: x, win: window });
						}, 250);  // has to be done after the loadEvent ends
					}
				})</script><script type="text/javascript" src="/scripts/doctype/js_includes_legacy.jsx?v=12-20-2022_0122&amp;lp=Wed_Feb_08_13_52_17_PST_2023&amp;c=31_965"></script><script type="text/javascript" data-comment="navpage layout preferences, onfocus observation">/**
	* Every window needs to observe these events.
	*/
	if (Prototype.Browser.IE && !isMSIE9) {
		document.onfocusout = function() { CustomEvent.fireTop(GlideEvent.WINDOW_BLURRED, window); };
		document.onfocusin = function() { CustomEvent.fireTop(GlideEvent.WINDOW_FOCUSED, window); };
	} else {
		Event.observe(window, 'blur', function() { CustomEvent.fireTop(GlideEvent.WINDOW_BLURRED, window); });
		Event.observe(window, 'focus', function() { CustomEvent.fireTop(GlideEvent.WINDOW_FOCUSED, window); });
	}</script><script type="text/javascript">g_swLoadTime = new StopWatch(g_loadTime);

    if (window.CustomEvent){
        CustomEvent.fireAll("ck_updated", "a5dff44f1bc5219c78fd326ecc4bcb989f6fc9b330b6f59f3dd3c48262d130e6da661a96");
	    CustomEvent.fireTop("navigation.complete", window);
	}

    addLoadEvent( function() {

		if (isValidTouchDevice())
			addTouchScrollClassToBody();

      if (typeof g_ck != 'undefined') {
        CustomEvent.observe("ck_updated", function(ck) { g_ck = ck; });
        CustomEvent.fireAll("ck_updated", "a5dff44f1bc5219c78fd326ecc4bcb989f6fc9b330b6f59f3dd3c48262d130e6da661a96");}try {
              var helpico = getTopWindow().document.getElementById("help_ico");

              if (helpico) {
                var urlname=window.location.pathname.split("?");
                var search_str = window.location.search;
                
                // if this is a form, extract the record's sys_id...
                var sys_id_loc = search_str.search(/sys_id=[0-9a-f]{32}/i);
                var sys_id_str = (sys_id_loc != -1) ? search_str.substr(sys_id_loc, 39) : null;
                
                // make the URL to our context help processor...
                var url_search = "?sysparm_url=" + urlname[0];
                if (sys_id_loc != -1)
                   url_search += "&" + sys_id_str;

               	helpico.href="context_help.do" + url_search;                	
              }
            } catch (exception) {}

      synchCache();
      pageLoaded();
    });
    
    function synchCache() {
      try {
        var w = getTopWindow();
        if (w.g_cache_message)
          w.g_cache_message.stamp("194514691b0d651c78fd326ecc4bcb22");
  
        if (w.g_cache_td)
          w.g_cache_td.stamp("74be78871bc5219c78fd326ecc4bcbc7");
      } catch(e) {}
    }

    function isValidTouchDevice() {
		var navigator = window.navigator || {};
		var devices;
		try {
			devices = 'iPad,Android'.split(',');
		} catch(ex) {
			devices = [];
		}
		return devices.some(function(item) {return item.trim() === navigator.platform;});
	}

	function addTouchScrollClassToBody() {
		if ('ontouchstart' in window ||
				(navigator.maxTouchPoints !== 'undefined' && navigator.maxTouchPoints > 0) ||
				(navigator.msMaxTouchPoints !== 'undefined' && navigator.msMaxTouchPoints > 0)) {
			if (typeof document.body != undefined) {
				document.body.classList.add('touch_scroll');
			}
		}
	}
  </script><!--googleoff: all--><noscript>This site requires JavaScript to be enabled</noscript> <!--googleon: all--><script type="text/javascript" src="/scripts/app.guided_tours/js_guided_tours_includes.jsx?v=12-20-2022_0122"></script></head><body class="chrome        non_standard_lists" data-formname="ui_page_render"><span class="sr-only"><div id="html_page_aria_live_polite" role="region" aria-relevant="additions text" aria-atomic="false" aria-live="polite"></div><div id="html_page_aria_live_assertive" role="region" aria-relevant="additions text" aria-atomic="false" aria-live="assertive"></div></span><div class="outputmsg_div"><div id="output_messages" class="outputmsg_container outputmsg_hide"><button type="button" aria-label="Close Messages" id="close-messages-btn" class="btn btn-icon close icon-cross" onclick="GlideUI.get().onCloseMessagesButtonClick(this); return false;"></button><div class="outputmsg_div" aria-live="polite" role="region" data-server-messages="false"></div></div><script>addRenderEvent(function() {CustomEvent.fire('glide_optics_inspect_update_watchfield', '');});

			var accessibilityEnabled = Boolean(false);
			if (accessibilityEnabled) {
				$j(function() {
					$j('#output_messages .btn.btn-icon.close').focus();
				});
			}</script><span class="ui_notification" data-type="session_change" data-text="" data-attr-session_domain="global"></span></div><script type="text/javascript" src="/scripts/js_includes_assessment.jsx?v=12-20-2022_0122&amp;lp=Wed_Feb_08_13_52_17_PST_2023&amp;c=31_965"></script><link type="text/css" rel="stylesheet" href="/styles/assessment.cssx?v=12-20-2022_0122"><form action="ui_page_process.do?sys_id=012918babfb001007a6d257b3f073996" id="form.012918babfb001007a6d257b3f073996" method="POST"><input name="sysparm_ck" id="sysparm_ck" type="hidden" value="a5dff44f1bc5219c78fd326ecc4bcb989f6fc9b330b6f59f3dd3c48262d130e6da661a96"><input type="hidden" id="type_sysID" name="type_sysID" value="f30877c71329d300e3913ff18144b0b9"><input type="hidden" id="instance_sysID" name="instance_sysID" value="4b89f4cb1b05219c78fd326ecc4bcbe5"><input type="hidden" id="selection_result" name="selection_result" value=""><input type="hidden" id="hiddenQuestions" name="hiddenQuestions" value=""><input type="hidden" id="attachmentQuestions" name="attachmentQuestions" value=""><input name="sys_target" id="sys_target" type="HIDDEN" value="asmt_assessment_instance"><input name="sys_uniqueValue" id="sys_uniqueValue" type="HIDDEN" value="4b89f4cb1b05219c78fd326ecc4bcbe5"><nav class="navbar navbar-default"><div class="container-fluid"><div class="navbar-header"><h1 class="navbar-title">CereCore Client Support Survey - Phone Level 1</h1></div><div class="nav navbar-right"><button class="btn btn-primary navbar-btn" type="submit" onclick="return submitAssessment();" id="submit" name="submit">Submit</button><button class="btn btn-default navbar-btn" type="submit" onclick="return cancelAssessment();" id="cancel" name="cancel">Cancel</button><div style="clear: both;"></div></div></div></nav><input type="hidden" value="incident.do?sys_id=ba75cb158785ed94067a11f73cbb3572" name="task_record_url" id="task_record_url"><div class="notification notification-info">
								This survey is in regards to Ardent Health Services Incident: 
								<a onclick="openTaskOverlay(event)" class="related-task-link">INC5820363</a><button data-dismiss="alert" class="btn btn-icon close icon-cross"><span class="sr-only">Close</span></button></div><div class="introduction"><p><span style="font-family: arial, helvetica, sans-serif; font-size: large;">Help us improve by taking our short satisfaction survey</span><span style="font-family: arial, helvetica, sans-serif; font-size: large;">&nbsp;related to your recent incident. <br></span></p></div><div class="assessment" data-form-title="Take survey"><table class="wrap"><tbody><tr><td><div id="variable_map" style="visibility:hidden;display:none"><item qname="8389f4cb1b05219c78fd326ecc4bcbe8" id="8389f4cb1b05219c78fd326ecc4bcbe8"></item><item qname="8f89f4cb1b05219c78fd326ecc4bcbe7" id="8f89f4cb1b05219c78fd326ecc4bcbe7"></item><item qname="c389f4cb1b05219c78fd326ecc4bcbe7" id="c389f4cb1b05219c78fd326ecc4bcbe7"></item><item qname="8b89f4cb1b05219c78fd326ecc4bcbe8" id="8b89f4cb1b05219c78fd326ecc4bcbe8"></item><item qname="8789f4cb1b05219c78fd326ecc4bcbe8" id="8789f4cb1b05219c78fd326ecc4bcbe8"></item></div></td></tr><tr class="0c18f7c71329d300e3913ff18144b0e3--asmt_metric_type--f30877c71329d300e3913ff18144b0b9 asmt_metric_type--f30877c71329d300e3913ff18144b0b9--controlled" id="CATEGORY_LABEL:f30877c71329d300e3913ff18144b0b9--0c18f7c71329d300e3913ff18144b0e3"><td><table class="" style="width: 100%"><tbody><tr><td><div class="question_category_label " id="assessable-label-f30877c71329d300e3913ff18144b0b9--0c18f7c71329d300e3913ff18144b0e3">CereCore Client Support Survey</div><div class="category_description 0c18f7c71329d300e3913ff18144b0e3--asmt_metric_type--f30877c71329d300e3913ff18144b0b9"></div></td></tr></tbody></table></td></tr><tr class="0c18f7c71329d300e3913ff18144b0e3--asmt_metric_type--f30877c71329d300e3913ff18144b0b9 asmt_metric_type--f30877c71329d300e3913ff18144b0b9" id="ASMTQUESTION:c389f4cb1b05219c78fd326ecc4bcbe7-row" style=""><td class="iotd"><fieldset><table width="100%" cellspacing="0" cellpadding="0"><tbody><tr><td class="noSpacerCell">&nbsp;</td><td><table class="question_spacer survey_table is-required" role="presentation" width="100%" cellspacing="0" cellpadding="5"><tbody><tr class="survey 0c18f7c71329d300e3913ff18144b0e3--asmt_metric_type--f30877c71329d300e3913ff18144b0b9 asmt_metric_type--f30877c71329d300e3913ff18144b0b9" id="label_ASMTQUESTION:c389f4cb1b05219c78fd326ecc4bcbe7"><td colspan="2" oncontextmenu="return contextQuestionLabel(event, 'c389f4cb1b05219c78fd326ecc4bcbe7');"><legend><span id="status.ASMTQUESTION:c389f4cb1b05219c78fd326ecc4bcbe7" oclass="mandatory required-marker" allow_na="false" assessable_id="f30877c71329d300e3913ff18144b0b9" class="mandatory required-marker required-marker label_description" mandatory="true" title="Mandatory - must be populated before Submit" data-original-title="Mandatory - must be populated before Submit">&nbsp;</span><label for="ASMTQUESTION:c389f4cb1b05219c78fd326ecc4bcbe7" title="" class="question_label" data-original-title="">How courteous and respectful was the analyst who answered your initial call?</label></legend></td></tr><tr><td class="likertScale survey-margin-likert" id="surveyRadioChoices_ASMTQUESTION:c389f4cb1b05219c78fd326ecc4bcbe7" role="radiogroup" aria-labelledby="label_ASMTQUESTION:c389f4cb1b05219c78fd326ecc4bcbe7" width="100%"><span class="input-group-radio" style="height: 32px;" aria-checked="false"><input id="5i8jd6nh29mcrk26sqbaqmgnrv" sn-atf-id="ASMT-MET-DEF-f30877c71329d300e3913ff18144b0b9-8418f7c71329d300e3913ff18144b0ea" name="ASMTQUESTION:c389f4cb1b05219c78fd326ecc4bcbe7" type="radio" class="questionSetWidget radio sc-radio" value="1" onclick="if(this.hasAttribute('readonly')) return false;if (typeof(g_form.variableOnChange) == 'function') g_form.variableOnChange('ASMTQUESTION:c389f4cb1b05219c78fd326ecc4bcbe7'); showDependentQuestions(this)"><label for="5i8jd6nh29mcrk26sqbaqmgnrv" class="radio-label" style="min-height: 32px; height: auto;">Very Poor</label></span><span class="input-group-radio" style="height: 32px;" aria-checked="false"><input id="j8s8g7m4ifr6pvballc20rrojr" sn-atf-id="ASMT-MET-DEF-f30877c71329d300e3913ff18144b0b9-4818f7c71329d300e3913ff18144b0ee" name="ASMTQUESTION:c389f4cb1b05219c78fd326ecc4bcbe7" type="radio" class="questionSetWidget radio sc-radio" value="2" onclick="if(this.hasAttribute('readonly')) return false;if (typeof(g_form.variableOnChange) == 'function') g_form.variableOnChange('ASMTQUESTION:c389f4cb1b05219c78fd326ecc4bcbe7'); showDependentQuestions(this)"><label for="j8s8g7m4ifr6pvballc20rrojr" class="radio-label" style="min-height: 32px; height: auto;">Poor</label></span><span class="input-group-radio" style="height: 32px;" aria-checked="false"><input id="n6n1fvm99ellemb6vkjrdhb2d2" sn-atf-id="ASMT-MET-DEF-f30877c71329d300e3913ff18144b0b9-c018f7c71329d300e3913ff18144b0f2" name="ASMTQUESTION:c389f4cb1b05219c78fd326ecc4bcbe7" type="radio" class="questionSetWidget radio sc-radio" value="3" onclick="if(this.hasAttribute('readonly')) return false;if (typeof(g_form.variableOnChange) == 'function') g_form.variableOnChange('ASMTQUESTION:c389f4cb1b05219c78fd326ecc4bcbe7'); showDependentQuestions(this)"><label for="n6n1fvm99ellemb6vkjrdhb2d2" class="radio-label" style="min-height: 32px; height: auto;">Good</label></span><span class="input-group-radio" style="height: 32px;" aria-checked="false"><input id="34l3esre59bvguertf3m61narf" sn-atf-id="ASMT-MET-DEF-f30877c71329d300e3913ff18144b0b9-4c18f7c71329d300e3913ff18144b0f5" name="ASMTQUESTION:c389f4cb1b05219c78fd326ecc4bcbe7" type="radio" class="questionSetWidget radio sc-radio" value="4" onclick="if(this.hasAttribute('readonly')) return false;if (typeof(g_form.variableOnChange) == 'function') g_form.variableOnChange('ASMTQUESTION:c389f4cb1b05219c78fd326ecc4bcbe7'); showDependentQuestions(this)"><label for="34l3esre59bvguertf3m61narf" class="radio-label" style="min-height: 32px; height: auto;">Excellent</label></span><input type="hidden" value="" id="null_checked_radio"><input type="HIDDEN" class="questionSetWidget radio" name="sys_original.ASMTQUESTION:c389f4cb1b05219c78fd326ecc4bcbe7" id="sys_original.ASMTQUESTION:c389f4cb1b05219c78fd326ecc4bcbe7" value=""></td></tr><tr><td colspan="2"></td></tr></tbody></table></td></tr></tbody></table></fieldset></td></tr><tr class="0c18f7c71329d300e3913ff18144b0e3--asmt_metric_type--f30877c71329d300e3913ff18144b0b9 asmt_metric_type--f30877c71329d300e3913ff18144b0b9" id="ASMTQUESTION:8b89f4cb1b05219c78fd326ecc4bcbe8-row" style=""><td class="iotd"><fieldset><table width="100%" cellspacing="0" cellpadding="0"><tbody><tr><td class="noSpacerCell">&nbsp;</td><td><table class="question_spacer survey_table is-required" role="presentation" width="100%" cellspacing="0" cellpadding="5"><tbody><tr class="survey 0c18f7c71329d300e3913ff18144b0e3--asmt_metric_type--f30877c71329d300e3913ff18144b0b9 asmt_metric_type--f30877c71329d300e3913ff18144b0b9" id="label_ASMTQUESTION:8b89f4cb1b05219c78fd326ecc4bcbe8"><td colspan="2" oncontextmenu="return contextQuestionLabel(event, '8b89f4cb1b05219c78fd326ecc4bcbe8');"><legend><span id="status.ASMTQUESTION:8b89f4cb1b05219c78fd326ecc4bcbe8" oclass="mandatory required-marker" allow_na="false" assessable_id="f30877c71329d300e3913ff18144b0b9" class="mandatory required-marker required-marker label_description" mandatory="true" title="Mandatory - must be populated before Submit" data-original-title="Mandatory - must be populated before Submit">&nbsp;</span><label for="ASMTQUESTION:8b89f4cb1b05219c78fd326ecc4bcbe8" title="" class="question_label" data-original-title="">Please rate the technical competency of the analyst who resolved your issue.</label></legend></td></tr><tr><td class="likertScale survey-margin-likert" id="surveyRadioChoices_ASMTQUESTION:8b89f4cb1b05219c78fd326ecc4bcbe8" role="radiogroup" aria-labelledby="label_ASMTQUESTION:8b89f4cb1b05219c78fd326ecc4bcbe8" width="100%"><span class="input-group-radio" style="height: 32px;" aria-checked="false"><input id="ith101qt27t6sui9cltm6f4otq" sn-atf-id="ASMT-MET-DEF-f30877c71329d300e3913ff18144b0b9-4c183bc71329d300e3913ff18144b00b" name="ASMTQUESTION:8b89f4cb1b05219c78fd326ecc4bcbe8" type="radio" class="questionSetWidget radio sc-radio" value="1" onclick="if(this.hasAttribute('readonly')) return false;if (typeof(g_form.variableOnChange) == 'function') g_form.variableOnChange('ASMTQUESTION:8b89f4cb1b05219c78fd326ecc4bcbe8'); showDependentQuestions(this)"><label for="ith101qt27t6sui9cltm6f4otq" class="radio-label" style="min-height: 32px; height: auto;">Very Poor</label></span><span class="input-group-radio" style="height: 32px;" aria-checked="false"><input id="dtvpldvrcjups08b0odong00po" sn-atf-id="ASMT-MET-DEF-f30877c71329d300e3913ff18144b0b9-44183bc71329d300e3913ff18144b00f" name="ASMTQUESTION:8b89f4cb1b05219c78fd326ecc4bcbe8" type="radio" class="questionSetWidget radio sc-radio" value="2" onclick="if(this.hasAttribute('readonly')) return false;if (typeof(g_form.variableOnChange) == 'function') g_form.variableOnChange('ASMTQUESTION:8b89f4cb1b05219c78fd326ecc4bcbe8'); showDependentQuestions(this)"><label for="dtvpldvrcjups08b0odong00po" class="radio-label" style="min-height: 32px; height: auto;">Poor</label></span><span class="input-group-radio" style="height: 32px;" aria-checked="false"><input id="6s49osc02sa41r5b9ba50ck4ob" sn-atf-id="ASMT-MET-DEF-f30877c71329d300e3913ff18144b0b9-dc183bc71329d300e3913ff18144b012" name="ASMTQUESTION:8b89f4cb1b05219c78fd326ecc4bcbe8" type="radio" class="questionSetWidget radio sc-radio" value="3" onclick="if(this.hasAttribute('readonly')) return false;if (typeof(g_form.variableOnChange) == 'function') g_form.variableOnChange('ASMTQUESTION:8b89f4cb1b05219c78fd326ecc4bcbe8'); showDependentQuestions(this)"><label for="6s49osc02sa41r5b9ba50ck4ob" class="radio-label" style="min-height: 32px; height: auto;">Good</label></span><span class="input-group-radio" style="height: 32px;" aria-checked="false"><input id="lvauoj5s37t7bugg7m4gtemnbk" sn-atf-id="ASMT-MET-DEF-f30877c71329d300e3913ff18144b0b9-58183bc71329d300e3913ff18144b016" name="ASMTQUESTION:8b89f4cb1b05219c78fd326ecc4bcbe8" type="radio" class="questionSetWidget radio sc-radio" value="4" onclick="if(this.hasAttribute('readonly')) return false;if (typeof(g_form.variableOnChange) == 'function') g_form.variableOnChange('ASMTQUESTION:8b89f4cb1b05219c78fd326ecc4bcbe8'); showDependentQuestions(this)"><label for="lvauoj5s37t7bugg7m4gtemnbk" class="radio-label" style="min-height: 32px; height: auto;">Excellent</label></span><input type="hidden" value="" id="null_checked_radio"><input type="HIDDEN" class="questionSetWidget radio" name="sys_original.ASMTQUESTION:8b89f4cb1b05219c78fd326ecc4bcbe8" id="sys_original.ASMTQUESTION:8b89f4cb1b05219c78fd326ecc4bcbe8" value=""></td></tr><tr><td colspan="2"></td></tr></tbody></table></td></tr></tbody></table></fieldset></td></tr><tr class="0c18f7c71329d300e3913ff18144b0e3--asmt_metric_type--f30877c71329d300e3913ff18144b0b9 asmt_metric_type--f30877c71329d300e3913ff18144b0b9" id="ASMTQUESTION:8f89f4cb1b05219c78fd326ecc4bcbe7-row" style=""><td class="iotd"><fieldset><table width="100%" cellspacing="0" cellpadding="0"><tbody><tr><td class="noSpacerCell">&nbsp;</td><td><table class="question_spacer survey_table is-required" role="presentation" width="100%" cellspacing="0" cellpadding="5"><tbody><tr class="survey 0c18f7c71329d300e3913ff18144b0e3--asmt_metric_type--f30877c71329d300e3913ff18144b0b9 asmt_metric_type--f30877c71329d300e3913ff18144b0b9" id="label_ASMTQUESTION:8f89f4cb1b05219c78fd326ecc4bcbe7"><td colspan="2" oncontextmenu="return contextQuestionLabel(event, '8f89f4cb1b05219c78fd326ecc4bcbe7');"><legend><span id="status.ASMTQUESTION:8f89f4cb1b05219c78fd326ecc4bcbe7" oclass="mandatory required-marker" allow_na="false" assessable_id="f30877c71329d300e3913ff18144b0b9" class="mandatory required-marker required-marker label_description" mandatory="true" title="Mandatory - must be populated before Submit" data-original-title="Mandatory - must be populated before Submit">&nbsp;</span><label for="ASMTQUESTION:8f89f4cb1b05219c78fd326ecc4bcbe7" title="" class="question_label" data-original-title="">How satisfied are you with your overall service experience?</label></legend></td></tr><tr><td class="likertScale survey-margin-likert" id="surveyRadioChoices_ASMTQUESTION:8f89f4cb1b05219c78fd326ecc4bcbe7" role="radiogroup" aria-labelledby="label_ASMTQUESTION:8f89f4cb1b05219c78fd326ecc4bcbe7" width="100%"><span class="input-group-radio" style="height: 32px;" aria-checked="false"><input id="n1da51pic587q68ntpo98rpjqt" sn-atf-id="ASMT-MET-DEF-f30877c71329d300e3913ff18144b0b9-90183bc71329d300e3913ff18144b020" name="ASMTQUESTION:8f89f4cb1b05219c78fd326ecc4bcbe7" type="radio" class="questionSetWidget radio sc-radio" value="1" onclick="if(this.hasAttribute('readonly')) return false;if (typeof(g_form.variableOnChange) == 'function') g_form.variableOnChange('ASMTQUESTION:8f89f4cb1b05219c78fd326ecc4bcbe7'); showDependentQuestions(this)"><label for="n1da51pic587q68ntpo98rpjqt" class="radio-label" style="min-height: 32px; height: auto;">Very Dissatisfied</label></span><span class="input-group-radio" style="height: 32px;" aria-checked="false"><input id="m4pkr9g35uvjb245c1a245uk2h" sn-atf-id="ASMT-MET-DEF-f30877c71329d300e3913ff18144b0b9-98183bc71329d300e3913ff18144b023" name="ASMTQUESTION:8f89f4cb1b05219c78fd326ecc4bcbe7" type="radio" class="questionSetWidget radio sc-radio" value="2" onclick="if(this.hasAttribute('readonly')) return false;if (typeof(g_form.variableOnChange) == 'function') g_form.variableOnChange('ASMTQUESTION:8f89f4cb1b05219c78fd326ecc4bcbe7'); showDependentQuestions(this)"><label for="m4pkr9g35uvjb245c1a245uk2h" class="radio-label" style="min-height: 32px; height: auto;">Dissatisfied</label></span><span class="input-group-radio" style="height: 32px;" aria-checked="false"><input id="qf4sp0c1j60vv0sntrlk2226lc" sn-atf-id="ASMT-MET-DEF-f30877c71329d300e3913ff18144b0b9-14183bc71329d300e3913ff18144b027" name="ASMTQUESTION:8f89f4cb1b05219c78fd326ecc4bcbe7" type="radio" class="questionSetWidget radio sc-radio" value="3" onclick="if(this.hasAttribute('readonly')) return false;if (typeof(g_form.variableOnChange) == 'function') g_form.variableOnChange('ASMTQUESTION:8f89f4cb1b05219c78fd326ecc4bcbe7'); showDependentQuestions(this)"><label for="qf4sp0c1j60vv0sntrlk2226lc" class="radio-label" style="min-height: 32px; height: auto;">Satisfied</label></span><span class="input-group-radio" style="height: 32px;" aria-checked="false"><input id="11l3bqsqkg8phfqjlhiq6eb1t8" sn-atf-id="ASMT-MET-DEF-f30877c71329d300e3913ff18144b0b9-9c183bc71329d300e3913ff18144b02a" name="ASMTQUESTION:8f89f4cb1b05219c78fd326ecc4bcbe7" type="radio" class="questionSetWidget radio sc-radio" value="4" onclick="if(this.hasAttribute('readonly')) return false;if (typeof(g_form.variableOnChange) == 'function') g_form.variableOnChange('ASMTQUESTION:8f89f4cb1b05219c78fd326ecc4bcbe7'); showDependentQuestions(this)"><label for="11l3bqsqkg8phfqjlhiq6eb1t8" class="radio-label" style="min-height: 32px; height: auto;">Very Satisfied</label></span><input type="hidden" value="" id="null_checked_radio"><input type="HIDDEN" class="questionSetWidget radio" name="sys_original.ASMTQUESTION:8f89f4cb1b05219c78fd326ecc4bcbe7" id="sys_original.ASMTQUESTION:8f89f4cb1b05219c78fd326ecc4bcbe7" value=""></td></tr><tr><td colspan="2"></td></tr></tbody></table></td></tr></tbody></table></fieldset></td></tr><tr class="0c18f7c71329d300e3913ff18144b0e3--asmt_metric_type--f30877c71329d300e3913ff18144b0b9 asmt_metric_type--f30877c71329d300e3913ff18144b0b9" id="ASMTQUESTION:8789f4cb1b05219c78fd326ecc4bcbe8-row" style="display:none"><td class="iotd"><table width="100%" cellspacing="0" cellpadding="0"><tbody><tr><td class="noSpacerCell">&nbsp;</td><td><table width="100%" cellspacing="0" cellpadding="0"><tbody><tr class="0c18f7c71329d300e3913ff18144b0e3--asmt_metric_type--f30877c71329d300e3913ff18144b0b9 asmt_metric_type--f30877c71329d300e3913ff18144b0b9"><td><table class="question_spacer survey_table " tabindex="0" role="presentation" width="100%" cellspacing="0" cellpadding="0"><tbody><tr class="survey 0c18f7c71329d300e3913ff18144b0e3--asmt_metric_type--f30877c71329d300e3913ff18144b0b9 asmt_metric_type--f30877c71329d300e3913ff18144b0b9" id="label_ASMTQUESTION:8789f4cb1b05219c78fd326ecc4bcbe8"><td colspan="2" oncontextmenu="return contextQuestionLabel(event, '8789f4cb1b05219c78fd326ecc4bcbe8');"><span id="status.ASMTQUESTION:8789f4cb1b05219c78fd326ecc4bcbe8" oclass="" allow_na="false" assessable_id="f30877c71329d300e3913ff18144b0b9" class="" mandatory="false" title="Mandatory - must be populated before Submit" data-original-title="Mandatory - must be populated before Submit"></span><label for="ASMTQUESTION:8789f4cb1b05219c78fd326ecc4bcbe8" title="" id="label.ASMTQUESTION:8789f4cb1b05219c78fd326ecc4bcbe8" class="question_label" data-original-title="">Any other comments you would like us to know?</label></td></tr><tr><td colspan="2"><table width="100%" cellspacing="0" cellpadding="0"></table></td></tr><tr class="0c18f7c71329d300e3913ff18144b0e3--asmt_metric_type--f30877c71329d300e3913ff18144b0b9 asmt_metric_type--f30877c71329d300e3913ff18144b0b9"><td colspan="2"><textarea name="ASMTQUESTION:8789f4cb1b05219c78fd326ecc4bcbe8" id="ASMTQUESTION:8789f4cb1b05219c78fd326ecc4bcbe8" sn-atf-id="ASMT-MET-f30877c71329d300e3913ff18144b0b9-5c183bc71329d300e3913ff18144b030" class="form-control questionSetWidget survey-margin" style="width: 98%" datatype="string-multiline" auto_gen="false" isinvalidstring="" onchange="g_form.updatestringQAnswerChangeMap(this.value, '', this.name); if (typeof(g_form.variableOnChange) == 'function') g_form.variableOnChange('ASMTQUESTION:8789f4cb1b05219c78fd326ecc4bcbe8'); showDependentQuestions(this)" rows="5" wrap="soft"></textarea><input type="HIDDEN" class="questionSetWidget" name="sys_original.ASMTQUESTION:8789f4cb1b05219c78fd326ecc4bcbe8" id="sys_original.ASMTQUESTION:8789f4cb1b05219c78fd326ecc4bcbe8" value=""></td><script>addRenderEvent(function() {
															var e = gel('ASMTQUESTION:8789f4cb1b05219c78fd326ecc4bcbe8');
															if (e) {
																// this fixes an obscure bug in IE where textareas don't scroll all the way to the bottom and the text display is truncated.
																// by deferring setting the rowsize, it forces a recalc of the scrollbar and displays correctly
																e.rows = 5;
															}
														});</script></tr></tbody></table></td></tr></tbody></table></td></tr></tbody></table></td></tr><tr class="0c18f7c71329d300e3913ff18144b0e3--asmt_metric_type--f30877c71329d300e3913ff18144b0b9 asmt_metric_type--f30877c71329d300e3913ff18144b0b9" id="ASMTQUESTION:8389f4cb1b05219c78fd326ecc4bcbe8-row" style="display:none"><td class="iotd"><table width="100%" cellspacing="0" cellpadding="0"><tbody><tr><td class="noSpacerCell">&nbsp;</td><td><table width="100%" cellspacing="0" cellpadding="0"><tbody><tr class="0c18f7c71329d300e3913ff18144b0e3--asmt_metric_type--f30877c71329d300e3913ff18144b0b9 asmt_metric_type--f30877c71329d300e3913ff18144b0b9"><td><table class="question_spacer survey_table is-required" tabindex="0" role="presentation" width="100%" cellspacing="0" cellpadding="0"><tbody><tr class="survey 0c18f7c71329d300e3913ff18144b0e3--asmt_metric_type--f30877c71329d300e3913ff18144b0b9 asmt_metric_type--f30877c71329d300e3913ff18144b0b9" id="label_ASMTQUESTION:8389f4cb1b05219c78fd326ecc4bcbe8"><td colspan="2" oncontextmenu="return contextQuestionLabel(event, '8389f4cb1b05219c78fd326ecc4bcbe8');"><span id="status.ASMTQUESTION:8389f4cb1b05219c78fd326ecc4bcbe8" oclass="mandatory required-marker" allow_na="false" assessable_id="f30877c71329d300e3913ff18144b0b9" class="mandatory required-marker required-marker label_description" mandatory="true" title="Mandatory - must be populated before Submit" data-original-title="Mandatory - must be populated before Submit">&nbsp;</span><label for="ASMTQUESTION:8389f4cb1b05219c78fd326ecc4bcbe8" title="" id="label.ASMTQUESTION:8389f4cb1b05219c78fd326ecc4bcbe8" class="question_label" data-original-title="">Please let us know what caused this unsatisfactory experience.</label></td></tr><tr><td colspan="2"><table width="100%" cellspacing="0" cellpadding="0"></table></td></tr><tr class="0c18f7c71329d300e3913ff18144b0e3--asmt_metric_type--f30877c71329d300e3913ff18144b0b9 asmt_metric_type--f30877c71329d300e3913ff18144b0b9"><td colspan="2"><textarea name="ASMTQUESTION:8389f4cb1b05219c78fd326ecc4bcbe8" id="ASMTQUESTION:8389f4cb1b05219c78fd326ecc4bcbe8" sn-atf-id="ASMT-MET-f30877c71329d300e3913ff18144b0b9-30a1171447934954166178b2e36d4372" class="form-control questionSetWidget survey-margin" style="width: 98%" datatype="string-multiline" auto_gen="false" isinvalidstring="" onchange="g_form.updatestringQAnswerChangeMap(this.value, '', this.name); if (typeof(g_form.variableOnChange) == 'function') g_form.variableOnChange('ASMTQUESTION:8389f4cb1b05219c78fd326ecc4bcbe8'); showDependentQuestions(this)" rows="5" wrap="soft"></textarea><input type="HIDDEN" class="questionSetWidget" name="sys_original.ASMTQUESTION:8389f4cb1b05219c78fd326ecc4bcbe8" id="sys_original.ASMTQUESTION:8389f4cb1b05219c78fd326ecc4bcbe8" value=""></td><script>addRenderEvent(function() {
															var e = gel('ASMTQUESTION:8389f4cb1b05219c78fd326ecc4bcbe8');
															if (e) {
																// this fixes an obscure bug in IE where textareas don't scroll all the way to the bottom and the text display is truncated.
																// by deferring setting the rowsize, it forces a recalc of the scrollbar and displays correctly
																e.rows = 5;
															}
														});</script></tr></tbody></table></td></tr></tbody></table></td></tr></tbody></table></td></tr><script type="text/javascript">var parentValueChildMap = {
    "c389f4cb1b05219c78fd326ecc4bcbe7": {},
    "8389f4cb1b05219c78fd326ecc4bcbe8": {},
    "8789f4cb1b05219c78fd326ecc4bcbe8": {},
    "8f89f4cb1b05219c78fd326ecc4bcbe7": {
        "1": ["8389f4cb1b05219c78fd326ecc4bcbe8"],
        "2": ["8389f4cb1b05219c78fd326ecc4bcbe8"],
        "3": ["8789f4cb1b05219c78fd326ecc4bcbe8"],
        "4": ["8789f4cb1b05219c78fd326ecc4bcbe8"]
    },
    "8b89f4cb1b05219c78fd326ecc4bcbe8": {}
};
var displayedQuestions = {
    "c389f4cb1b05219c78fd326ecc4bcbe7": true,
    "8f89f4cb1b05219c78fd326ecc4bcbe7": true,
    "8b89f4cb1b05219c78fd326ecc4bcbe8": true
};
var childQuestions = {
    "8789f4cb1b05219c78fd326ecc4bcbe8": true,
    "8389f4cb1b05219c78fd326ecc4bcbe8": true
};
</script><tr><td><input type="HIDDEN" class="ni.QSMANDATORY" value="ASMTQUESTION:c389f4cb1b05219c78fd326ecc4bcbe7,ASMTQUESTION:8b89f4cb1b05219c78fd326ecc4bcbe8,ASMTQUESTION:8f89f4cb1b05219c78fd326ecc4bcbe7,ASMTQUESTION:8389f4cb1b05219c78fd326ecc4bcbe8"></td></tr></tbody><tfoot><tr><td><div class="assessmentButtonRow" style=""><button class="btn btn-primary" type="submit" onclick="return submitAssessment();" id="submit_sign" name="submit">Submit</button><button class="btn btn-default" type="submit" onclick="return cancelAssessment();" id="cancel_sign" name="cancel">Cancel</button></div></td></tr></tfoot></table></div><div id="overlay"><div id="Authentication"><input type="hidden" name="jvar_signature_authentication" id="jvar_signature_authentication" value="true"><input type="hidden" id="approve_edit" name="approve_edit" value="false"><input type="hidden" id="approved" name="approved" value="false"><input type="hidden" id="sysapproval_id" name="sysapproval_id"><table id="authenticate_table"><tbody><tr style="vertical-align: top;"><td colspan="2"><table id="authentication_header" style="width:100%; font-weight:bold; background-color:#eee;"><tbody><tr><td style="vertical-align: middle; width:100%;">Signature Authentication</td><td style="text-align: right;"><span><img id="popup_close_image" onclick="cancelOverlay()" style="vertical-align: top; cursor: pointer;" src="images/x.gifx" class="" width="12" height="12"></span></td></tr></tbody></table></td></tr><tr><td>User name:</td><td><input type="text" name="userName" id="userName" readonly="true"></td></tr><tr><td>Password:</td><td><input type="password" name="user_password" id="user_password"></td></tr><tr id="invalid_login_img" style="display:none"><td colspan="2"><table><tbody><tr><td><img src="./images/error.gifx"></td><td width="100%"><span id="invalid_login_text" style="font-weight:bold;">Password invalid</span></td></tr></tbody></table></td></tr><tr id="dialog_buttons"><td colspan="2" align="center"><button type="submit" onclick="checkLogin();return false;" id="ok" name="ok">OK</button>&nbsp;
							<button type="submit" onclick="cancelOverlay();return false;" id="quit" name="quit">Cancel</button></td></tr></tbody></table></div></div><input type="HIDDEN" name="sys_action" value="none"></form><script data-comment="GlideUser initialization">
		addTopRenderEvent( function() {
			// user may have already been created
			if (!window.g_user) {
				window.g_user = new GlideUser('guest', 
					  'Guest',
					  'Guest',
					  '',
					  '5136503cc611227c0183e96598c4f706',
					  '221db0edc611228401760aec06c9d929');
				window.g_user.setRoles('', true);
			}
		    
		    // We want to preload all useful client preferences that will be used by the UI. At the moment
		    // we have to do this manually, but this should be replaced by a dynamic list.
		    window.g_user.setPreference('glide.ui.accessibility', 'false');
		});
	</script><script eval="true">// Function for the back button to go to previous page 
function clickBack(view,query) { 
	if (query != null && query.length > 0) {
		var ga = new GlideAjax("AssessmentUtilsAJAX");                                    
		ga.addParam("sysparm_name","backToAssessmentList");
		ga.addParam("sysparm_query", query);
		ga.addParam("sysparm_view",view);
		ga.getXMLWait(function(answer) { 
		}); 
	} else {
		window.history.go(-1); 
		return false;
	}
} 

// Function for navigation in survey completed instances list
 function iterateList1(view, query, row, value, update, totalRows) {
	var ga = new GlideAjax("AssessmentUtilsAJAX");                                    
	ga.addParam("sysparm_name","iterateAssessmentInstance");
	ga.addParam("sysparm_query", query); 
	ga.addParam("sysparm_row", row); 
	ga.addParam("sysparm_value", value); 
	ga.addParam("sysparm_totalr", totalRows);
	ga.addParam("sysparm_view",view);
	ga.getXMLWait(function(answer) { 
	});
}


// Adds survey questions to assessment form object

addLoadEvent(function() {
	var checkSign = gel('signature_result');
	suppressEnterKey($j("input, select"));
	if (checkSign) {
		if (gel('jvar_signature_type').value == 'full_name')
			gel('signature_result').value = g_user.getFullName();
	}
	var ids = {};
	var inputs = $$(".questionSetWidget");
	for (var i = 0; i < inputs.length; i++)
		ids[inputs[i].getAttribute('name')] = true;

	for ( var id in ids) {
		var sysId = id.split(':')[1];
		if (sysId != 'null' && id.indexOf('sys_original') < 0) {
			var status;
			var mandatory;
			var allowNA;
			var nameElement = new NameMapEntry(sysId, id);

			g_form.addNameMapEntry(nameElement);
			status = gel('status.' + id);
			if (status == null) {
				if (window.console)
					console.log("Problem locating element 'status." + id + "'");
			} else {
				mandatory = status.getAttribute('oclass');
				mandatory = mandatory != '' ? true : false;
				allowNA = status.getAttribute('allow_na');
				allowNA = allowNA == 'true' ? true : false;
				var glideUIElement = new GlideUIElement('variable', id, 'string', mandatory, 'null');
				glideUIElement.allowNA = allowNA;
				g_form.addGlideUIElement(glideUIElement);
			}
		}
	}

	$j('form').has( "div.assessment" ).submit(function(e) {
		// Upon form submission, disable submit/save/cancel buttons
		$j('.nav.navbar-right').find('button').attr('disabled', true);
		$j('.assessmentButtonRow').find('button').attr('disabled', true);
	});
});

// Use AssessmentForm instead of the regular glide form for this page
addTopRenderEvent(function() {
	if (!window.g_form) {
		window.g_form = new AssessmentForm('ni', true, true);
		window.g_form.loadQuestionMap();
	}
});

// Toggles labels that are controlled by other labels
function toggleSubLabels(controllerClassName, isExpand) {
	var matches = $(document.body).select('.' + controllerClassName + '--controlled');
	for (var i = 0; i < matches.length; i++) {
		var match = matches[i];
		if(match.getElementsByClassName('toggleOpen')[0])
			match.getElementsByClassName('toggleOpen')[0].style.display = isExpand ? 'none' : '';
		if(match.getElementsByClassName('toggleClosed')[0])
			match.getElementsByClassName('toggleClosed')[0].style.display = isExpand ? '' : 'none';
		match.style.display = isExpand ? '' : 'none';
	}
}

function toggleAssessmentQuestionRows(thisclass, display, fl) {
	forcelabels = false;
	if (fl == true)
		forcelabels = true;
	var rows = $(document.body).select('.' + thisclass);
	for (i = 0; i < rows.length; i++) {
		var element = rows[i];
		var id = element.id;
		var sys_id;
		if(!id){
			var ids = $(element).select("."+"question_label");
			var length = ids.length;
			if(length>0 && ids[length-1] && ids[length-1].id)
				id = ids[length-1].id.substring(6,51);
			sys_id = id.substring(13,45);
		}else{
			sys_id = (id.substring(13,45));
			id = id.substring(0,45);
		}
		if (!id.startsWith('CATEGORY_LABEL:') || forcelabels) {
			if (display === 'none') {
				element.style.display = display;
			}
			else if (!(sys_id in childQuestions)) {
				element.style.display = display;
				var input = $$('#ASMTQUESTION\\:' + sys_id);
				// radio button cases (more than one for scale, none for template):
				if (input.length > 1 || input.length == 0) {
					input = $$('input:checked[type=radio][name="ASMTQUESTION:' + sys_id + '"]');
				if (input.length == 0)
					input = null;
				else
					input = input[0];
			} else
				input = input[0];
			var childValue = '';
			if (input)
				childValue = getInputValue(input);
			if (parentValueChildMap[sys_id]===null)
					continue;
			showDependentQuestions(sys_id,childValue);
			}
		}
	}
	var openStyle='none';
	var closedStyle='none';
	
	if ('none' == display)
		openStyle = '';
	else
		closedStyle = '';
	var s = $(thisclass+'CLOSED');
	s.style.display=closedStyle;
	s = $(thisclass+'OPEN');
	s.style.display=openStyle;

	var overlay_iframe = top.frames[0].$j('.gb_iframe');
	if(overlay_iframe){
		window.setTimeout(function(){
			overlay_iframe.attr("height",parseInt(overlay_iframe.attr("height"))+1);
		},0);
	}

}

function mergeCheckResults(o1, o2) {
	var mergedResults = {};
	for ( var k in o1) {
		mergedResults[k] = o1[k];
	}
	for ( var m in o2) {
		if (m in mergedResults)
			mergedResults[m] += o2[m];
		else
			mergedResults[m] = o2[m];
	}
	return mergedResults;
}

function isEmptyObject(o) {
	for ( var n in o) {
		if (n && true)
			return false;
	}
	return true;
}

function showInvalidFieldsMessage(obj) {
	var totalInvalidCount = 0;

    // loop through each category of survey
    // obj will only have one key (sys_id of metric type) if there are no categories
	for (var categoryID in obj)
		totalInvalidCount += obj[categoryID];

	if (totalInvalidCount > 0) {
		g_form.clearMessages();
		var msg = '';
		var gwtMsg = new GwtMessage();

		if (totalInvalidCount > 1)
			msg = gwtMsg.getMessage('There are {0} questions that do not have a valid response. Please correct these and re-submit', totalInvalidCount);
		else
			msg = gwtMsg.getMessage('There is {0} question that does not have a valid response. Please correct this and re-submit', totalInvalidCount);

		g_form.addErrorMessage(msg);
		return false;
	}
	return true;
}

var isSignValid = 'false';

function submitAssessment() {
	g_form.clearMessages();
	var c = gel('selection_result');
	c.value = 'submit';

	var stringValidateSucceed = g_form.verifyStringQnResponseWhenSubmit();
	if (!stringValidateSucceed)  // abort action if validation fails
		return false;

	var mandatoryResults = g_form.mandatoryCheck();
	var valueResults = g_form.valueCheck();
	var mergedResults = mergeCheckResults(mandatoryResults, valueResults);
	if (!isEmptyObject(mandatoryResults)) {
		var isRequired = document.body.select('.is-required');					
		var isPrefilled = document.body.select('.is-prefilled');
		//scroll to first mandatory field
		if (isRequired.length != 0) {
			window.scrollBy(0, isRequired.first().getBoundingClientRect().y);
		} else if (isPrefilled.length != 0) {
			window.scrollBy(0, isPrefilled.first().getBoundingClientRect().y);
		}
	}

	if (!isEmptyObject(mergedResults))
		return showInvalidFieldsMessage(mergedResults);

	setHiddenQuestions();
	return validateSignature();
}

function validateSignature() {
	var checkSign = gel('signature_result');
	if (!checkSign)
		return true;
	if (!checkSign.getValue() || !checkSign.getValue().trim()) {
		g_form.clearMessages();
		checkSign.focus();
		g_form.addErrorMessage(getMessage('You must complete the required signature.'));
		return false;
	}
	if (checkSign.getValue().trim()!='checked' && isSignValid === 'false' && gel('jvar_signature_authentication').value === 'true' && gel('jvar_signature_type').value == 'full_name') {
		gel('overlay').show();
		gel('userName').value = g_user.userName;
		gel('user_password').focus();
		return false;
	}
	return true;
}

function setHiddenQuestions() {
	var hiddenQuestions = {};
	var attachmentQuestions = "";
	if (typeof parentValueChildMap == 'undefined' || typeof displayedQuestions == 'undefined')
		return;

	for ( var questionId in parentValueChildMap) {
		if (!(questionId in displayedQuestions)){
			hiddenQuestions[questionId] = true;
			var rankingElement = gel('ASMTQUESTION:'+questionId);
			if(rankingElement && $j(gel('ASMTQUESTION:'+questionId)).attr('datatype') == "ranking"){
				var rankingElements = document.getElementsByClassName(rankingElement.className);
				for(i = 0; i < rankingElements.length; i++) {
					if(rankingElements[i] !== rankingElement){
						hiddenQuestions[rankingElements[i].id.substring(13,45)] = true;
					}
				}
			}
		}
		var element = gel('header_attachment_'+questionId);
		if(element){
			if(attachmentQuestions == "")
				attachmentQuestions +=questionId;
			else
				attachmentQuestions +=","+questionId;
		}
	}
	gel('hiddenQuestions').value = JSON.stringify(hiddenQuestions);
	gel('attachmentQuestions').value = attachmentQuestions;
}

function saveAssessment() {
	var c = gel('selection_result');
	c.value = 'save';

	var stringValidateSucceed = g_form.verifyStringQnResponseWhenSubmit();
	if (!stringValidateSucceed)  // abort action if validation fails
		return false;

	var valueResults = g_form.valueCheck();
	if (!isEmptyObject(valueResults))
		return showInvalidFieldsMessage(valueResults);

	setHiddenQuestions();

	return true;
}

function cancelAssessment() {
	var c = gel('selection_result');
	c.value = 'cancel';
	return true;
}

function closeAssessment() {
	var typeId = gel('type_sysID').value;
	var instanceId = gel('instance_sysID').value;

	try {
		var ga = new GlideAjax('AssessmentUtilsAJAX');
		ga.addParam('sysparm_name', 'removePreview');
		ga.addParam('sysparm_type', typeId);
		ga.addParam('sysparm_instance', instanceId);
		ga.getXMLWait();

		// Bring down the iframe preview window
		parent.gel('FormDialog').gWindow.destroy();
	} catch (e) {
		alert('Exception: ' + e);
	}

	return false;
}

function getDependentQuestions(instanceQuestionId) {
	var childMap = {};
	for ( var value in parentValueChildMap[instanceQuestionId]) {
		if (!value)
			continue;
		var valueChildren = parentValueChildMap[instanceQuestionId][value];
		for (var i = 0; i < valueChildren.length; i++)
			childMap[valueChildren[i]] = true;
	}
	var children = [];
	for ( var childId in childMap) {
		if (!childId)
			continue;
		children.push(childId);
	}
	return children;
}

var templateRowParents;

function getInputValue(input) {
	var value = '';
	if (input) {
		if (input.tagName.toLowerCase() == 'select') {
			var selectedIndex = input.selectedIndex;
			if (selectedIndex >= 0)
				value = input.options[selectedIndex].value;
		} else if (input.type.toLowerCase() == 'checkbox') {
			if(input.id.startsWith('ASMTDEFINITION:'))
				input = gel(input.id);
			else
				input = gel(input.id.substr(3));
			if (input.value == 'true')
				value = '1';
			else
				value = '0';
		} else if (input.type == 'hidden') {
			if (input.value == 'true')
				value = '1';
			else
				value = '0';
		} else
			value = input.value;
	}
	return value;
}

function showDependentQuestions(elem,result) {

	if (typeof parentValueChildMap == 'undefined' || typeof displayedQuestions == 'undefined')
		return;

	var value;
	var instanceQuestionId;
	var fMultipleCheckbox = false;
	if(elem && elem!='undefined' && elem.id && elem.id!='undefined' && elem.id.startsWith('ASMTDEFINITION:'))
		fMultipleCheckbox = true;

	// called in category toggleAssessmentQuestionRows function only, otherwise elem should be an html element and result is null
	if(typeof elem =='string'){
		instanceQuestionId = elem;
		if(result=='true')
			value = 1;
		else if(result=='false')
			value = 0;
		else
			value=result;
	}else{
		instanceQuestionId= elem.name;
		if (!instanceQuestionId)
			instanceQuestionId = elem.id;
		if (instanceQuestionId.indexOf('ni.') == 0)
			instanceQuestionId = instanceQuestionId.substr(3);
		value = getInputValue(elem);
		instanceQuestionId = instanceQuestionId.substr(13);
		if (instanceQuestionId.indexOf('-') > 0)
			instanceQuestionId = instanceQuestionId.substring(0, instanceQuestionId.indexOf('-'));
		if(fMultipleCheckbox)
			instanceQuestionId = elem.id.split("_")[1];
	}
	if (!(instanceQuestionId in parentValueChildMap))
		return;

	templateRowParents = [];
	hideDescendants(instanceQuestionId);
	if(fMultipleCheckbox){
		var map = g_form.questionMap;
		for(var key in map[instanceQuestionId]){
			if(map[instanceQuestionId][key]){
				var defValue = $j(gel('ASMTDEFINITION:'+key+'_'+instanceQuestionId)).attr('definitionvalue');
				showDescendantsByValue(instanceQuestionId, defValue);
			}
		}
	}
	else
		showDescendantsByValue(instanceQuestionId, value);
	for (var i = 0; i < templateRowParents.length; i++)
		updateTemplateGroup(templateRowParents[i]);
}

function showDescendantsByValue(instanceQuestionId, value) {

	// Show the children that should be displayed for the selected value
	var childIdsToShow = parentValueChildMap[instanceQuestionId][value];
	if (!childIdsToShow)
		return;

	for (var i = 0; i < childIdsToShow.length; i++) {
		var r = gel('ASMTQUESTION:' + childIdsToShow[i] + '-row');
		if (r) {
			r.style.display = '';
			var r_1 = gel('label_ASMTQUESTION:' + childIdsToShow[i]);
			r_1.style.display = '';
		}

		if (r.className.indexOf('template_question_row') >= 0 && templateRowParents.indexOf(r.parentNode) < 0)
			templateRowParents.push(r.parentNode);

		var childId = childIdsToShow[i];
		
		var input = $$('#ASMTQUESTION\\:' + childId);
		// radio button cases (more than one for scale, none for template):
		if (input.length > 1 || input.length == 0) {
			input = $$('input:checked[type=radio][name="ASMTQUESTION:' + childId + '"]');
			if (input.length == 0)
				input = null;
			else
				input = input[0];
		} else
			input = input[0];

		var childValue = '';
		if (input)
			childValue = getInputValue(input);

		var map = g_form.questionMap;
		if(childId in map){
			for(var key in map[childId]){
				if(map[childId][key]){
						var defValue = $j(gel('ASMTDEFINITION:'+key+'_'+childId)).attr('definitionvalue');
						showDescendantsByValue(childId, defValue);
					}
			}
		}
		else
			showDescendantsByValue(childId, childValue);
		displayedQuestions[childId] = true;
	}
}

function hideDescendants(instanceQuestionId) {

	// hide all children
	var childIds = getDependentQuestions(instanceQuestionId);
	for (var i = 0; i < childIds.length; i++) {
		var r = gel('ASMTQUESTION:' + childIds[i] + '-row');
		if (r)
			r.style.display = 'none';
		if (r.className.indexOf('template_question_row') >= 0 && templateRowParents.indexOf(r.parentNode) < 0)
			templateRowParents.push(r.parentNode);
		
		hideDescendants(childIds[i]);
		delete displayedQuestions[childIds[i]];
	}
}

function updateTemplateGroup(group) {
	var questionsInGroup;
	var elementsByClassname;
	if (isMSIE6 || isMSIE7 || isMSIE8) {
		elementsByClassname = $$('.template_question_row');
		uniqueIdOfGroup = group.uniqueID;
		questionsInGroup = new Array();
		for (var i = 0; i < elementsByClassname.length; i++) {
			if (uniqueIdOfGroup == elementsByClassname[i].parentElement.uniqueID) {
				questionsInGroup.push(elementsByClassname[i]);
			}
		}
	} else {
		questionsInGroup = group.getElementsByClassName('template_question_row');
	}
	var numHiddenQuestions = 0;
	for (var i = 0; i < questionsInGroup.length; i++) {
		if (questionsInGroup[i].style.display == 'none')
			numHiddenQuestions++;
	}

	var parent = group;
	while (parent.className.indexOf('template_group_row') < 0 && parent.tagName.toLowerCase() != 'body')
		parent = parent.parentNode;

	if (parent.tagName.toLowerCase() != 'tr')
		return;

	if (numHiddenQuestions == questionsInGroup.length)
		parent.style.display = 'none';
	else {
		parent.style.display = '';
		styleTemplateTable(parent);
	}
}

function styleTemplateTable(table) {
	var rows;
	var elementsByClassname;
	var uniqueIdOfParent;

	if (isMSIE6 || isMSIE7 || isMSIE8) {
		elementsByClassname = $$('.template_question_row');
		uniqueIdOfParent = table.uniqueID;
		rows = new Array();
		for (var i = 0; i < elementsByClassname.length; i++) {
			if (uniqueIdOfParent == elementsByClassname[i].parentElement.uniqueID) {
				rows.push(elementsByClassname[i]);
			}
		}
	} else {
		rows = table.getElementsByClassName('template_question_row');
	}
	var cls = 'list_odd';
	for (var i = 0; i < rows.length; i++) {
		rows[i].removeClassName('list_even');
		rows[i].removeClassName('list_odd');

		if (rows[i].style.display != 'none') {
			rows[i].addClassName(cls);
			cls = cls == 'list_odd' ? 'list_even' : 'list_odd';
		}
	}
}

function checkLogin() {	
   var userName = gel('userName').value;
   var userPassword = gel('user_password').value;
   var ga = new GlideAjax("AssessmentVerifySignature");
   ga.addParam("sysparm_name", 'verifySignature');
   ga.addParam("sysparm_user", userName);
   ga.addParam("sysparm_password", userPassword);
   ga.getXMLAnswer(checkLoginResponse);
}

function checkLoginResponse(answer){
   if (answer == 'true'){
	   isSignValid = 'true';
	   gel('invalid_login_img').hide();
	   gel('submit').click();
	   return;
   }  
   loginFailed();
   return false;
}

function loginFailed() {
    gel('invalid_login_img').show();
}

function cancelOverlay() {
	gel('invalid_login_img').hide();
	gel('overlay').hide();
}

function openTaskOverlay(event){
	var url = gel('task_record_url').value;
	
	//clearing the stack, so the user if clicks update or save, it won't show the survey page as that is in the navigation stack history
	if (url != null)
		url = url + '&sysparm_clear_stack=true';
		
	var d = new GlideOverlay({
		title: 'Related Task',
		iframe: url,
		width:'60%',
		height: '80%'
    });
    
    d.setPreference('sysparm_nostack', 'true');
	
	var hideDialogBckBtn = function() {
		var iframe = this.getIFrameElement();
		var D = iframe.contentDocument || iframe.contentWindow.document;
		var backButton = D.getElementsByClassName("btn btn-default icon-chevron-left navbar-btn")[0];
		if(backButton)
			backButton.style.display="none";
	};
	
	d.setOnAfterLoad(hideDialogBckBtn)
	
    d.render();
	event.preventDefault();
}
function closeTaskRecoreMsg(){
	gel('output_messages_container').style.display  = 'none';
}

/*
 This will prevent the enter key from submitting the form (due to the presence of a button of type "submit").
 jElements : jquery array of elements
 */
function suppressEnterKey(jElements) {
	jElements.keypress(function(evt) {
		return !enterKeyPrevented(evt);
	});
}

function enterKeyPrevented(evt) {
	if (evt.which == 13) {
		evt.preventDefault();
		evt.stopPropagation();
		return true;
	} else
		return false;
}</script><div style="border:none; visibility:hidden"><form name="sys_personalize" style="display:inline" method="GET" action="slushbucket.do"><input type="hidden" name="sysparm_referring_url" value="assessment_take2.do?sysparm_assessable_type=f30877c71329d300e3913ff18144b0b9@99@sysparm_assessable_sysid=4b89f4cb1b05219c78fd326ecc4bcbe5"><input type="hidden" name="sysparm_view" value=""></form></div><script>(function() {
        addLateLoadEvent(throwFrameLoaded);
        // find if padding is needed
        var pad = (isMSIE6 || isMSIE7 || navigator.userAgent.indexOf('MSIE 8') != -1) ? 1 : 0;
        function throwFrameLoaded() {
            try {
                if (window.parent.CustomEvent) {
                    // history suggests that if we don't size it down on page load,
                    // when we check the height it will show the previous page's height
                    window.parent.CustomEvent.fire('content_frame.loaded', self.name, 10);
                    window.parent.CustomEvent.fire('content_frame.loaded', self.name, getPageHeight());
                }
            } catch (e) {}
        }
        function throwFrameSized() {
            try {
                if (window.parent.CustomEvent) {
                    // IE9/IE10: resize events will be continuously triggered when there is a difference between document.body.scrollHeight and window.frameElement.height
                    // to solve this issue, we do not fire event if the height we are going to set is the same as the height obtained after the previous fired event
                    var previousHeight = window["g_iframe_height"];
                    var pageHeight = getPageHeight();
                    if (previousHeight != pageHeight) {
                        window.parent.CustomEvent.fire('content_frame.resized', self.name, pageHeight);
                        // IE9/IE10: page height may be changed again after the above firing. So we have to call getPageHeight() to get the new height after the above event has been fired.
                        window["g_iframe_height"] = getPageHeight();
                    }
                }
            } catch (e) {}
        }

        function throwFrameSizedSmaller(){
            try {
                if (window.parent.CustomEvent) {
                    window.parent.CustomEvent.fire('content_frame.loaded', self.name, getPageHeight(true));
                }
            } catch (e) {}
        }

        /**
         * Simply speaking, scrollHeight and offsetHeight work differently on different browsers
         * and in and out of quirks mode. IE9 has bugs that do not report them correctly even if
         * you pick the right one, so we've built some extra controls.
         */
        function getPageHeight(resizeSmall) {
            var popupElement, popupHeight;
            // first, look for popups
            var popups = $$('body > div.popup, .modal.in > .modal-dialog');
            if (popups.length > 0) {
                popupElement = popups[0];
                popupHeight = popupElement.scrollHeight + popupElement.offsetTop;
                //padding is needed or else the bottom border of the popup will be missing
                return (document.body.scrollHeight > popupHeight ? document.body.scrollHeight : popupHeight) + pad;
            }
            // then, look for form elements
            // use more specific selector to reduce browser response time
            if ($$('body > div.section_header_content_no_scroll').length > 0) {
                var mainContentHeight = $$('body > div.section_header_content_no_scroll')[0].scrollHeight;
                
                // we use the form_title class to distinguish between UI15+ where the form title actually adds to the height
                var header = $$('body > div.section_header_div_no_scroll.form_title');
                var headerHeight = header.length == 0 ? 0 : header[0].getHeight();
                return mainContentHeight + headerHeight;
            }
            // then, look for touch scroll elements *CALGARY and forward*
            if ($$('body > .touch_scroll').length > 0)
                return $$('body > .touch_scroll')[0].scrollHeight;
            // then, get the normal page height
            if (document.body.scrollHeight || document.documentElement.scrollHeight) {
                if (!resizeSmall){
                    if(document.body.scrollHeight > document.documentElement.scrollHeight)
                        return document.body.scrollHeight;
                    else
                        return document.documentElement.scrollHeight;
                }
                else{
                    if(document.documentElement.scrollHeight > document.body.scrollHeight)
                        return document.body.scrollHeight;
                    else
                        return document.documentElement.scrollHeight;
                }
            }
            return document.body.offsetHeight;
        }
        // start observing only after page has been loaded to avoid handling large number of resize events especially on IE 7 and IE 8
        addAfterPageLoadedEvent(function() {
            CustomEvent.observe('frame.resized', throwFrameSized);
            CustomEvent.observe('frame.resized.smaller', throwFrameSizedSmaller);
            CustomEvent.observe('partial.page.reload', throwFrameLoaded); // specifically, reports and lists that cause the page to shrink
            Event.observe(document.onresize ? document : window, "resize", throwFrameSized);
            _frameChanged();
        });
    })();</script><span style="display:none" data-comments="js_includes_last_doctype"></span><script>NOW.xperf.lastDoctypeBegin = NOW.xperf.now();</script><script type="text/javascript" src="/scripts/doctype/js_includes_last_doctype.jsx?v=12-20-2022_0122&amp;lp=Wed_Feb_08_13_52_17_PST_2023&amp;c=31_965"></script><script type="text/javascript" src="/scripts/heisenberg/heisenberg_all.jsx?v=12-20-2022_0122"></script><script type="text/javascript" src="/scripts/js_includes_list_edit_doctype.jsx?v=12-20-2022_0122&amp;lp=Wed_Feb_08_13_52_17_PST_2023&amp;c=31_965"></script><script type="text/javascript" src="/scripts/transaction_scope_includes.jsx?v=12-20-2022_0122"></script><script>if ('') 
			GlideTransactionScope.setTransactionScope('');
		if ('') 
			GlideTransactionScope.setRecordScope('');
		if ('') 
			GlideTransactionScope.setTransactionUpdateSet('');
		if (typeof g_form != 'undefined')
			$(g_form.getFormElement()).fire('glidescope:initialized', {gts : GlideTransactionScope});</script><span style="display:none" data-comments="requires"></span><script>NOW.xperf.lastDoctypeEnd = NOW.xperf.now();</script><span style="display:none" data-comments="db_context_menu_script"></span><script>NOW.xperf.dbContextBegin = NOW.xperf.now();</script><script>NOW.xperf.dbContextEnd = NOW.xperf.now();</script><span style="display:none" data-comments="db_context_menu_script"></span><script data-description="MessagesTag">(function() {
 var messages = new GwtMessage();
messages.set('Browser response time');
messages.set('Timing details');
messages.set('{0} of {1} {2}: {3}');
messages.set('{0} of {1} Other: {2}');
messages.set('{0} of {1} {2}: {3}');
})()</script><script id="glide:page_timing_div" type="application/xml"><button class="pointerhand icon-stop-watch btn btn-icon btn-response-time " type="button" aria-controls="glide:timing_widget" title="Response time(ms): #{RESP}, Network: #{NETW}, server: #{SERV}, browser: #{REND}" aria-label="Response Time"></button><div style="display: none"><div class="timing_span" id="glide:timing_widget">Response time(ms): #{RESP}, Network: #{NETW}, server: #{SERV}, browser: #{REND}<div class="timingGraphDiv"><span class="timing_graph" data-aria-label="Show Timing Breakdown"><span class="timing_network" title="Network #{NETW}ms"></span><span class="timing_server" title="Server #{SERV}ms"></span><span class="timing_browser" title="Browser #{REND}ms"></span></span></div><table class="table table-condensed table-timing-detail" aria-label="Browser timing detail"><thead><tr><th>Browser timing detail</th><th>Time</th></tr></thead><tbody id="page_timing_details"></tbody></table></div></div></script><script id="glide:page_timing_details" type="application/xml"><div class="timing_details">#{details}</div></script><script id="glide:page_timing_detail_line" type="application/xml"><tr class="#{has_children}" data-children="#{child_count}" aria-label="#{has_aria_label}"><td>#{HTML:name}</td><td>#{ms} ms</td></tr>#{children}</script><script id="glide:page_timing_child_line" type="application/xml"><tr class="page_timing_child" aria-label="#{childAriaLabel}"><td>#{HTML:name}</td><td>#{ms} ms</td></tr></script><script type="text/javascript">var g_serverTime = parseInt("187") + parseInt("0");
            var g_logClientViewRoles = "";

			// do not do this for the navigation menu
            if (window.name != 'gsft_nav') {
				 addAfterPageLoadedEvent(function() {
					 if (window.performance)
						setTimeGraph();
					 else 
						firePageTimer();
				 });
			 }
			 
			function setTimeGraph() {
				if (window.performance.timing.loadEventEnd > 0)
			 		firePageTimer();
			 	else 
			 		setTimeout(setTimeGraph, 300);
			 }
			 
			function firePageTimer() {
				 if (window.performance && performance.timing.requestStart != performance.timing.responseStart) {
				 	var p = performance.timing;

				 	CustomEvent.fire('page_timing', { name: 'SERV', ms: p.responseEnd - p.requestStart});
				 	CustomEvent.fire('page_timing', { name: 'REND', ms: (p.loadEventEnd - p.responseEnd) });
				 	CustomEvent.fire('page_timing_network', { name: 'NETW', ms: (p.responseEnd - p.navigationStart) });
				 } else {
				    CustomEvent.fire('page_timing', { name: 'SERV', ms: g_serverTime });
					CustomEvent.fire('page_timing', { name: 'REND', startTime: g_loadTime });
					CustomEvent.fire('page_timing_network', { name: 'NETW', loadTime: g_loadTime });
				 }

			 CustomEvent.fire('page_timing_show', { show: ''  });var o = {};
	      o.types = {};o.types['SECT'] = true;o.types['RLV2'] = true;o.types['UIOL'] = true;o.types['CSOL'] = true;
	
	      o.transaction_id = '69dff44f1bc5219c78fd326ecc4bcb98';
	      o.table_name = '';
	      o.form_name = 'ui_page_render';
	      o.view_id = 'Default view';
	      o.logged_in = false;
	      o.win = window;
	      CustomEvent.fire('page_timing_client', o);}
			 
            // The following line is used to set the time when we start requesting a new page
            Event.observe(window, 'beforeunload', function() {
				new CookieJar({sameSite: 'strict'}).put('g_startTime', new Date().getTime());
                CustomEvent.fireTop('request_start', document);
            });

            // simple pages fire this (stats.do, etc.)
            CustomEvent.observe('simple_page.unload', function() {
				new CookieJar({sameSite: 'strict'}).put('g_startTime', new Date().getTime());
            }); 

            // indicate we have completed the request (used by RequestManager.js for cancel widget)
            addLoadEvent(function() {
            	CustomEvent.fireTop("request_complete", window.location);
            });</script><script type="text/javascript" src="/scripts/doctype/z_last_include.jsx?v=12-20-2022_0122"></script><span id="ac.status" role="status" aria-live="polite" class="sr-only"></span><span aria-live="polite" class="sr-only"></span><script type="text/html" id="popup_template"><div class="popup popup_form" style=""><iframe src="$src" style=""></iframe></div></script><div style="padding-left: 1px; width: 1px;"></div><div id="page_timing_div" role="complementary" aria-label="Timing details" class="timingDiv"><button class="pointerhand icon-stop-watch btn btn-icon btn-response-time " type="button" aria-controls="glide:timing_widget" title="Response time(ms): 2510, Network: 3, server: 667, browser: 1840" aria-label="Response Time"></button><div style="display: none"><div class="timing_span" id="glide:timing_widget">Response time(ms): 2510, Network: 3, server: 667, browser: 1840<div class="timingGraphDiv"><span class="timing_graph" data-aria-label="Show Timing Breakdown"><span class="timing_network" title="Network 3ms" style="width: 5%;"></span><span class="timing_server" title="Server 667ms" style="width: 32%;"></span><span class="timing_browser" title="Browser 1840ms" style="width: 78%;"></span></span></div><table class="table table-condensed table-timing-detail" aria-label="Browser timing detail"><thead><tr><th>Browser timing detail</th><th>Time</th></tr></thead><tbody id="page_timing_details"></tbody></table></div></div></div></body></html>

                             

Screenshot: