https://northhennepincc.myprintdesk.net/DSF/SmartStore.aspx#!/Storefront

Submitted URL:
https://northhennepincc.myprintdesk.net/DSF/SmartStore.aspx#!/Storefront
Report Finished:

The outgoing links identified from the page

JavaScript Variables · 459 found

Global JavaScript variables loaded on the window object of a page, are variables declared outside of functions and accessible from anywhere in the code within the current scope

Console log messages · 12 found

Messages logged to the web console

HTML

The raw HTML body of the page

<!DOCTYPE html><html lang="en" devicetype="Desktop" class=" supports cssanimations csstransforms csstransforms3d csstransitions"><head id="Head1"><style>@charset "UTF-8";[ng\:cloak],[ng-cloak],[data-ng-cloak],[x-ng-cloak],.ng-cloak,.x-ng-cloak,.ng-hide:not(.ng-hide-animate){display:none !important;}ng\:form{display:block;}.ng-animate-shim{visibility:hidden;}.ng-anchor{position:absolute;}</style><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"><meta http-equiv="X-UA-Compatible" content="IE=Edge"><link rel="stylesheet" href="App_Themes/Default/daterangepicker.css" type="text/css">
    <style>
        #container-brower-support {
            width: 100%;
            height: 100vh;
            text-align: center;
        }

            #container-brower-support .content {
                font-size: 20px;
                top: 50%;
                position: relative;
                transform: translate(0px, -50%);
                text-align: center;
                padding: 10px;
                margin: 10px;
                border: 1px solid #AAAAAA;
                background-color: #FFFFFF;
            }
    </style>
    <script type="text/javascript" async="" src="https://www.google-analytics.com/analytics.js"></script><script type="text/javascript" async="" src="https://www.googletagmanager.com/gtag/js?id=G-8B69VKKVCD&amp;l=dataLayer&amp;cx=c"></script><script type="text/javascript" async="" src="https://ssl.google-analytics.com/ga.js"></script><script src="include/RoboHelp_CSH.js" type="text/javascript"></script>
    <script>
        var loc = window.location.href
        if (loc.indexOf("#/") != -1 && loc.indexOf("#!/") == -1) {
            window.location.href = loc.replace("#/", "#!/");
        }
    </script>

    <script>
        var cloudTokenaspx = "";
    </script>
    <script>
        // Include angular-loader to allow modules to be loaded in any order.
        /*
   AngularJS v1.8.2
   (c) 2010-2020 Google LLC. http://angularjs.org
   License: MIT
  */
        (function () {
            'use strict'; function g(a, f) { f = f || Error; return function () { var d = arguments[0], e; e = "[" + (a ? a + ":" : "") + d + "] http://errors.angularjs.org/1.8.2/" + (a ? a + "/" : "") + d; for (d = 1; d < arguments.length; d++) { e = e + (1 == d ? "?" : "&") + "p" + (d - 1) + "="; var q = encodeURIComponent, b; b = arguments[d]; b = "function" == typeof b ? b.toString().replace(/ \{[\s\S]*$/, "") : "undefined" == typeof b ? "undefined" : "string" != typeof b ? JSON.stringify(b) : b; e += q(b) } return new f(e) } } (function (a) {
                function f(a, b, d) { return a[b] || (a[b] = d()) } var d = g("$injector"),
                    e = g("ng"); a = f(a, "angular", Object); a.$$minErr = a.$$minErr || g; return f(a, "module", function () {
                        var a = {}; return function (b, g, l) {
                            var m = {}; if ("hasOwnProperty" === b) throw e("badname", "module"); g && a.hasOwnProperty(b) && (a[b] = null); return f(a, b, function () {
                                function a(b, d, e, c) { c || (c = f); return function () { c[e || "push"]([b, d, arguments]); return h } } function c(a, d, c) { c || (c = f); return function (f, e) { e && "function" === typeof e && (e.$$moduleName = b); c.push([a, d, arguments]); return h } } if (!g) throw d("nomod", b); var f = [], k = [], n = [],
                                    p = a("$injector", "invoke", "push", k), h = {
                                        _invokeQueue: f, _configBlocks: k, _runBlocks: n, info: function (a) { if ("undefined" !== typeof a) { if (null === a || "object" !== typeof a) throw e("aobj", "value"); m = a; return this } return m }, requires: g, name: b, provider: c("$provide", "provider"), factory: c("$provide", "factory"), service: c("$provide", "service"), value: a("$provide", "value"), constant: a("$provide", "constant", "unshift"), decorator: c("$provide", "decorator", k), animation: c("$animateProvider", "register"), filter: c("$filterProvider",
                                            "register"), controller: c("$controllerProvider", "register"), directive: c("$compileProvider", "directive"), component: c("$compileProvider", "component"), config: p, run: function (a) { n.push(a); return this }
                                    }; l && p(l); return h
                            })
                        }
                    })
            })(window)
        })(window);
        //# sourceMappingURL=angular-loader.min.js.map

        function LogOut() {

            try {
                __doPostBack('DoLogout');
            }
            catch (err) {
                //do nothing
            }

        }
        if (window.addEventListener) {
            window.addEventListener("message", receiveMessage, false);
            //window.addEventListener("onmessage", receiveMessage, false);
        }
        else if (window.attachEvent) {
            window.attachEvent("message", receiveMessage, false);
            //window.attachEvent("onmessage", receiveMessage, false);
        }

        function receiveMessage(event) {
            //alert('Message Received :' + event.data);
            cloudTokenaspx = event.data;
            if (angular.element) {
                var scope = angular.element(document).scope();
                if (scope) {
                    scope.$apply();
                    var scope = angular.element(document).scope();
                    if (scope != null && scope != undefined) {
                        scope.$apply();
                    }
                }
            }
            //alert(event.data);
            // ...
        }

        function getCloudToken() {
            return cloudTokenaspx;
        }

        function CheckSessionStorageProblemAndOutputMessageIfNotSupported(headerText, messageWhenSessionStorageIsInAccessible) {
            try {
                var topbar = '<header style="position: fixed;width: 100%;text-align: center;top: 10px;">' + headerText + '</header>'
                messageWhenSessionStorageIsInAccessible = topbar + '<div style="height:100px;text-align:center;position: absolute;top:0;bottom: 0;left: 0;right: 0;margin: auto;">' + messageWhenSessionStorageIsInAccessible + '</div>';
                sessionStorage.setItem('SessionStorageTest', 'Test');
                sessionStorage.removeItem('SessionStorageTest');
                return true;
            }
            catch (err) {
                document.writeln(messageWhenSessionStorageIsInAccessible);
                return false;
            }
        }
    </script>

    <script type="text/javascript">
        var migratedPages = null;
        var pcid = -1;
        var qse = false;
        function SetSessionID(sessionid, siteGuid, companyId, facilityId, IsScreenSizeLimited,
            SessionTimeout, IsViewSite, ThemeId, cultureName, cultureCode, CID, company,
            comapnyAllowsShowingPricingToApprovers, pageReloadUrl, CanUserImpresonateAsCSR,
            CanUserImpresonateAsSubPartnerAdmin, ImpersonatorId, currImpersonationTypeAsString,
            deviceType, IsUserLoggedIn, ShowPricingToBuyer, ttId, ttpId, storefrontCatLangNeutralName,
            resourceTrackerEnabled, cultureDesc, xmlPunchOutInformationId, helpCode, softwareVersion,
            isPasswordExpired, checkoutMethodId, ociApprovalsEnabled, title, description, userSessionType,
            isReadOnlyMode, punchOutReturnUrl, IsComapnyBrandedURL, DisableCompanyName, authrequest, dutchTaxEnabled,
            userFavouritePrintshopId, SmartstoreCustomization, headerText, messageWhenSessionStorageIsInAccessible,
            wasUserRegisteredDuringLogin, showUnitPrice, returnURL, companyNameLength, isUserValidatedFor2FactorAuthntication,
            decimalSeparator, isThroughTokenVerification, isCorporate, UseSameTiltleForAllBuyers, RentalProductEventBasedOrderingEnabled,
            RentalLicenseEnabled, HotFixVersion, IsProductSpinnerBlockingPage, MarketingPortalEnabled, pid, qse) {

            if (CheckSessionStorageProblemAndOutputMessageIfNotSupported(headerText, messageWhenSessionStorageIsInAccessible)) {
                //console.log('Setting !' + sessionid);
                sessionStorage.setItem('SessionID', sessionid);
                sessionStorage.setItem('SiteGUID', siteGuid);
                sessionStorage.setItem('CompanyId', companyId);
                sessionStorage.setItem('FacilityId', facilityId);
                sessionStorage.setItem('IsScreenSizeLimited', IsScreenSizeLimited.toString().toLowerCase());
                sessionStorage.setItem('SessionTimeout', SessionTimeout);
                sessionStorage.setItem('IsViewSite', IsViewSite);
                sessionStorage.setItem('SiteThemeId', ThemeId);
                sessionStorage.setItem('CultureName', cultureName);
                sessionStorage.setItem('CultureCode', cultureCode);
                sessionStorage.setItem('CultureDesc', cultureDesc);
                sessionStorage.setItem('decimalSeparator', decimalSeparator);
                sessionStorage.setItem('HelpCode', helpCode);
                sessionStorage.setItem('CID', CID);
                sessionStorage.setItem('Company', company);
                sessionStorage.setItem('ComapnyAllowsShowingPricingToApprovers', comapnyAllowsShowingPricingToApprovers);
                //sessionStorage.setItem('PageReloadUrl', pageReloadUrl);
                sessionStorage.setItem('CanUserImpresonateAsCSR', CanUserImpresonateAsCSR);
                sessionStorage.setItem('CanUserImpresonateAsSubPartnerAdmin', CanUserImpresonateAsSubPartnerAdmin);
                sessionStorage.setItem('currImpersonationTypeAsString', currImpersonationTypeAsString);
                sessionStorage.setItem('ImpersonatorId', ImpersonatorId);
                if (IsUserLoggedIn == 'true' || IsUserLoggedIn == 'True'){
                    sessionStorage.setItem('IsUserLoggedIn', true);
                    }
                else{ 
                    sessionStorage.setItem('IsUserLoggedIn', false);
                    sessionStorage.removeItem('UI_FacilityId');
                }
                if (isPasswordExpired == 'true' || isPasswordExpired == 'True')
                    sessionStorage.setItem('HasUserPasswordExpired', true);
                else sessionStorage.setItem('HasUserPasswordExpired', false);

                console.log(isPasswordExpired);
                sessionStorage.setItem('ShowPricingToBuyer', ShowPricingToBuyer);
                sessionStorage.setItem('TTId', ttId);
                sessionStorage.setItem('TTPId', ttpId);
                sessionStorage.setItem('StorefrontCatLangNeutralName', storefrontCatLangNeutralName);
                sessionStorage.setItem('OCIApprovalsEnabled', ociApprovalsEnabled);
                sessionStorage.setItem('CheckoutMethodId', checkoutMethodId);

                // Jeevan: We need to pass the punchout information id
                sessionStorage.setItem('XmlPunchOutInformationId', xmlPunchOutInformationId);
                sessionStorage.setItem('UserSessionType', userSessionType);
                sessionStorage.setItem('IsReadOnlyMode', isReadOnlyMode);
                sessionStorage.setItem('PunchOutReturnUrl', punchOutReturnUrl);
                //Software version to version the javascript files.
                sessionStorage.setItem('SoftwareVersion', softwareVersion);
                /* var body = document.getElementsByTagName("body")[0];
                 body.setAttribute("DeviceType", deviceType);*/
                var html = document.documentElement;
                if (window.location.hash && window.location.hash.indexOf("/POPreview") !== -1) {
                    html.setAttribute("DeviceType", "Desktop");
                } else {
                    html.setAttribute("DeviceType", deviceType);
                }
                var pathArray = window.location.pathname.split('/');
                if (pathArray.length > 2) {
                    var pathWithURL = window.location.protocol + "//" + window.location.hostname + "/" + pathArray[1] + "/";
                    sessionStorage.setItem('BaseURL', pathWithURL);
                }
                sessionStorage.setItem('ResourceTrackerEnabled', resourceTrackerEnabled);

                sessionStorage.setItem('Title', title);
                sessionStorage.setItem('Description', description);
                sessionStorage.setItem('IsComapnyBrandedURL', IsComapnyBrandedURL);
                sessionStorage.setItem('DisableCompanyName', DisableCompanyName);
                sessionStorage.setItem('UserFavouritePrintshopId', userFavouritePrintshopId);
                sessionStorage.setItem('wasUserRegisteredDuringLogin', wasUserRegisteredDuringLogin);
                if (SmartstoreCustomization == 'true' || SmartstoreCustomization == 'True')
                    sessionStorage.setItem('SmartstoreCustomization', true);
                else sessionStorage.setItem('SmartstoreCustomization', false);
                sessionStorage.setItem('authrequest', authrequest);
                sessionStorage.setItem('DutchTaxEnabled', dutchTaxEnabled);
                if (showUnitPrice == 'true' || showUnitPrice == 'True')
                    sessionStorage.setItem('ShowUnitPrice', true);
                else sessionStorage.setItem('ShowUnitPrice', false);

                sessionStorage.setItem('MercedesReturnURL', returnURL);

                sessionStorage.setItem('CompanyNameLength', companyNameLength);

                if (isUserValidatedFor2FactorAuthntication == 'true' || isUserValidatedFor2FactorAuthntication == 'True')
                    sessionStorage.setItem('isUserValidatedFor2FactorAuthntication', true);
                else sessionStorage.setItem('isUserValidatedFor2FactorAuthntication', false);

                sessionStorage.setItem('IsProductSpinnerBlockingPage', IsProductSpinnerBlockingPage);

                sessionStorage.setItem('isThroughTokenVerification', isThroughTokenVerification);
                sessionStorage.setItem('isCorporate', (isCorporate == 'true' || isCorporate == 'True'));
                sessionStorage.setItem('UseSameTiltleForAllBuyers', UseSameTiltleForAllBuyers)
                sessionStorage.setItem('RentalProductEventBasedOrderingEnabled', RentalProductEventBasedOrderingEnabled)
                sessionStorage.setItem('isRentalLicenseEnabled', RentalLicenseEnabled)
                if (HotFixVersion) {
                    sessionStorage.setItem('HotFixVersion', HotFixVersion);
                }
                sessionStorage.setItem('MarketingPortalEnabled', MarketingPortalEnabled);
            }
            pcid = pid;
            qse = qse;
        }

        function setCookie(cname, cvalue) {
            document.cookie = cname + "=" + cvalue + "; path=/";
        }
        function SetMigratedPages(pages) {
            if (pages) {
                migratedPages = JSON.parse(pages);
            }
        }
    </script>
    <title>
	 MarketDirect Storefront
</title><meta name="description"><meta name="keywords">

    <style>
        .checkout-page .checkout-container .checkout-shipment .shipping-address-readonly .shipping-address-detail .RoomNumber {
            display: block;
        }
    </style>

<link href="App_Themes/[c7f5e938-c24d-45dc-8fef-6a3c517c3237]NAME-558fff0a-3732-4c0a-a5b6-85be78456460/carousel.css?v=1066185225&amp;sv=15.0.4.27833&amp;hfv=14.0.1" rel="stylesheet" type="text/css">
<link href="App_Themes/[c7f5e938-c24d-45dc-8fef-6a3c517c3237]NAME-558fff0a-3732-4c0a-a5b6-85be78456460/print.css?v=1066185225&amp;sv=15.0.4.27833&amp;hfv=14.0.1" rel="stylesheet" type="text/css">
<link href="App_Themes/[c7f5e938-c24d-45dc-8fef-6a3c517c3237]NAME-558fff0a-3732-4c0a-a5b6-85be78456460/theme.css?v=1066185225&amp;sv=15.0.4.27833&amp;hfv=14.0.1" rel="stylesheet" type="text/css"><script type="text/javascript" src="/DSF/include/json2.js"></script><script type="text/javascript" src="/DSF/include/jquery-3.5.1.min.js"></script><script type="text/javascript" src="/DSF/include/amazonmenu.js"></script><script type="text/javascript" src="/DSF/include/menu.js"></script><script type="text/javascript" src="/DSF/include/tooltipster.bundle.min.js"></script><script type="text/javascript" src="/DSF/include/DOTUI_functions.js"></script><link rel="shortcut icon" href="data:image/x-icon;," type="image/x-icon"><script type="text/javascript" src="https://www.googletagmanager.com/gtag/js?id=UA-93008975-5" async=""></script><script data-main="responsiveui/compiledcode/BuyerPages/js/main" src="responsiveui/compiledcode/lib/require/require-min.js?v=15.0.4.27833"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="main" src="responsiveui/compiledcode/BuyerPages/js/main.js?v=15.0.4.27833&amp;hfv=14.0.1"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="tinymce" src="responsiveui/BuyerPages/js/../../lib/tinymce/tinymce.min.js?v=15.0.4.27833&amp;hfv=14.0.1"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="customTrackingScripts" src="responsiveui/BuyerPages/js/../../../CustomTrackingScripts.ashx?noext=yes&amp;v=15.0.4.27833&amp;hfv=14.0.1"></script></head>
<body>
    <form method="post" action="./SmartStore.aspx" onsubmit="javascript:return WebForm_OnSubmit();" id="Form1" style="" autocomplete="on">
<div class="aspNetHidden">
<input type="hidden" name="__EVENTTARGET" id="__EVENTTARGET" value="">
<input type="hidden" name="__EVENTARGUMENT" id="__EVENTARGUMENT" value="">
<input type="hidden" name="__VIEWSTATEPERSISTER" id="__VIEWSTATEPERSISTER" value="System.Web.UI.HiddenFieldPageStatePersister">
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="JtDLTANK+5b8+tTsJkm6QKc4/PuXLI+8gypYlvHbCO8HvSZKhxIfuAD85GyAJhusKGG+rJHXpk9Jund5268Q/jaimlqUejvwANZ1/lcB/6YENTfOrCNdyEgdI5kFFYW7c2FfII3633Bo0A+ssHTKt6jwHoUzjhS8JUFI34mxMfTlR5hodIOwjURCVrURoKabEIQWSh+2P10tIyj/ZuCl5w==">
</div>

<script type="text/javascript">
//<![CDATA[
var theForm = document.forms['Form1'];
function __doPostBack(eventTarget, eventArgument) {
    if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
        theForm.__EVENTTARGET.value = eventTarget;
        theForm.__EVENTARGUMENT.value = eventArgument;
        theForm.submit();
    }
}
//]]>
</script>


<script src="/DSF/WebResource.axd?d=mg6yjx2oIRZNleEA5zDYzo_GUur4j1EDc9APGermKgVrbYeu4B9wYS5cd3YJteAQ2Q0NGoT7zhC-R0_eEhZ3e1y6xhXOh-ZpO-jYJS1YnXY1&amp;t=638562417717896622" type="text/javascript"></script>


<script src="/DSF/include/admin_globalfunctions.js?V=15.0.0.27833" type="text/javascript"></script>
<script src="/DSF/include/Dev_JavaScriptTrace_off.js?V=15.0.0.27833" type="text/javascript"></script>
<script src="/DSF/include/FlexTicketingPopup.js?V=15.0.0.27833" type="text/javascript"></script><div id="dimmer" class="dimmer" style="width:0px; height:0px"></div>
<script src="/DSF/include/PopupAndScrollPosition.js?V=15.0.0.27833" type="text/javascript"></script>
<script src="/DSF/include/OnlineContentFileUpload.js?V=15.0.0.27833" type="text/javascript"></script>
<script src="/DSF/include/FlashPlayerDetectionKit.js?V=15.0.0.27833" type="text/javascript"></script>
<script type="text/javascript">
//<![CDATA[
SetSessionID('18e84d54-5bf8-43e1-87bb-85081869209b','c7f5e938-c24d-45dc-8fef-6a3c517c3237', '75','1','False',60, 'False', '-1', 'en-US', 'en-US', '-1', 'North Hennepin Community College', false, '','False','False','-1', 'None', 'Desktop', 'False', 'False', '0', '0', '/ViewCategory/storefront/North_Hennepin_Community_College_Storefront', 'False','English (United States)', '-1', 'en', '15.0.4.27833', 'False', '1','False', ' MarketDirect Storefront', '', 'Web', 'False', '', 'True', 'True', '','False', '-1','False','Error!','Session Storage is not accessible on your browser. This could be because of private browsing. Please reload the page after disabling private browsing.', '','True','','250','False','.','False','True','False','False','False','14.0.1','False','False','-1','True');
			function KeepAspNetSessionAlive()
			{
				try
				{
					PageMethods.KeepAspNetSessionAlive(OnKeepAspNetSessionAliveCompleted,OnKeepAspNetSessionAliveErred);
				}
				catch(err)
				{
					//do nothing -- error handling should be done with the "Completed" and "Erred" functions
				}
			}
			
			function OnKeepAspNetSessionAliveCompleted()
			{
			}
			
			function OnKeepAspNetSessionAliveErred()
			{
			}
        
			function KillAspNetSession()
			{
				try
				{
					PageMethods.KillAspNetSession(OnKillAspNetSessionCompleted,OnKillAspNetSessionErred);
				}
				catch(err)
				{
					//do nothing -- error handling should be done with the "Completed" and "Erred" functions
				}
			}
			
			function OnKillAspNetSessionCompleted()
			{
			}
			
			function OnKillAspNetSessionErred()
			{
			}
        //]]>
</script>

<script src="/DSF/ScriptResource.axd?d=rMJO7bIOsqlO2Pziabc7EAalTuZjqOo9bL9ZM9XXo_Mdu7mAH1EySUKxbrwOGJbuf8IsXXPoimMptDyLxLFXOSxE_ZcvFPR2ZBK99EQQeNSmGL62QK-Ba5_RrViJU6d9kiq3vzCe2ug_MCGY_2Bfc0snl_GBYy9LbToGDnwZDZo1&amp;t=7a0cc936" type="text/javascript"></script>
<script src="/DSF/ScriptResource.axd?d=qrDKSlnrPAyl84_rpI9ihbRTlQk8h3C5W1eHSKdu4OMXqlO9pGJJ4pxmbWpJ5fBA-DJCF6vjjT3g1G9etqt41jmUNaseIl4bwCE1fghLqfZn8NXX0BLNPrFUYMaHipWG3hQZsGAWBvWkquAURbAuqIonYQWqhCVIeEam7U8xOVrB9mSVJEL0VL0O225Xikmz0&amp;t=7a0cc936" type="text/javascript"></script>
<script type="text/javascript">
//<![CDATA[
var PageMethods = function() {
PageMethods.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
PageMethods.prototype = {
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return PageMethods._staticInstance.get_path();},
GetLocalizedString:function(key,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetLocalizedString',false,{key:key},succeededCallback,failedCallback,userContext); },
RefreshSmartStoreSessionAfterLogin:function(ticketTreeId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'RefreshSmartStoreSessionAfterLogin',false,{ticketTreeId:ticketTreeId},succeededCallback,failedCallback,userContext); },
KeepAspNetSessionAlive:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'KeepAspNetSessionAlive',false,{},succeededCallback,failedCallback,userContext); },
KillAspNetSession:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'KillAspNetSession',false,{},succeededCallback,failedCallback,userContext); }}
PageMethods.registerClass('PageMethods',Sys.Net.WebServiceProxy);
PageMethods._staticInstance = new PageMethods();
PageMethods.set_path = function(value) { PageMethods._staticInstance.set_path(value); }
PageMethods.get_path = function() { return PageMethods._staticInstance.get_path(); }
PageMethods.set_timeout = function(value) { PageMethods._staticInstance.set_timeout(value); }
PageMethods.get_timeout = function() { return PageMethods._staticInstance.get_timeout(); }
PageMethods.set_defaultUserContext = function(value) { PageMethods._staticInstance.set_defaultUserContext(value); }
PageMethods.get_defaultUserContext = function() { return PageMethods._staticInstance.get_defaultUserContext(); }
PageMethods.set_defaultSucceededCallback = function(value) { PageMethods._staticInstance.set_defaultSucceededCallback(value); }
PageMethods.get_defaultSucceededCallback = function() { return PageMethods._staticInstance.get_defaultSucceededCallback(); }
PageMethods.set_defaultFailedCallback = function(value) { PageMethods._staticInstance.set_defaultFailedCallback(value); }
PageMethods.get_defaultFailedCallback = function() { return PageMethods._staticInstance.get_defaultFailedCallback(); }
PageMethods.set_enableJsonp = function(value) { PageMethods._staticInstance.set_enableJsonp(value); }
PageMethods.get_enableJsonp = function() { return PageMethods._staticInstance.get_enableJsonp(); }
PageMethods.set_jsonpCallbackParameter = function(value) { PageMethods._staticInstance.set_jsonpCallbackParameter(value); }
PageMethods.get_jsonpCallbackParameter = function() { return PageMethods._staticInstance.get_jsonpCallbackParameter(); }
PageMethods.set_path("SmartStore.aspx");
PageMethods.GetLocalizedString= function(key,onSuccess,onFailed,userContext) {PageMethods._staticInstance.GetLocalizedString(key,onSuccess,onFailed,userContext); }
PageMethods.RefreshSmartStoreSessionAfterLogin= function(ticketTreeId,onSuccess,onFailed,userContext) {PageMethods._staticInstance.RefreshSmartStoreSessionAfterLogin(ticketTreeId,onSuccess,onFailed,userContext); }
PageMethods.KeepAspNetSessionAlive= function(onSuccess,onFailed,userContext) {PageMethods._staticInstance.KeepAspNetSessionAlive(onSuccess,onFailed,userContext); }
PageMethods.KillAspNetSession= function(onSuccess,onFailed,userContext) {PageMethods._staticInstance.KillAspNetSession(onSuccess,onFailed,userContext); }
//]]>
</script>

<script src="/DSF/include/GoogleAnalyticsApiAdapter.js?V=15.0.0.27833" type="text/javascript"></script>
<script type="text/javascript">
//<![CDATA[
GAAdapter.init('var s = document.createElement(\'script\');s.type = \'text/javascript\';s.src = \'https://www.googletagmanager.com/gtag/js?id=UA-93008975-5\';s.setAttribute(\'async\',\'\'); $(\'head\').append(s); window.dataLayer = window.dataLayer || [];function gtag() { dataLayer.push(arguments); }gtag(\'js\', new Date());gtag(\'config\', \'UA-93008975-5\');');
GAAdapter.api.trackPageView('/DSF/SmartStore.aspx');(function() {var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);})();
function WebForm_OnSubmit() {
if (document.getElementById('ENDPAGE_MARKER_DSF') == null) return false;
return true;
}
//]]>
</script>

<div class="aspNetHidden">

	<input type="hidden" name="__VIEWSTATEGENERATOR" id="__VIEWSTATEGENERATOR" value="A162F59A">
	<input type="hidden" name="__VIEWSTATEENCRYPTED" id="__VIEWSTATEENCRYPTED" value="">
</div>
        <script type="text/javascript">
//<![CDATA[
Sys.WebForms.PageRequestManager._initialize('DSFScriptManager', 'Form1', [], [], [], 90, '');
//]]>
</script>

    <input type="hidden" name="ENDPAGE_MARKER_DSF" id="ENDPAGE_MARKER_DSF"></form>
    <div ng-view="" resize="" class="wrapper">
    </div>
    <div id="container-brower-support" style="display: none">
        <div class="content">
            <img style="margin-right: 10px;" src="images/campaign_icon_info.png">
            <span id="lblBrowerSupportNotSupported">Your browser is not supported! If you would like to use many of our latest and greatest features, please upgrade to modern browser.</span>
        </div>
    </div>
    <script type="text/javascript">
        var require = {
            baseUrl: '',
            waitSeconds: 120,
            //either this if you want it on all require.js requests
            urlArgs: (sessionStorage.getItem('HotFixVersion') ?
                "v=" + sessionStorage.getItem('SoftwareVersion') + "&hfv=" + sessionStorage.getItem('HotFixVersion') :
                "v=" + sessionStorage.getItem('SoftwareVersion')),

            //or this for specific files:
            paths: {
                'main': 'main'
            }
        };
    </script>
    <script type="text/javascript">
        var mainjsPath = ''
        var requirejsPath = ''
        
        mainjsPath = 'responsiveui/compiledcode/BuyerPages/js/main';
        requirejsPath = 'responsiveui/compiledcode/lib/require/require-min.js';
        sessionStorage.setItem("IsDebug", false);
        
        var ua = window.navigator.userAgent;
        var ua = window.navigator.userAgent;
        var isIE = /MSIE|Trident\//.test(ua);
        var smartstoreDelimeter = "***";
        var isPageMigrated = false;
        if (migratedPages && migratedPages.length > 0 && (!document.location.search || document.location.search.indexOf("ssps=") === -1)) {
            for (var i = 0; i < migratedPages.length; i++) {
                var page = migratedPages[i];
                if (page.OldPagePath && page.NewPagePath) {
                    var hash = (document.location.hash ? document.location.hash.replace("#!", "") : '');
                    var isHashMatched = (!hash || hash === '/' || (hash.indexOf(page.OldPagePath) !== -1));
                    if (isHashMatched) {
                        var isMobile = (document.documentElement.getAttribute("DeviceType") === "Mobile");
                        var redirectPath = window.location.origin + page.NewPagePath;
                        if (document.location.search) {
                            var qs = document.location.search;
                            var pc = '';
                            if (!isNaN(Number(pcid)) && Number(pcid) > -1 && qs.indexOf("PCID=") === -1) {
                                pc = "PCID=" + pcid;
                            }
                            if (qse == 'True') {
                                qs = "?" + pc;
                            } else {
                                qs = qs + "&" + pc;
                            }                                       
                        }
                        if (isSmartStorePath) {
                            if (page.OldPagePath.indexOf("OrderSummary") !== -1) {
                                var parts = String(hash).split('/');
                                var pageIndex = parts.indexOf('OrderSummary');
                                var orderId = (parts.length > pageIndex + 1) ? parts[pageIndex + 1] : -1;
                                redirectPath = redirectPath + '/' + orderId;

                                var approverConfigurationId = (parts.length > pageIndex + 2) ?
                                    parts[pageIndex + 2].indexOf('?') > 0 ? parts[pageIndex + 2].split('?')[0] : parts[pageIndex + 2]
                                    : -1;
                                redirectPath = redirectPath + '/' + approverConfigurationId;
                            } else {
                                var addtionalParam = getAdditionalQueryParam(hash, migratedPages, qs);
                                if (addtionalParam !== "") {
                                    if (qs && qs.indexOf("?") === -1) {
                                        qs = "?" + addtionalParam;
                                    } else {
                                        qs += addtionalParam;
                                    }
                                }
                            }                            
                        }
                        sessionStorage.setItem('PageReloadUrl', '');
                        if (!isIE) {
                            if (qs && qs !== "") {
                                redirectPath = redirectPath + qs;
                            }
                            if (isMobile && window.parent) {
                                window.parent.location.href = redirectPath;
                            } else {
                                window.location.href = redirectPath;
                            }
                        }
                        isPageMigrated = true;
                        break;
                    }
                }
            }
        }

        function isSmartStorePath(url) {
            if (url && String(url).trim() != "") {
                var splitedPaths = String(url).split(smartstoreDelimeter, 3);
                return (splitedPaths && splitedPaths.length == 3);
            }
            return false;
        }
        function getAdditionalQueryParam(url, migratedPages,qs) {
            var splitedPaths = String(url).split(smartstoreDelimeter, 3);
            if (splitedPaths && splitedPaths.length == 3) {
                var responsivePage = splitedPaths[1];
                var returnPage = "";
                for (var i = 0; i < migratedPages.length; i++) {
                    var page = migratedPages[i];
                    if (page.OldPagePath && responsivePage) {
                        if (page.OldPagePath == "/" + responsivePage) {
                            returnPage = page.NewPagePath;
                            break;
                        }
                    }
                }
                var amp = qs && qs !== "" ? "&" : "";
                if (returnPage != "")
                    return amp+"type=1&returnURL=" + returnPage + "&reload=true";
                else
                    return amp+"type=2&returnURL=" + responsivePage + "&reload=true";
            }
            return "";
        }
        if (!isPageMigrated) {
            var script = document.createElement('script');
            script.setAttribute('data-main', mainjsPath);
            script.setAttribute('src', requirejsPath + '?v=' + sessionStorage.getItem('SoftwareVersion'));
            document.head.appendChild(script);
        } else if (isPageMigrated && isIE) {
            document.getElementById("container-brower-support").style.display = "block";
        }

    </script>
    <!--[if lte IE 8]> <script src="responsiveui/lib/angular/ie-shiv.js"></script><![endif]-->




</body></html>