infostore.saiglobal.com Open in urlscan Pro
104.89.28.40  Public Scan

Submitted URL: https://links.edm.saiglobal.com/els/v2/A-PvCVNDbbJd/OGJ3VnlzUWhHakJzRVg5TlMzUnRHdzRTTnVUM2xwZWh3dUNWUjBtVit2R2tsVmQ1Qk1hUVdycEtY...
Effective URL: https://infostore.saiglobal.com/en-us/standards/api-std-521-2020-96973_saig_api_api_2892410/?utm_source=Transactional&utm_medium...
Submission: On July 15 via api from US — Scanned from DE

Form analysis 1 forms found in the DOM

POST /en-us/standards/api-std-521-2020-96973_saig_api_api_2892410/?utm_source=Transactional&utm_medium=email&utm_campaign=API_STD_521_2020_July2022_AMER

<form method="post" action="/en-us/standards/api-std-521-2020-96973_saig_api_api_2892410/?utm_source=Transactional&amp;utm_medium=email&amp;utm_campaign=API_STD_521_2020_July2022_AMER" id="aspnetForm" class="formMainMaster">
  <div class="aspNetHidden">
    <input type="hidden" name="__EVENTTARGET" id="__EVENTTARGET" value="">
    <input type="hidden" name="__EVENTARGUMENT" id="__EVENTARGUMENT" value="">
    <input type="hidden" name="EktronClientManager" id="EktronClientManager"
      value="-897669427,1593991262,-682412603,-1666601563,1571763650,67741788,-2114921014,-533878681,1722678647,177995109,1143040122,1894792337,1584685435,887727040,348462175,1451466385,-434929619,1259401310,364749235,-1211665209,-1687560804,-1080527330,-1939951303,-569449246,-1793043690,-300771134,1985268503">
    <input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE"
      value="zp7n3Q051pk66A8u5eG3ilNX5f5qFnbhme/E3m43tTJY1dBbSVnHQ+qhI8DHKB8qA2+kSR9gFh7yiiC8/mLOaCDWJSzGSNO4CzmliobWhBb0Y1StQdi3rrUFe8vwTZdUVbW/rMAO0OD/IHeWjHq6Pqzsh9FnqdQZafULod5gBb5XK8cYXQ0CM/cgdlWpTHlblWKsOpiRTBhKpDyOzvZI7pRyCS9Fr1T8fZU9f/GAJeNyzE0xwzTY1y5yU88AnyFdNo89jQ1Mij7UiiLghP2sBtkkSgcWWm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1uVCxmi25BbEkahKGyWHgB8N8JWyRwRkSmEm4o5ld90FKnSnZNP45tlqtbzKO0I5B0RBj4tbybw6QPTotDI1eV6t7dwnooyuR1o5bFPF2j9k+qGDvUaN+KtBJZu7cGH1IE8+lbIZ4sf5WXrIeel2TSy6HUz6rogRUbtIxVVDKThu9+Ym5/Esnrw8rosHmVlGe+tNcds4waDCGoXJmoU2I7QmqELt0BRrY7mSignL5xibfwB11BHYzWdBPK39SE+jXamHqZv60IfAAYSCF2HFEibOfm9yc2/sAXiuXPATsjPPO/PvRnugkJpIOMji+u701WnKl17T5kySK+rsOCcLN6b64NFdCqRPjEDgJ1JAs3WVd3pJuLPNYJhfpKpUfNRElqHQ1gk0gecigD0xgrWEqleP22hXQtag/GCgSN+/zOqRjW3PJtivo1bTsfyElw3MTcefyUS1pVe1YcgK2UFLePB4KByxtBcfH01WMuqxzxz8oA9dQd2vv27X">
  </div>
  <script type="text/javascript">
    //<![CDATA[
    var theForm = document.forms['aspnetForm'];
    if (!theForm) {
      theForm = document.aspnetForm;
    }

    function __doPostBack(eventTarget, eventArgument) {
      if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
        theForm.__EVENTTARGET.value = eventTarget;
        theForm.__EVENTARGUMENT.value = eventArgument;
        theForm.submit();
      }
    }
    //]]>
  </script>
  <script src="/WebResource.axd?d=xsYesDb7hlQmQ6Bn2kPflkL9UL2QHALvZWptTzALLkPCJSxknU0sLU9ruX-SOf09-5P_FKbzDAGZCdM3OsXAl3BcIhBajg9NruenTJ5aDt81&amp;t=636355194046607314" type="text/javascript"></script>
  <script src="/ScriptResource.axd?d=PNdTvz2DQ0_lSo-Szzmo3gU2CMDyRgrFt3ANLz78MUip54sLJGRyhB1bnkCLp6f-aI8B1yMF9SzERwqwdSrspBXulIDP4mZ-dV7hEVcbaQxIKG5DDjQ--LqqGzSGY_Ff8vLwNvlipRI2zsPQrJ_H8Bx3RL5CPk_ldRGZEjHymL81&amp;t=3d6efc1f" type="text/javascript">
  </script>
  <script src="/ScriptResource.axd?d=1FwpW92tTTluPBx37zgxvrmGihXVqodvnZ745Auf4O2BbcOoLbCO-sGE87Mk2HmHz7QJfErm0eoDuTqq3S4CcRaEKtY6wuXK9a8z7SFQUgw1pKoGf38cSr3LwkSvfv07-chM24QtsXUXkkcEaAPgFew8WHGykzJWSDeytVgPDkbodq6La0DnDHlK-IxkyR410&amp;t=3d6efc1f"
    type="text/javascript"></script>
  <div class="aspNetHidden">
    <input type="hidden" name="__VIEWSTATEGENERATOR" id="__VIEWSTATEGENERATOR" value="C929D721">
    <input type="hidden" name="__VIEWSTATEENCRYPTED" id="__VIEWSTATEENCRYPTED" value="">
    <input type="hidden" name="__EVENTVALIDATION" id="__EVENTVALIDATION"
      value="yaPY8tVVEy3TPlDbCPbDruxMq/X78tFWuiNAh/H6uqbhsbSQ2n0Xpd4w7/saKytEqbOe3gVitW5ryBVlqtUofyB8S5ofsjrNclX/SkE9Cfo9JmX2kzfLftjgtK6fRBaxEaih5NeaxSfujppZsBNj56/Uv7OWj5sda9CMYand6pfQZqdOszDnhzlgWK2Q976lvdPLuXbOeRhKynzgLL5WLgBl6KB1mPzcofHqDJ2mxC88ZhNq7h3Jl9CkWoQuuBL70FFq5axSbnhoNBWb0g5RyHCiw/BsJT/jV7r24nAaE4VJhUo4pP3CbTYCPwPPGkhAL1UvwbSiaggqhcnOsayUdwa+HyXH++3NKW4ti3p/a7utZDg30/4xTfvXDQnDsBqZUyzTuhfk5Pp8/1PNFpg3x/MVKVRzU8bS52NLTpV6ehFKInUc7Fxc1ZbtYJZqhyEZgVNPLgH2DQtrzRXLWzvn5DT87gJo7/aOi5t4Jmor+7padK86D8SOF9FiGGXVo6qmaWpvPLl6rpZSXOK8Q04w2aUOoSIELwJv61omLyZU2xIoFbmnkcSig51S7P8g05YesHWb9Smx+gxS+RTlcBD7ZPQs6r+oKiT8FYNhUDgJfPLgJjLZcv7suCuNSuJSV8zi">
  </div>
  <div class="skiplinks access">
    <a href="#mainContent">Skip to content</a>
  </div>
  <div id="divCookieUseAlertMessage" class="top-bar no-print" style="display: none;">
    <div class="middle-cell">
      <span id="cookieUseAlertMessage"></span>
      <a href="#" id="acceptCookies">Close</a>
    </div>
  </div>
  <!-- Header content -->
  <header class="header" id="myHeader">
    <div class="newheader container-fluid">
      <div class="row-fluid">
        <div class="header_primary_nav mobile-hamburger col-md-2">
          <div class="mobile-menu navbar">
            <nav class="navbar navbar-expand-lg navbar-light custom-toggler">
              <a class="navbar-toggler collapsed" data-toggle="collapse" data-target="#navbarToggler" aria-controls="navbarToggler" aria-expanded="false" aria-label="Toggle navigation" href="#">

                                    <div class="hamburger-menu"></div>
                                    <div class="hamburger-menu"></div>
                                    <div class="hamburger-menu"></div>
                                   
                                    <span class="access isClosed">- Show main menu navigation below</span>
                                    <span class="access isOpen">- Close main menu navigation below</span>
                                </a>
            </nav>
          </div>
        </div>
        <div class="header_logo col-md-2">
          <div class="logo_inner">
            <a class="newlogo" href="/en-us/" title="SAI Global Store">
                                <img src="/images/AMERICAS/SAI_Global_Infostore_logo.png" alt="SAI Global Store">                                
                            </a>
          </div>
          <div class="logo_text">
            <a class="newlogo" href="/" title="SAI Global Store">
                                <span>Infostore</span>
                            </a>
          </div>
        </div>
        <div class="header_primary_nav col-md-7">
          <div class="main-navigation navbar">
            <div class="nav-collapse collapse">
              <!--HeaderNavigation-->
              <script type="text/javascript">
                //jQuery.noConflict();
                jQuery(document).ready(function($) {
                  //function GetParameterValues(param) {
                  //    var url = window.location.href.slice(window.location.href.indexOf('?') + 1).split('&');
                  //    for (var i = 0; i < url.length; i++) {
                  //        var urlparam = url[i].split('=');
                  //        if (urlparam[0] == param) {
                  //            return urlparam[1];
                  //        } else
                  //            return 0;
                  //    }
                  //}
                  //var obj = {};
                  //obj.menuName = "HeaderNavigationMenuID";
                  //obj.languageID = GetParameterValues("LangType");
                  //jQuery.ajax({
                  //    type: 'POST',
                  //    url: '/Components/Service/MenuService.asmx/GetMenuInformation',
                  //    data: JSON.stringify(obj),
                  //    contentType: 'application/json; charset=utf-8',
                  //    success: function(HeaderMenudata) {
                  //        CreateHeaderMenu(HeaderMenudata.d, jQuery('#Mainmenu'), 0);
                  //        var divmenucnt = jQuery(".nav .dropdown").length;
                  //        var menuwidthInPercent = 100.0 / divmenucnt;
                  //        jQuery(".nav .dropdown").each(function () { jQuery(this).css("width", menuwidthInPercent + "%") });
                  //    },
                  //    error: function(error) {
                  //        console.log(error);
                  //    }
                  //});
                });
                var ulClasses1 = ["", "dropdown-menu"];
                var liClasses1 = ["dropdown", "", "action-item"];
                var anchorClasses1 = ["dropdown-toggle", "", ""];

                function CreateHeaderMenu(HeaderMenudata, parent, level) {
                  jQuery.each(HeaderMenudata.Items, function(i, item) {
                    var anchorClass = getClass(level, anchorClasses1);
                    var liClass = getClass(level, liClasses1);
                    var li = jQuery("<li/>", {
                      "class": liClass
                    });
                    //var href = "#";
                    //if (item.Href != "") {
                    //    href = "/" + item.Href;
                    //}
                    var href = "#";
                    if (item.Href != "") {
                      href = item.Href;
                      if (href.substring(0, 1) == '/') {
                        href = href;
                      } else {
                        if (href.substring(0, 1) != "h") {
                          href = "/" + href;
                        }
                      }
                    }
                    if (liClass == "") {
                      var anchor = jQuery("<a/>", {
                        "href": href
                      });
                    }
                    if (liClass != "") {
                      var anchor = jQuery("<a/>", {
                        "class": anchorClass,
                        "href": href,
                        "data-toggle": "dropdown"
                      });
                    }
                    anchor.append("<span>" + item.Text + "</span>");
                    li.append(anchor);
                    if (item.Items.length != 0) {
                      var ulClass = getClass(level + 1, ulClasses1);
                      var ul = jQuery("<ul/>", {
                        "class": ulClass
                      });
                      li.append(ul);
                      CreateHeaderMenu(item, ul, level + 1);
                    }
                    parent.append(li);
                  });
                }

                function getClass(index, array) {
                  if (index < array.length) {
                    return array[index];
                  }
                  return array[array.length - 1];;
                }
              </script>
              <div class="navbar-inner " id="sai-header">
                <style>
                  .menu-nav ul {
                    padding: 0;
                    margin: 0;
                  }
                </style>
                <div class="menu-nav hidden-xs hidden-sm">
                  <div class="container menu-nav-inner">
                    <div class="row-fluid">
                      <ul id="ctl00_HeaderNavigation1_headerNavigation" class="clearfix level-first">
                        <li class="menu-top-link">
                          <ul class="NavLinks">
                            <div class="back-title"><span>Find Standards</span></div>
                            <li><a href="/en-us/search/standard/?sortKey=date-desc&amp;productFamily=STANDARD"><span>Advanced Search</span></a></li>
                            <li><a href="/en-us/categories/standard/"><span>Standards Categories - ICS Codes</span></a></li>
                            <li><a href="/en-us/find_standards_by_publisher/"><span>Popular Publishers</span></a></li>
                            <li><a href="/en-us/publishers/publisher_directory/"><span>Standards by Publisher</span></a></li>
                            <li><a href="/en-us/key_standards/"><span>Standards by Industry</span></a></li>
                            <li><a href="/en-us/free_standards/"><span>Free Standards</span></a></li>
                            <li><a href="/en-us/standardswatch/"><span>Free alert service - StandardsWatch</span></a></li>
                            <li><a href="/en-us/standards_management/"><span>Manage your Standards</span></a></li>
                          </ul>
                          <div class="middle-cell menu-top-title  li-trigger"><span>Find Standards</span></div>
                        </li>
                        <li class="menu-top-link">
                          <ul class="NavLinks">
                            <div class="back-title"><span>Solutions</span></div>
                            <li><a href="/en-us/standards_management/"><span>Standards Management - i2i</span></a></li>
                            <li><a href="/en-us/standards_management/features/metals_infobase/"><span>Metals Infobase</span></a></li>
                            <li><a href="/en-us/standards_management/features/materials_infobase/"><span>Materials Infobase</span></a></li>
                            <li><a href="/en-us/standardswatch/"><span>Free alert service - StandardsWatch</span></a></li>
                            <li><a href="http://logicom.saiglobal.com/"><span>Logicom</span></a></li>
                            <li><a href="/en-us/managed_content_services/"><span>Managed Content Services</span></a></li>
                            <li><a href="/en-us/standards_management/testimonials/"><span>Testimonials</span></a></li>
                            <li><a href="https://i2.saiglobal.com"><span>Log in to i2i</span></a></li>
                          </ul>
                          <div class="middle-cell menu-top-title  li-trigger"><span>Solutions</span></div>
                        </li>
                        <li class="menu-top-link">
                          <ul class="NavLinks">
                            <div class="back-title"><span>Industry</span></div>
                            <li><a href="/en-us/key_standards/building_and_construction_standards/"><span>Building &amp; Construction</span></a></li>
                            <li><a href="/en-us/key_standards/medical_device_standards/"><span>Medical Devices</span></a></li>
                            <li><a href="/en-us/key_standards/precision_engineering_standards/"><span>Precision Engineering</span></a></li>
                            <li><a href="/en-us/key_standards/"><span>All Industries</span></a></li>
                          </ul>
                          <div class="middle-cell menu-top-title  li-trigger"><span>Industry</span></div>
                        </li>
                        <li class="menu-top-link">
                          <ul class="NavLinks">
                            <div class="back-title"><span>Resources</span></div>
                            <li><a href="/en-us/resources/"><span>All Resources</span></a></li>
                          </ul>
                          <div class="middle-cell menu-top-title  li-trigger"><span>Resources</span></div>
                        </li>
                        <li class="menu-top-link">
                          <ul class="NavLinks">
                            <div class="back-title"><span>Need Help?</span></div>
                            <li><a href="/en-us/contact_us/"><span>Contact Us</span></a></li>
                            <li><a href="/en-us/drm/"><span>PDF DRM Information</span></a></li>
                            <li><a href="/en-us/how_to_purchase_standards/"><span>How to Purchase Standards</span></a></li>
                            <li><a href="/en-us/multi_user_pdf/"><span>Multi-user PDF Information</span></a></li>
                            <li><a href="/en-us/frequently_asked_questions/"><span>Frequently Asked Questions</span></a></li>
                          </ul>
                          <div class="middle-cell menu-top-title  li-trigger"><span>Need Help?</span></div>
                        </li>
                      </ul>
                    </div>
                  </div>
                </div>
              </div>
              <script>
                jQuery(function() {
                  getActiveNavigation();
                });

                function getActiveNavigation() {
                  var path = window.location.pathname;
                  //path = path.replace(/\/$/, "");
                  path = decodeURIComponent(path).toLowerCase();
                  jQuery(".NavLinks li").each(function() {
                    var href = jQuery(this).find('> a').attr('href');
                    if (href != undefined && href != "") {
                      href = href.toLowerCase().split('?')[0];
                      //if (path.substring(0, href.length) === href) {
                      if (path.indexOf(href) >= 0) {
                        highlightActiveNavigation(jQuery(this));
                        return false;
                      } else if (path.indexOf(href.replace(href.split('/')[1], '').replace('//', '/')) >= 0) {
                        highlightActiveNavigation(jQuery(this));
                        return false;
                      }
                    }
                  });
                }

                function highlightActiveNavigation(element) {
                  ////Highlight Level 1 Menu 
                  element.closest('.menu-top-link').addClass('link-active');
                }
              </script>
            </div>
          </div>
        </div>
        <div class="header_cart col-md-1">
          <div id="divCartmenu" class="personal-menu cart-menu dropdown clearfix cart-logged-in">
            <a class="cart-menu-link clearfix" href="#">
    <span class="menu-icon"><span id="CartCountSpan" style="display: none;">0</span></span>
    <span class="menu-label">CART</span>
</a>
            <div class="cart-top"></div>
            <style>
              #divMixOrderMsg a {
                text-decoration: underline;
                color: #da312e;
                font-weight: bold;
              }

              #divStandardMsg a {
                text-decoration: underline;
                font-weight: bold;
              }

              #divTrainingMsg a {
                text-decoration: underline;
                font-weight: bold;
              }
            </style>
            <div id="fullcart" class="cart-menu-menu dropdown-menu">
              <div class="product-item redtext" id="divMixOrderMsg" style="display: none">
                <p>Credit card payment only is accepted for this order because it contains a mix of both publications and training products.</p>
              </div>
              <div class="product-item " id="divStandardMsg" style="display: none">
              </div>
              <div class="product-item " id="divTrainingMsg" style="display: none">
              </div>
              <div class="mycart-section" style="display: none;">
                <span class="mycart-text">My Cart</span>
                <span class="mycart-items" id="MyCartText"></span>
                <div class="panel-close" style="display: none">
                  <button type="button" class="close" onclick="closeProdBlock()">×</button>
                </div>
              </div>
              <div class="product-block">
                <div class="product-items clearfix">
                  <div id="cartSummaryDetails" class="product-item product-item-scroll">
                    <div id="ctl00_divNoResult">
                      <span class="no-item"> There are no items in your cart </span>
                      <div class="panel-close" style="display: none">
                        <button type="button" class="close" onclick="closeProdBlock()">×</button>
                      </div>
                    </div>
                    <input type="hidden" id="hdnTotalQuantity" value="0">
                    <input type="hidden" id="hdnTotalCount" value="0">
                    <input type="hidden" id="hdnIsTrainingAvailable" value="False">
                    <input type="hidden" id="hdnIsStandardAvailable" value="False">
                    <input type="hidden" id="hdnIsMultiPDF359Available" value="False">
                    <input type="hidden" id="hdnPromoHtml" value="">
                    <input type="hidden" id="hdnpublisherLicense" value="">
                    <input type="hidden" id="hdnTotalPriceBeforeDiscount" value="">
                    <input type="hidden" id="hdnIsFasterCheckoutAvailable" value="True">
                    <script type="text/javascript">
                      jQuery(document).ready(function($) {
                        jQuery('#docLicenceLink').text('You have agreed to have read the document license rules.');
                        if ((typeof jQuery('.itemTotalPrice').val() != 'undefined')) {
                          var firstDigit = jQuery('.itemTotalPrice').val().match(/\d/);
                          var indexed = jQuery('.itemTotalPrice').val().indexOf(firstDigit);
                          if ((typeof jQuery('#hdnTotalPriceBeforeDiscount').val() != 'undefined') && ((parseFloat(jQuery('#hdnTotalPriceBeforeDiscount').val()) - parseFloat(jQuery('.itemTotalPrice').val().substring(indexed))) > 0)) {
                            var rawHtml = "<p class=\"code-discount\"><span class=\"promo-code\">You Save</span><b>" + jQuery('.itemTotalPrice').val().substring(0, indexed) + (parseFloat(jQuery('#hdnTotalPriceBeforeDiscount').val()) - parseFloat(
                              jQuery('.itemTotalPrice').val().substring(indexed))).toFixed(2) + "</b></p>"
                            jQuery('#divDiscountedAmount').html(rawHtml);
                          } else {
                            jQuery('#divDiscountedAmount').html(null);
                          }
                        } else {
                          jQuery('#divDiscountedAmount').html(null);
                        }
                        jQuery('#divMixOrderMsg').hide();
                        jQuery('#divTrainingMsg').hide();
                        jQuery('#divStandardMsg').hide();
                        if (jQuery('#hdnIsTrainingAvailable').val() === "False") {
                          if (jQuery('#hdnIsFasterCheckoutAvailable').val() === "False") {
                            jQuery('#btnCheckOut').attr("href", "/en-us/checkout/");
                          } else {
                            jQuery('#btnCheckOut').attr("href", "/en-us/order-review/");
                          }
                        } else {
                          if (jQuery('#hdnIsFasterCheckoutAvailable').val() === "False") {
                            jQuery('#btnCheckOut').attr("href", "/en-us/checkout/");
                          } else {
                            jQuery('#btnCheckOut').attr("href", "/en-us/order-review/");
                          }
                        }
                        if (jQuery.trim(jQuery('#divMixOrderMsg').html()).length > 0 && jQuery('#hdnIsTrainingAvailable').val() === "True" && jQuery('#hdnIsStandardAvailable').val() === "True") {
                          jQuery('#divMixOrderMsg').show();
                        } else if (jQuery.trim(jQuery('#divTrainingMsg').html()).length > 0 && jQuery('#hdnIsTrainingAvailable').val() === "True" && jQuery('#hdnIsStandardAvailable').val() === "False") {
                          jQuery('#divTrainingMsg').show();
                        } else if (jQuery.trim(jQuery('#divStandardMsg').html()).length > 0 && jQuery('#hdnIsTrainingAvailable').val() === "False" && jQuery('#hdnIsStandardAvailable').val() === "True") {
                          jQuery('#divStandardMsg').show();
                        }
                        if (jQuery(".item-price .exempt-cart")[0]) {
                          jQuery(".cart-menu .item-price .item-price--price").addClass("margin1");
                        } else {
                          jQuery(".cart-menu .item-price .item-price--price").removeClass("margin1");
                        }
                        if (jQuery('#hdnPromoHtml').val() != undefined) {
                          jQuery('#divPromoCodes').empty();
                          jQuery('#divPromoCodes').html(jQuery('#hdnPromoHtml').val());
                        }
                        if (jQuery('#hdnpublisherLicense').val() != undefined) {
                          jQuery('#divPublisherLicence').empty();
                          jQuery('#divPublisherLicence').html(jQuery('#hdnpublisherLicense').val());
                        }
                        if (jQuery('#hdnIsTrainingAvailable').val() === "True") {
                          jQuery('#divForTraining').show();
                        } else {
                          jQuery('#divForTraining').hide();
                        }
                        if (jQuery('#hdnIsStandardAvailable').val() === "True") {
                          if (jQuery('#hdnpublisherLicense').val() != undefined) {
                            if (jQuery('#hdnpublisherLicense').val() != "") {
                              jQuery('#divForStandard').show();
                            } else {
                              jQuery('#divForStandard').hide();
                            }
                          }
                        } else if (jQuery('#hdnIsMultiPDF359Available').val() === "True") {
                          if (jQuery('#hdnpublisherLicense').val() != undefined) {
                            if (jQuery('#hdnpublisherLicense').val() != "") {
                              jQuery('#divForStandard').show();
                            } else {
                              jQuery('#divForStandard').hide();
                            }
                          }
                        } else {
                          jQuery('#divForStandard').hide();
                        }
                        if (jQuery('.product-item-scroll .product-display').length > 0) {
                          if (jQuery('.product-item-scroll .product-display').length == 1) {
                            jQuery('#MyCartText').html(" " + jQuery('.product-item-scroll .product-display').length + " item ");
                          } else {
                            jQuery('#MyCartText').html(" " + jQuery('.product-item-scroll .product-display').length + " items ");
                          }
                          jQuery('.mycart-section').css('display', 'block');
                        } else {
                          jQuery('.mycart-section').css('display', 'none')
                        }
                        var collection = jQuery(".productQuantity");
                        collection.each(function() {
                          var drpQuantity = jQuery(this).prev(".isNotTraining").prev(".itemId").prev(".drp-quantity");
                          jQuery(drpQuantity).val(jQuery(this).val()).attr("selected", "selected");
                        });
                        if ($SG(window).width() <= 979) {
                          $SG('#cartSummaryDetails .product-display').attr('style', 'width:' + ($SG(window).innerWidth() - 30) + 'px !important');
                          $SG('.cart-menu .promotional-block .promotional-form-wrapper').attr('style', 'width:' + ($SG(window).innerWidth() - 30) + 'px !important');
                          $SG('.cart-menu .checkout--total').attr('style', 'width:' + ($SG(window).innerWidth() - 30) + 'px !important');
                          var cartAllowedHeight = $SG(window).innerHeight() - $SG('.header .newheader.container-fluid').innerHeight() - 10;
                          if ($SG('#hdnTotalCount').val() > 0 && $SG('#fullcart').innerHeight() > cartAllowedHeight) {
                            $SG('#fullcart').css({
                              'overflow-y': 'scroll',
                              'height': cartAllowedHeight
                            });
                          }
                        }
                      });

                      function OnChangeOfQuantity(Quantity) {
                        var updateQtyVal = "#" + Quantity;
                        var oldQuantity = jQuery(updateQtyVal).parent().find(".productQuantity").val();
                        var obj = {};
                        obj.lineItemId = jQuery(updateQtyVal).next(".itemId").val();
                        obj.quantity = jQuery(updateQtyVal).val();
                        jQuery.ajax({
                          type: 'POST',
                          url: '/Components/Service/CartServices.asmx/UpdateCartInfo',
                          data: JSON.stringify(obj),
                          contentType: 'application/json; charset=utf-8',
                          success: function(response) {
                            BindCartSummaryDetails();
                            AnalyticsDataRemoveCartOnQuantityChange(oldQuantity, jQuery(updateQtyVal).val(), Quantity);
                          },
                          error: function(xmlHttpRequest, textStatus, errorThrown) {
                            console.log("responseText: " + xmlHttpRequest.responseText);
                            console.log("textStatus: " + textStatus);
                            console.log("errorThrown: " + errorThrown);
                          }
                        });
                      }

                      function OnDrmPopulateClick(drmRequest) {
                        var drmRequestVal = "#" + drmRequest;
                        var variationinfo = jQuery(drmRequestVal).next(".productvariationSKU").next(".currencyMnemonicStandard").next(".variationName").val();
                        var obj = {};
                        jQuery('#CartpdtDrmMoreInfoTitle').empty();
                        jQuery('#CartpdtDrmMoreInfoTitle').html(variationinfo);
                        obj.variationSKU = jQuery(drmRequestVal).next(".productvariationSKU").val();
                        obj.currencyMnemonic = jQuery(drmRequestVal).next(".productvariationSKU").next(".currencyMnemonicStandard").val();
                        obj.languageID = GetParameterValues("LangType");
                        //   console.log(obj);
                        jQuery.ajax({
                          type: 'POST',
                          url: '/Components/Service/HomePageService.asmx/GetProductVariationDetail',
                          data: JSON.stringify(obj),
                          contentType: 'application/json; charset=utf-8',
                          success: function(response) {
                            var _variationDetail = response.d;
                            jQuery('#CartpdtDrmMoreInfoBody').empty();
                            jQuery('#CartpdtDrmMoreInfoBody').append(_variationDetail.DRM.MoreInfo);
                          },
                          error: function(xmlHttpRequest, textStatus, errorThrown) {
                            console.log("responseText: " + xmlHttpRequest.responseText);
                            console.log("textStatus: " + textStatus);
                            console.log("errorThrown: " + errorThrown);
                          }
                        });
                      }

                      function OnRemoveClick(itemid) {
                        var DeleteVal = "#" + itemid;
                        var obj = {};
                        obj.lineItemId = jQuery(DeleteVal).next(".RemoveItemID").val();
                        jQuery.ajax({
                          type: 'POST',
                          url: '/Components/Service/CartServices.asmx/DeleteLineItem',
                          data: JSON.stringify(obj),
                          contentType: 'application/json; charset=utf-8',
                          success: function(response) {
                            AnalyticsDataForRemoveCart(itemid);
                            BindCartSummaryDetails();
                          },
                          error: function(xmlHttpRequest, textStatus, errorThrown) {
                            console.log("responseText: " + xmlHttpRequest.responseText);
                            console.log("textStatus: " + textStatus);
                            console.log("errorThrown: " + errorThrown);
                          }
                        });
                        if (jQuery('.product-item-scroll .product-display').length > 3) {
                          jQuery('.button-more').show().on('click', function() {
                            jQuery(".product-display").show();
                            jQuery(".button-more").hide();
                          });
                        } else {
                          jQuery(".button-more").hide();
                        }
                      }

                      function AnalyticsDataForRemoveCart(removeElement) {
                        var products = [];
                        var name = jQuery("#" + removeElement).closest(".product-display").find(".product-item--desc .product-item--decs-name a").text();
                        var id = jQuery("#" + removeElement).closest(".product-display").find(".product-item--desc .mainProductvariationSKU").val();
                        var price = jQuery("#" + removeElement).closest(".product-display").find(".product-item--quantity .product-item--quantity-block-1 .item-price .cart-item-price p").text();
                        var brand = jQuery("#" + removeElement).closest(".product-display").find(".product-item--desc .variationExits").text();
                        var categories = "";
                        var variant = jQuery("#" + removeElement).closest(".product-display").find(".product-item--desc .product-item--desc-summary span").text();
                        var quantity = jQuery("#" + removeElement).closest(".product-display").find(".product-item--quantity .product-item--quantity-block-1 .item-quantity .controls .cart-drp-quantity").val();
                        var dimension1 = jQuery("#" + removeElement).closest(".product-display").find(".product-item--quantity .product-item--quantity-block-1 label").text() == "Participants" ? "training" : "standards";
                        jQuery.ajax({
                          type: 'POST',
                          url: "/Components/Service/SearchService.asmx/GetCategoriesByProduct",
                          data: {
                            sku: id
                          },
                          success: function(response) {
                            categories = (jQuery(response).find("string").text());
                            products.push({
                              'name': name,
                              'id': id,
                              'price': price.replace(/[^\d.]/g, ''),
                              'brand': brand,
                              'category': categories,
                              'variant': variant,
                              'quantity': quantity,
                              'dimension1': dimension1
                            });
                            PushCartRemovalToGoogleAnalytics(products);
                            AnalyticsReviewCart();
                          },
                          error: function(error) {}
                        });
                      }

                      function AnalyticsDataRemoveCartOnQuantityChange(oldQuantity, newQuantity, removeElement) {
                        var del_products = [];
                        var rev_products = [];
                        if (parseInt(newQuantity) < parseInt(oldQuantity)) {
                          var name = jQuery("#" + removeElement).closest(".product-display").find(".product-item--desc .product-item--decs-name a").text();
                          var id = jQuery("#" + removeElement).closest(".product-display").find(".product-item--desc .mainProductvariationSKU").val();
                          var price = jQuery("#" + removeElement).closest(".product-display").find(".product-item--quantity .product-item--quantity-block-1 .item-price .cart-item-price p").text().replace(/[^\d.]/g, '');
                          var brand = jQuery("#" + removeElement).closest(".product-display").find(".product-item--desc .variationExits").text();
                          var variant = jQuery("#" + removeElement).closest(".product-display").find(".product-item--desc .product-item--desc-summary span").text();
                          var quantity = jQuery("#" + removeElement).closest(".product-display").find(".product-item--quantity .product-item--quantity-block-1 .item-quantity .controls .cart-drp-quantity").val();
                          var dimension1 = jQuery("#" + removeElement).closest(".product-display").find(".product-item--quantity .product-item--quantity-block-1 label").text() == "Participants" ? "training" : "standards";
                          var delQuantity = "";
                          var delPrice = "";
                          if (parseInt(newQuantity) < parseInt(oldQuantity)) {
                            delQuantity = parseInt(oldQuantity) - parseInt(newQuantity);
                            delPrice = parseFloat(price.replace(/[^\d.]/g, '')) / parseInt(newQuantity) * delQuantity;
                          }
                          del_products.push({
                            'name': name,
                            'id': id,
                            'price': delPrice,
                            'brand': brand,
                            'variant': variant,
                            'quantity': delQuantity,
                            'dimension1': dimension1
                          });
                          PushCartRemovalToGoogleAnalytics(del_products);
                        }
                        AnalyticsReviewCart();
                        //rev_products.push({
                        //    'name': name,
                        //    'id': id,
                        //    'price': price.replace(/[^\d.]/g, ''),
                        //    'brand': brand,           
                        //    'variant': variant,
                        //    'quantity': quantity,
                        //    'dimension1': dimension1
                        //});
                        //jQuery.ajax({
                        //    type: 'POST',
                        //    url: "/Components/Service/SearchService.asmx/GetCategoriesByProduct",
                        //    data: { sku: id },
                        //    success: function (response) {       
                        //        categories = (jQuery(response).find("string").text());              
                        //    },
                        //    error: function (error) {
                        //    }
                        //});
                        //    if (parseInt(newQuantity) > parseInt(oldQuantity)) {
                        //        //review cart
                        //        PushCartReviewToGoogleAnalytics(JSON.stringify(products));
                        //    }
                        //    else {
                        //        //remove cart and review cart
                        //        PushCartRemovalToGoogleAnalytics(del_products);
                        //        PushCartReviewToGoogleAnalytics(JSON.stringify(products));
                        //    }   
                      }
                    </script>
                  </div>
                </div>
              </div>
              <div id="divCheckout" style="display: none;">
                <div class="promotional-block">
                  <div class="promotional-form-wrapper clearfix">
                    <label for="input-promotional">Promotional code</label>
                    <div class="control-group input-group">
                      <div class="controls">
                        <input class="input-promotion-code" id="input-promotional" type="text">
                      </div>
                    </div>
                    <div class="control-group action-group">
                      <div class="controls">
                        <input class="btn-dark-blue btn-submit promo-disable" type="button" id="validatePromoCode" value="VALIDATE" disabled="">
                      </div>
                    </div>
                    <label id="lblInvalidPromo" style="color: red; display: none;"></label>
                  </div>
                  <div id="divPromoCodes"></div>
                  <div id="divDiscountedAmount"></div>
                </div>
                <div class="checkout-block clearfix">
                  <div class="checkout--total total-new1"><span class="subtotal">SUBTOTAL</span><span id="CartSummaryText"></span><span class="checkout--total-price" id="cartSummaryPrice"></span></div>
                  <div class="control-group agreement-checkbox-group check-grp">
                    <div class="controls hyperlinkCartCheckBox" id="divForStandard" style="display: none;">
                      <!--label for="agreeRules"></!--label-->
                      <a data-toggle="modal" data-target="#divLicenseText" id="docLicenceLink" class="anchor-ponter">You have agreed to have read the document license rules.</a>
                      <!--input type="checkbox" id="agreeRules" /-->
                      <!--label id="lblForStandardCheckout" style="color: red; display: none;">Please confirm that you agree to the document licence rules for all documents listed in the cart.</label-->
                    </div>
                    <div class="controls hyperlinkCheckBox" id="divForTraining" style="display: none;">
                      <a href="/en-us/Training-Terms-and-Conditions/" target="_blank">I have read all course pre-enrolment information</a>
                      <div class="clearfix prettycheckbox labelright  blue"><input type="checkbox" id="agreeRules1"><a href="#" class=""></a>
                        <label for="agreeRules1"></label>
                      </div>
                      <label id="lblForTrainingCheckout" style="color: #B02421; display: none;">Please Confirm that you have read all course pre-enrolment information</label>
                    </div>
                  </div>
                  <div class="cart-buttons">
                    <input class="btn-blue-border" type="button" id="btnContibueShopping" value="Continue Shopping">
                    <a class="btn-dark-blue" href="/en-us/order-review/" id="btnCheckOut">Proceed to Checkout</a>
                  </div>
                  <div class="login-createaccount" style="">
                    <a class="createaccount-a" href="#">Login or Create Account</a>
                  </div>
                  <div class="actions-block">
                    <div class="control-group">
                      <div class="controls">
                        <input class="btn-blue-border" type="button" value="Save as Quote" id="btnSaveQuote" style="display: none; cursor: not-allowed;">
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
            <div id="cartconfirm" class="cart-menu-menu dropdown-menu confirm-cart">
              <div class="item-proceed-block clearfix">
                <div class="proceed-status">
                  <em class="proceed-status--icon"></em>
                  <span class="proceed-status--text">Success! Added to cart</span>
                  <div class="panel-close" style="display: none">
                    <button type="button" class="close" onclick="closeProdBlock()">×</button>
                  </div>
                </div>
                <div class="proceed-item">
                  <em class="proceed-status--icon" id="productIcon"></em>
                  <div class="proceed-item--title" id="productName"></div>
                  <div class="proceed-item--desc" id="productDesc"></div>
                  <div class="proceed-item--desc" id="productvariationCartDesc" style="display: none"></div>
                </div>
              </div>
              <div class="checkout--total">
                <span class="checkout--total-text">SUBTOTAL</span>
                <span id="AddCartText"></span>
                <span class="checkout--total-price" id="AddCartPrice"></span>
              </div>
              <div class="cart-buttons">
                <a class="btn-blue-border" href="#" id="continueShopping">Continue Shopping</a>
                <input class="btn-orange" type="submit" id="viewcart" value="View Cart">
              </div>
            </div>
            <script type="text/javascript">
              jQuery(document).ready(function($) {
                var IsUserLoggedIn = "";
                if (IsUserLoggedIn == "") {
                  jQuery('.login-createaccount').show();
                } else {
                  jQuery('.login-createaccount').hide();
                }
                if (String('FALSE') == "FALSE") {
                  jQuery('#btnSaveQuote').hide();
                  if (jQuery('#btnSaveQuote').hasClass("cursor-pointer")) {
                    jQuery('#btnSaveQuote').removeClass("cursor-pointer");
                  }
                  jQuery('#btnSaveQuote').css("cursor", "not-allowed");
                } else {
                  jQuery('#btnSaveQuote').show();
                  if (!jQuery('#btnViewQuotes').hasClass("cursor-pointer")) {
                    jQuery('#btnViewQuotes').addClass("cursor-pointer");
                  }
                }
                /*jQuery(document).on('change', '#agreeRules', function () {

                    jQuery('#lblForStandardCheckout').css('display', 'none');
                });*/
                jQuery(document).on('change', '#agreeRules1', function() {
                  jQuery('#lblForTrainingCheckout').css('display', 'none');
                });
                if (jQuery('.input-promotion-code').val() === "") {
                  jQuery("#validatePromoCode").prop('disabled', true);
                }
                jQuery(".input-promotion-code").keyup(function() {
                  // jQuery('.input-promotion-code').on('input', function () {
                  if (jQuery(this).val() === "") {
                    jQuery("#validatePromoCode").prop('disabled', true);
                    if (!jQuery("#validatePromoCode").hasClass("promo-disable")) {
                      jQuery("#validatePromoCode").addClass("promo-disable");
                    }
                  } else {
                    jQuery("#validatePromoCode").removeClass("promo-disable");
                    jQuery("#validatePromoCode").prop('disabled', false);
                  }
                });
                jQuery('#btnContibueShopping').on('click', function(e) {
                  jQuery('#divCartmenu').removeClass("open");
                });
                jQuery('#divLicenseText').on('hidden.bs.modal', function(e) {
                  jQuery('#divCartmenu').addClass("open");
                });
                jQuery('#continueShopping').on('click', function(e) {
                  jQuery('#divCartmenu').removeClass("open").removeClass('open confirm');
                });
                jQuery('#btnCheckOut').on('click', function(e) {
                  /*var flag = 0;
                  if (jQuery('#divForStandard').css('display') != 'none') {
                      if (jQuery('#agreeRules').next('a').hasClass('checked') === false) {
                          jQuery('#lblForStandardCheckout').css('display', 'block');
                          flag = 1;
                      }
                      else { jQuery('#lblForStandardCheckout').css('display', 'none'); }
                  }
                  if (jQuery('#divForTraining').css('display') != 'none') {
                      if (jQuery('#agreeRules1').next('a').hasClass('checked') === false) {
                          jQuery('#lblForTrainingCheckout').css('display', 'block');
                          flag = 1;
                      }
                      else { jQuery('#lblForTrainingCheckout').css('display', 'none'); }
                  }
                  if (flag === 1) {
                      return false;
                  }*/
                  var loggedInUser = "";
                  // console.log(loggedInUser);
                  //debugger;
                  if (loggedInUser == "") {
                    jQuery('#divCartmenu').removeClass("open");
                    jQuery('#divLogin').addClass("open");
                    jQuery('.logout-shib-link').text("Continue as a Guest User");
                    if (jQuery('#hdnIsTrainingAvailable').val() === "False") {
                      if (jQuery('#hdnIsFasterCheckoutAvailable').val() === "False") {
                        jQuery('.logout-shib-link').attr("href", "/en-us/checkout/");
                      } else {
                        jQuery('.logout-shib-link').attr("href", "/en-us/order-review/");
                      }
                    } else {
                      if (jQuery('#hdnIsFasterCheckoutAvailable').val() === "False") {
                        jQuery('.logout-shib-link').attr("href", "/en-us/checkout/");
                      } else {
                        jQuery('.logout-shib-link').attr("href", "/en-us/order-review/");
                      }
                    }
                    //Login button logic
                    if (!(jQuery('#cartSummaryDetails .product-display .product-item--quantity .product-cart-detail .item-type .controls span:contains(PDF 3)').length >= 1) && !(jQuery(
                        '#cartSummaryDetails .product-display .product-item--quantity .product-cart-detail .item-type .controls span:contains(PDF 5)').length >= 1) && !(jQuery(
                        '#cartSummaryDetails .product-display .product-item--quantity .product-cart-detail .item-type .controls span:contains(PDF 9)').length >= 1)) {
                      jQuery('.logout-shib-link').text("Continue as a Guest User");
                      //jQuery('.logout-shib-link').attr("href", "/en-us/checkout/");
                      if (jQuery('#hdnIsTrainingAvailable').val() === "False") {
                        if (jQuery('#hdnIsFasterCheckoutAvailable').val() === "False") {
                          jQuery('.logout-shib-link').attr("href", "/en-us/checkout/");
                        } else {
                          jQuery('.logout-shib-link').attr("href", "/en-us/order-review/");
                        }
                      } else {
                        if (jQuery('#hdnIsFasterCheckoutAvailable').val() === "False") {
                          jQuery('.logout-shib-link').attr("href", "/en-us/checkout/");
                        } else {
                          jQuery('.logout-shib-link').attr("href", "/en-us/order-review/");
                        }
                      }
                      jQuery('#dvMultiuser259').hide();
                      //jQuery('.create-account-link').show();
                      jQuery("#divLogin").removeClass('open');
                      window.location.href = '/en-us/order-review/';
                    } else {
                      jQuery('.logout-shib-link').text("Create account");
                      jQuery('.logout-shib-link').attr("href", "/en-us/create-account/");
                      jQuery('#dvMultiuser259').show();
                      jQuery('.create-account-link').hide();
                    }
                    //if (parseInt(jQuery('#hdnTotalCount').val()) > 0) {
                    //    jQuery('div.networklinkstitle').addClass("guest");
                    //    jQuery('ul.networklinks').addClass("guest");
                    //}
                    //else {
                    //    jQuery('div.networklinkstitle').removeClass("guest");
                    //    jQuery('ul.networklinks').removeClass("guest");
                    //}
                    return false;
                  } else {
                    jQuery('.create-account-link').hide();
                  }
                });
                jQuery('#validatePromoCode').on('click', function(e) {
                  var obj = {};
                  obj.promotionalCode = jQuery('#input-promotional').val();
                  jQuery.ajax({
                    type: 'POST',
                    url: '/Components/Service/CartServices.asmx/ApplyPromotionalCode',
                    data: JSON.stringify(obj),
                    contentType: 'application/json; charset=utf-8',
                    success: function(response) {
                      BindCartSummaryDetails();
                      jQuery('#lblInvalidPromo').css('display', 'block');
                      jQuery('#lblInvalidPromo').html(response.d);
                    },
                    error: function(xmlHttpRequest, textStatus, errorThrown) {
                      console.log("responseText: " + xmlHttpRequest.responseText);
                      console.log("textStatus: " + textStatus);
                      console.log("errorThrown: " + errorThrown);
                    }
                  });
                });
                jQuery('#btnSaveQuote').on("click", function() {
                  jQuery.ajax({
                    type: 'GET',
                    url: '/Components/Service/QuoteServices.asmx/GetQuotesCount', //readCookie("currentUserId"),
                    data: {
                      'userName': decodeURIComponent(readCookie("currentUserId"))
                    },
                    success: function(response) {
                      if (response != undefined && response != null && jQuery(response).text() != null && jQuery(response).text().length > 0) {
                        response = jQuery.parseJSON(jQuery(response).find("string").text());
                        if (Number(response.count) < 6) {
                          var cartID = '';
                          jQuery.ajax({
                            type: 'POST',
                            data: {
                              'cartID': cartID,
                              'userName': decodeURIComponent(readCookie("currentUserId")),
                              type: "QUOTE"
                            },
                            url: '/Components/Service/QuoteServices.asmx/SaveQuote',
                            success: function(response) {
                              response = jQuery.parseJSON(jQuery(response).find("string").text());
                              //  console.log(response.uri);
                              window.location.href = "/en-us/quote/";
                            },
                            error: function(xmlHttpRequest, textStatus, errorThrown) {
                              console.log("responseText: " + xmlHttpRequest.responseText);
                              console.log("textStatus: " + textStatus);
                              console.log("errorThrown: " + errorThrown);
                            }
                          });
                          //---//
                        } else {
                          jQuery('#spanQuoteMaxLimitExceedAlert').trigger('click');
                          //jQuery('#AlreadyProductAdded').find('p').text("You have already saved 6 Quotes. Please contact our Customer Service Team");
                          //jQuery('#AlreadyProductAdded').find('p').html(msgtext);
                          // console.log("You have already saved 6 Quotes. Please contact our Customer Service Team");
                        }
                      }
                    },
                    error: function(xmlHttpRequest, textStatus, errorThrown) {
                      console.log("responseText: " + xmlHttpRequest.responseText);
                      console.log("textStatus: " + textStatus);
                      console.log("errorThrown: " + errorThrown);
                    }
                  });
                });
                jQuery('.itemTotalCount').on("change", function() {
                  if (jQuery('.itemTotalCount').val() > 1) {
                    jQuery('#btnSaveQuote').attr("disabled", "disabled");
                  }
                });
                jQuery('#viewcart').on('click', function(e) {
                  //var product = jQuery('#hdnGoogleAnalyticsJson').val();
                  //PushCartReviewToGoogleAnalytics(product);
                  AnalyticsReviewCart();
                });
                jQuery('.cart-menu-link').on('click', function(e) {
                  jQuery('.externalMenuLinks').css('display', 'none');
                  jQuery('.externalMenuLinks').parent().removeClass('open');
                  //jQuery('.login-top').css('display', 'none');
                  //jQuery('.links-top').css('display', 'none');
                  //if (jQuery('.cart-top').css('display') == 'none') {
                  //    jQuery('.cart-top').css('display', 'block');
                  //}
                  //else {
                  //    jQuery('.cart-top').css('display', 'none');
                  //}
                  AnalyticsReviewCart();
                });
                jQuery('.login-createaccount').on('click', function(e) {
                  event.stopPropagation();
                  jQuery("#divCartmenu").removeClass('open');
                  jQuery('#divLogin').addClass("open");
                });
              });

              function showLicensePopup() {
                jQuery("#spanLicenseText").trigger("click");
              }

              function AnalyticsReviewCart() {
                var products = [];
                jQuery('.cart-drp-quantity').each(function() {
                  var qtydrpdwnID = jQuery(this).attr("id");
                  var pdtDtl = {};
                  pdtDtl.name = jQuery("#" + qtydrpdwnID).closest(".product-display").find(".product-item--desc .product-item--decs-name a").text();
                  pdtDtl.id = jQuery("#" + qtydrpdwnID).closest(".product-display").find(".product-item--desc .mainProductvariationSKU").val();
                  pdtDtl.price = jQuery("#" + qtydrpdwnID).closest(".product-display").find(".product-item--quantity .product-item--quantity-block-1 .item-price .cart-item-price p").text().replace(/[^\d.]/g, '');
                  pdtDtl.brand = jQuery("#" + qtydrpdwnID).closest(".product-display").find(".product-item--desc .variationExits").text();
                  pdtDtl.variant = jQuery("#" + qtydrpdwnID).closest(".product-display").find(".product-item--desc .product-item--desc-summary span").text();
                  pdtDtl.quantity = jQuery("#" + qtydrpdwnID).closest(".product-display").find(".product-item--quantity .product-item--quantity-block-1 .item-quantity .controls .cart-drp-quantity").val();
                  pdtDtl.dimension1 = jQuery("#" + qtydrpdwnID).closest(".product-display").find(".product-item--quantity .product-item--quantity-block-1 label").text() == "Participants" ? "training" : "standards";
                  products.push(pdtDtl);
                });
                if (products.length > 0) {
                  PushCartReviewToGoogleAnalytics(products);
                }
              }
            </script>
            <style>
              .anchor-ponter {
                cursor: pointer;
              }

              .redtext {
                color: #da312e;
              }
            </style>
          </div>
        </div>
        <div class="header_login col-md-1">
          <div id="divLogin" class="personal-menu profile-menu dropdown">
            <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.13.0/css/all.min.css">
            <style type="text/css">
              .login-widget-loader {
                background-image: url('/images/loader.gif') !important;
                background-repeat: no-repeat;
                background-position: center center;
                background-color: rgba(30, 28, 28, 0.5) !important;
                background-size: 15% !important;
                height: 100%;
                position: fixed !important;
                width: 100%;
                z-index: 999;
                left: 0px;
                top: 9px;
              }
            </style>
            <script type="text/javascript">
              jQuery(document).ready(function($) {
                var IsUserLoggedIN = 'False';
                //LOGIN: Function to set KeepMeSigned in cookie
                function RememberMe() {
                  var isChecked = jQuery('#keepMeSigned').next().hasClass("checked") || false;
                  var userName = jQuery('#login-email').val() || "";
                  if (userName != "") {
                    if (isChecked) {
                      createCookie("keepMeSignedIn", true, 4000, false);
                      createCookie("keepMeSignedInCurrentUserId", encodeURIComponent(userName), 4000, false);
                    } else {
                      deleteCookie("keepMeSignedIn");
                      deleteCookie("keepMeSignedInCurrentUserId");
                    }
                  }
                }
                //LOGIN: Self invoking function to set user id 
                setTimeout(function setMeSignedIn() {
                  if (readCookie("keepMeSignedIn") != null || readCookie("keepMeSignedIn") != undefined || readCookie("keepMeSignedIn") == true) {
                    jQuery('#login-email').val(decodeURIComponent(readCookie("keepMeSignedInCurrentUserId")) || "");
                    if (!jQuery('#keepMeSigned').next().hasClass("checked")) {
                      jQuery('#keepMeSigned').next().addClass("checked");
                    }
                  } else {
                    if (!jQuery('#keepMeSigned').next().hasClass("checked")) {
                      jQuery('#keepMeSigned').next().removeClass("checked");
                    }
                  }
                }, 1000);
                if ((window.location.href.indexOf('/Home/?openlogin=true') > -1 || decodeURIComponent(window.location.href).indexOf('statusCode2=urn:oasis:names:tc:SAML:2.0:status:AuthnFailed') > -1) && jQuery('.menu-label.accounttype').html() ==
                  "LOGIN") {
                  history.pushState({}, null, '/Home/');
                  //jQuery('.personal-menu-link').click();
                  jQuery('.personal-menu-link').parent().addClass('open')
                }
                createCookie("currentBrowserUrl", window.location.href, 1);
                jQuery('#btnLogin').click(function() {
                  var userName = jQuery('#login-email').val();
                  var password = jQuery('#login-password').val();
                  if (userName == "" || password == "") {
                    jQuery('.pLoginError').html("Please enter your email/password");
                    jQuery('.pLoginError').addClass("error");
                    jQuery('.pLoginError').css("display", "block");
                    jQuery('#login-email').focus();
                    return false;
                  }
                  if (userName != "") {
                    var emailReg = /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;
                    if (!emailReg.test(userName)) {
                      jQuery('.pLoginError').html("The format of this email address is invalid. Please enter a valid email address");
                      jQuery('.pLoginError').addClass("error");
                      jQuery('.pLoginError').css("display", "block");
                      jQuery('#login-email').focus();
                      return false;
                    }
                  }
                  var obj = {};
                  obj.userName = userName;
                  obj.password = password;
                  jQuery.ajax({
                    type: 'POST',
                    url: "/Components/Service/UserService.asmx/GetLogin",
                    //data: { userName: userName, password: password },
                    data: JSON.stringify(obj),
                    dataType: 'json',
                    contentType: 'application/json; charset=utf-8',
                    success: function(response) {
                      if (response.d == "success") {
                        var returning_url = getCookie('returning_url');
                        var product_url = window.localStorage.getItem('product_url');
                        if (returning_url != null && returning_url != "") {
                          eraseCookie('returning_url');
                          window.location = returning_url;
                        } else if (product_url != undefined) {
                          window.localStorage.removeItem("product_url");
                          window.location = product_url;
                        } else {
                          window.location = "/en-us/dashboard/";
                        }
                        eraseCookie("checkout_email");
                        eraseCookie("returning_url");
                      } else {
                        jQuery('.pLoginError').addClass("error");
                        jQuery('.pLoginError').css("display", "block");
                        jQuery('#login-email').focus();
                        return false;
                      }
                    },
                    error: function(error) {
                      jQuery("#divLoginloader").hide();
                    }
                  });
                });
                jQuery('#togglePassword').on('click', function(e) {
                  // toggle the type attribute
                  //const type = jQuery('#password').type === 'password' ? 'text' : 'password';
                  var pwd = document.getElementById("login-password");
                  if (pwd.type === "password") {
                    pwd.type = "text";
                  } else {
                    pwd.type = "password";
                  }
                  // toggle the eye slash icon
                  this.classList.toggle('fa-eye-slash');
                });
                jQuery('.personal-menu-link').click(function() {
                  jQuery('.externalMenuLinks').css('display', 'none');
                  jQuery('.externalMenuLinks').parent().removeClass('open');
                });
                jQuery('.logout-link').click(function() {
                  deleteCookie("currentUserId");
                  //LOGIN: delete cookie if keep me sigend in is not checked.
                  if (readCookie("keepMeSignedIn") == null || readCookie("keepMeSignedIn") == undefined || readCookie("keepMeSignedIn") == false) {
                    deleteCookie("keepMeSignedInCurrentUserId");
                    deleteCookie("keepMeSignedIn");
                  }
                  var cartcount = parseInt(jQuery('#hdnTotalCount').val());
                  if (cartcount > 0) {
                    var msgtext = "<p>Logging out will delete all items in your Cart. Please consider saving items in Cart as a quote before logging out. </p>";
                    doConfirm(function yes() {
                      Logout("/en-us/");
                    }, function no() {
                      return false;
                    }, "Are you sure?", msgtext, "CANCEL", "CONFIRM LOGOUT");
                  } else {
                    Logout("/en-us/");
                  }
                });
                jQuery('input[type="password"],[type="text"]').on("focusout keyup", function(e) {
                  if (jQuery(this).val().toLowerCase().indexOf("<script>") > -1 || jQuery(this).val().toLowerCase().indexOf("<\/script>") > -1) {
                    jQuery(this).val(jQuery(this).val().replace(/<script>/gi, "").replace(/<\/script>/gi, ""));
                  }
                });
                jQuery('#btnViewQuotes').on("click", function() {
                  if (jQuery('#btnViewQuotes').attr("disabled") != undefined && jQuery('#btnViewQuotes').attr("disabled") == "disabled") {
                    return false;
                  }
                  //window.location = '/Quote/';
                  window.location = "/en-us/quote/";
                });
                if (IsUserLoggedIN == 'True') {
                  GetQuotesCount();
                }
                if ('True'.toLowerCase() == 'true') {
                  InitRedirectPopupAtLogin();
                }
                var checkout_email = getCookie("checkout_email");
                if (checkout_email != undefined && checkout_email != null && checkout_email != "") {
                  jQuery('#login-email').val(checkout_email);
                  jQuery('.personal-menu-link').click();
                } else {
                  eraseCookie("checkout_email");
                }
              });

              function Logout(url) {
                jQuery.ajax({
                  type: 'POST',
                  url: "/Components/Service/UserService.asmx/SetLogOut",
                  success: function(response) {
                    window.location = "/en-us/";
                  },
                  error: function(error) {
                    jQuery("#divLoginloader").hide();
                  }
                });
              }

              function GetQuotesCount() {
                //if (readCookie("currentUserId") != null && readCookie("currentUserId") != "" && readCookie("currentUserId") != undefined) {
                jQuery.ajax({
                  type: 'GET',
                  url: '/Components/Service/QuoteServices.asmx/GetQuotesCount', //readCookie("currentUserId"),
                  data: {
                    'userName': 'userName'
                  },
                  success: function(response) {
                    //console.log(response);
                    if (response != undefined && response != null && jQuery(response).text() != null && jQuery(response).text().length > 0) {
                      response = jQuery.parseJSON(jQuery(response).find("string").text());
                      if (response.count > 0) {
                        jQuery('.notificationcount').show();
                        jQuery('.notificationcount').text(response.count);
                        if (!jQuery('#btnViewQuotes').hasClass("cursor-pointer")) {
                          jQuery('#btnViewQuotes').addClass("cursor-pointer");
                          jQuery('#quote').addClass("cursor-pointer");
                        }
                        jQuery('#btnViewQuotes').text(jQuery('#btnViewQuotes').text().replace("*", response.count));
                        jQuery('#btnViewQuotes').removeAttr("disabled");
                        jQuery('#quote').removeAttr("disabled");
                      } else {
                        jQuery('.notificationcount').hide();
                        jQuery('.notificationcount').text("");
                        if (jQuery('#btnViewQuotes').hasClass("cursor-pointer")) {
                          jQuery('#btnViewQuotes').removeClass("cursor-pointer");
                          jQuery('#quote').removeClass("cursor-pointer");
                        }
                        jQuery('#btnViewQuotes').css("cursor", "not-allowed");
                        jQuery('#btnViewQuotes').text(jQuery('#btnViewQuotes').text().replace("(*)", ""));
                        jQuery('#btnViewQuotes').attr("disabled", "disabled");
                        jQuery('#quote').css("cursor", "not-allowed");
                        jQuery('#quote').attr("disabled", "disabled");
                      }
                    } else {
                      jQuery('.notificationcount').hide();
                      jQuery('.notificationcount').text("");
                      if (jQuery('#btnViewQuotes').hasClass("cursor-pointer")) {
                        jQuery('#btnViewQuotes').removeClass("cursor-pointer");
                        jQuery('#quote').removeClass("cursor-pointer");
                      }
                      jQuery('#btnViewQuotes').css("cursor", "not-allowed");
                      jQuery('#btnViewQuotes').text(jQuery('#btnViewQuotes').text().replace("(*)", ""));
                      jQuery('#btnViewQuotes').attr("disabled", "disabled");
                      jQuery('#quote').css("cursor", "not-allowed");
                      jQuery('#quote').attr("disabled", "disabled");
                    }
                  },
                  error: function(xmlHttpRequest, textStatus, errorThrown) {}
                });
                //}
              }
              // Login email Keypress event to focus to password on key press.
              function LoginEmail_KeyPress(e) {
                if ((jQuery('#login-email').val().trim() != "") && (e.keyCode == "13")) {
                  jQuery('#login-password').focus();
                  return false;
                } else if ((jQuery('#login-email').val().trim() == "") && (e.keyCode == "13")) {
                  jQuery('.pLoginError').html("Email field should not be empty");
                  jQuery('.pLoginError').addClass("error");
                  jQuery('.pLoginError').css("display", "block");
                  return false;
                }
              }
              // Login password Keypress event to work when press enter key.
              function LoginPassword_KeyPress(e) {
                if ((jQuery('#login-email').val().trim() != "") && (jQuery('#login-password').val().trim() != "") && (e.keyCode == "13")) {
                  jQuery('#btnLogin').trigger('click');
                  return false;
                } else if ((e.keyCode == "13") && (jQuery('#login-password').val().trim() == "")) {
                  jQuery('.pLoginError').html("Password field should not be empty");
                  jQuery('.pLoginError').addClass("error");
                  jQuery('.pLoginError').css("display", "block");
                  return false;
                }
                if ((e.keyCode == "13") && (jQuery('#login-password').val().trim() != "") && (jQuery('#login-email').val().trim() == "")) {
                  jQuery('.pLoginError').html("Email field should not be empty");
                  jQuery('.pLoginError').addClass("error");
                  jQuery('.pLoginError').css("display", "block");
                  jQuery('#login-email').focus();
                  return false;
                }
              }

              function doConfirm(yesFunction, noFunction, heading, message, cancelButtonText, okButtonText) {
                var confirmBox = jQuery("#login-control-warning");
                confirmBox.find(".login-control-warning-message").html(message);
                confirmBox.find(".login-control-warning-header").text(heading);
                confirmBox.find(".yes").val(okButtonText);
                confirmBox.find(".no").val(cancelButtonText);
                confirmBox.find(".yes,.no").unbind().click(function() {
                  jQuery(confirmBox).modal('hide');
                });
                confirmBox.find(".yes").click(yesFunction);
                confirmBox.find(".no").click(noFunction);
                jQuery(confirmBox).modal();
              }

              function InitRedirectPopupAtLogin() {
                var countryCode = '';
                var isLoggedInUser = 'False'
                var isSuppressPopupMessage = 'False'
                if (countryCode && isLoggedInUser.toLowerCase() == 'true' && isSuppressPopupMessage.toLowerCase() == 'false') {
                  jQuery.ajax({
                    type: 'POST',
                    url: '/Components/Service/HomePageService.asmx/IsStickToLanguageSettingsEnabled',
                    async: false,
                    contentType: 'application/json; charset=utf-8',
                    success: function(response) {
                      var result = response.d;
                      if (!result) {
                        CheckCountryInAccessRegionAtLogin(countryCode);
                      }
                    },
                    error: function(xmlHttpRequest, textStatus, errorThrown) {
                      console.log("responseText: " + xmlHttpRequest.responseText);
                      console.log("textStatus: " + textStatus);
                      console.log("errorThrown: " + errorThrown);
                    }
                  });
                }
              }

              function CheckCountryInAccessRegionAtLogin(countryCode) {
                jQuery.ajax({
                  type: 'POST',
                  url: '/Components/Service/CountryRegionLocation.asmx/CheckCountryInAccessRegion',
                  async: false,
                  data: JSON.stringify({
                    country: countryCode
                  }),
                  contentType: 'application/json; charset=utf-8',
                  success: function(response) {
                    var result = response.d;
                    if (result == false) {
                      var msgtext =
                        "<p>It seems you are away from your “home” country. Do you wish to be re-directed to your “home” store? If you choose “YES”, you will see product, taxation, and shipping information relevant to your country. If you select “NO”, the current store's conditions will apply. </p>";
                      var heading = "Please Select Your Option.";
                      doConfirm(function yes() {
                        var IsReset = ResetUserPreferenceAtLogin(countryCode, true, false);
                        if (IsReset) window.location.href = ClearCartAndRedirectToHomeAtLogin();
                      }, function no() {
                        ResetUserPreferenceAtLogin('', false, true);
                        SetEMEAVAT(false);
                        return false;
                      }, heading, msgtext, "NO", "YES");
                    }
                  },
                  error: function(xmlHttpRequest, textStatus, errorThrown) {
                    console.log("responseText: " + xmlHttpRequest.responseText);
                    console.log("textStatus: " + textStatus);
                    console.log("errorThrown: " + errorThrown);
                  }
                });
              }

              function SetEMEAVAT(isTaxable) {
                jQuery.ajax({
                  type: 'POST',
                  url: '/Components/Service/UserService.asmx/SetEMEAVAT',
                  async: false,
                  data: JSON.stringify({
                    isTaxable: isTaxable
                  }),
                  contentType: 'application/json; charset=utf-8',
                  success: function(response) {},
                  error: function(xmlHttpRequest, textStatus, errorThrown) {}
                });
              }

              function ResetUserPreferenceAtLogin(country, activateOverride, suppressPopUp) {
                var IsUserPreferenceReset = false;
                jQuery.ajax({
                  type: 'POST',
                  url: '/Components/Service/UserService.asmx/SetUserPreference',
                  async: false,
                  data: JSON.stringify({
                    countryCode: country,
                    activateUserPreferenceOverride: activateOverride,
                    suppressPopUpMessage: suppressPopUp
                  }),
                  contentType: 'application/json; charset=utf-8',
                  success: function(response) {
                    IsUserPreferenceReset = response.d ? response.d : false;
                  },
                  error: function(xmlHttpRequest, textStatus, errorThrown) {
                    console.log("responseText: " + xmlHttpRequest.responseText);
                    console.log("textStatus: " + textStatus);
                    console.log("errorThrown: " + errorThrown);
                  }
                });
                return IsUserPreferenceReset;
              }

              function ClearCartAndRedirectToHomeAtLogin() {
                var redirectUrl = "/";
                jQuery.ajax({
                  type: 'POST',
                  url: '/Components/Service/CartServices.asmx/ClearCartAndRedirect',
                  async: false,
                  contentType: 'application/json; charset=utf-8',
                  success: function(response) {
                    redirectUrl = response.d ? response.d : "/";
                  },
                  error: function(xmlHttpRequest, textStatus, errorThrown) {
                    console.log("responseText: " + xmlHttpRequest.responseText);
                    console.log("textStatus: " + textStatus);
                    console.log("errorThrown: " + errorThrown);
                  }
                });
                return redirectUrl;
              }
            </script>
            <a class="personal-menu-link clearfix cursor-pointer">
    <span class="menu-icon"></span>
    <span id="ctl00_Login_accounttype" class="menu-label accounttype" name="accounttype">LOGIN</span>
</a>
            <div class="login-top"></div>
            <div id="ctl00_Login_personalMenu" name="personalMenu" class="personal-menu-menu dropdown-menu">
              <div id="ctl00_Login_login" name="login" class="login-form-wrapper personal-menu-menu--child clearfix login">
                <div class="login-widget-loader" id="divLoginloader" style="display: none;">
                </div>
                <fieldset class="login_fieldset">
                  <div class="login_caption"> Log in to Infostore <div class="panel-close" style="display: none">
                      <button type="button" class="close" onclick="closeLoginPanel()">×</button>
                    </div>
                  </div>
                  <div class="control-group clearfix">
                    <label class="lbl-email" for="login-email">Email Address*</label>
                    <div class="controls">
                      <input class="input-text input-email" id="login-email" placeholder="Enter your email" type="text" onkeypress="return LoginEmail_KeyPress(event)">
                    </div>
                  </div>
                  <div class="control-group clearfix">
                    <label class="lbl-password" for="login-password">Password*</label>
                    <div class="controls">
                      <input class="input-text input-password" id="login-password" placeholder="Enter your password" type="password" onkeypress="return LoginPassword_KeyPress(event)">
                      <i class="far fa-eye" id="togglePassword" title="Show Password"></i>
                    </div>
                  </div>
                  <div class="signedin-forgotten-password-group">
                    <div class="control-group signedin-group clearfix">
                      <div class="controls">
                        <div class="clearfix prettyradio labelright  blue"><input id="keepMeSigned" type="radio"><a href="#" class=""></a>
                          <label for="keepMeSigned">Keep me signed in</label>
                        </div><a class=""></a>
                      </div>
                    </div>
                    <div class="control-group forgotten-password-group clearfix">
                      <div class="controls">
                        <div class="forgot-password">
                          <a href="/en-us/forgotPassword/">Forgot password?</a>
                        </div>
                      </div>
                    </div>
                  </div>
                  <div class="product-item--note multiUser259Info" id="dvMultiuser259" style="display:none;"> Please Login or Create an Account so you can add users to your Multi user PDF Later.
                    <a id="ctl00_Login_dvMultiuser259_MoreInfo" class="anchor-ponter" data-toggle="modal" data-target="#MyOrder_MoreInfo">More info</a>
                  </div>
                  <div class="control-group action-group clearfix">
                    <div class="controls create-account-div">
                      <a class="btn-blue-border logout-shib-link" href="/en-us/create-account/">Create account</a>
                    </div>
                    <div class="controls login-div">
                      <input class="btn-dark-blue" type="button" value="Login" id="btnLogin">
                    </div>
                  </div>
                  <div class="create-account-link">
                    <a href="/en-us/create-account/">I want to create an account</a>
                  </div>
                  <br>
                  <p id="ctl00_Login_pLoginError" class="pLoginError" style="display: none">Invalid username/password. Please try again. </p>
                  <div class="divspacing">
                  </div>
                </fieldset>
              </div>
              <!-- .login-form-wrapper -->
              <!-- .history-menu -->
            </div>
            <div id="login-control-warning" class="modal fade in modal-logout1 popup-center" role="dialog" style="display: none;" aria-hidden="false">
              <div class="modal-dialog product-modal-popup">
                <!-- Modal content-->
                <div class="modal-content">
                  <div class="modal-header">
                    <h4 class="modal-title login-control-warning-header"></h4>
                  </div>
                  <div class="modal-body">
                    <span class="login-control-warning-message"></span>
                    <input type="button" id="btnConfirmCancel" class="btn-log-pop btn--cancel no" value="CANCEL">
                    <input type="button" id="btnConfirmOk" class="btn-log-pop btn--logout yes" value="OK">
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
        <div class="header_links col-md-1">
          <div id="divLinks" class="personal-menu external-links dropdown clearfix">
            <style type="text/css">
              .login-widget-loader {
                background-image: url('/images/loader.gif') !important;
                background-repeat: no-repeat;
                background-position: center center;
                background-color: rgba(30, 28, 28, 0.5) !important;
                background-size: 15% !important;
                height: 100%;
                position: fixed !important;
                width: 100%;
                z-index: 999;
                left: 0px;
                top: 9px;
              }
            </style>
            <script type="text/javascript">
              jQuery(document).ready(function($) {
                jQuery('.externalMenuLinks').css('display', 'none');
                jQuery('.externalMenuLinks').parent().removeClass('open');
                jQuery('.external-menu-link').click(function() {
                  //jQuery('.login-top').css('display', 'none');
                  //jQuery('.cart-top').css('display', 'none');
                  if (jQuery('.externalMenuLinks').css('display') == 'none') {
                    jQuery('.externalMenuLinks').css('display', 'block');
                    jQuery('.externalMenuLinks').parent().addClass('open')
                    //jQuery('.links-top').css('display', 'block');
                  } else {
                    jQuery('.externalMenuLinks').css('display', 'none');
                    jQuery('.externalMenuLinks').parent().removeClass('open')
                    //jQuery('.links-top').css('display', 'none');
                  }
                });
              });
            </script>
            <a class="external-menu-link clearfix cursor-pointer">
    <span class="menu-icon"></span>
    <span class="menu-label">LINKS</span>
</a>
            <div class="links-top"></div>
            <div id="ctl00_ExternalLinks_externalMenuLinks" class="externalMenuLinks dropdown-menu" name="externalMenuLinks" style="display: none;">
              <div class="externalMenuLinks-container">
                <div class="networklinkstitle">Log in to other SAI Global platforms:</div>
                <ul class="networklinks">
                  <li><a href="https://i2.saiglobal.com/" title="i2i" target="_blank">i2i<span class="mega-menu-chevron"></span></a></li>
                  <li><a href="http://www.saiglobal.com/online/" title="Standards Online (SOL)" target="_blank">Standards Online (SOL)<span class="mega-menu-chevron"></span></a><br></li>
                </ul>
              </div>
            </div>
          </div>
        </div>
      </div>
      <div class="row">
        <div class="header_primary_nav mobile col-md-12">
          <div class="main-navigation navbar">
            <div class="nav-collapse collapse" id="navbarToggler">
              <!--HeaderNavigation-->
              <script type="text/javascript">
                //jQuery.noConflict();
                jQuery(document).ready(function($) {
                  //function GetParameterValues(param) {
                  //    var url = window.location.href.slice(window.location.href.indexOf('?') + 1).split('&');
                  //    for (var i = 0; i < url.length; i++) {
                  //        var urlparam = url[i].split('=');
                  //        if (urlparam[0] == param) {
                  //            return urlparam[1];
                  //        } else
                  //            return 0;
                  //    }
                  //}
                  //var obj = {};
                  //obj.menuName = "HeaderNavigationMenuID";
                  //obj.languageID = GetParameterValues("LangType");
                  //jQuery.ajax({
                  //    type: 'POST',
                  //    url: '/Components/Service/MenuService.asmx/GetMenuInformation',
                  //    data: JSON.stringify(obj),
                  //    contentType: 'application/json; charset=utf-8',
                  //    success: function(HeaderMenudata) {
                  //        CreateHeaderMenu(HeaderMenudata.d, jQuery('#Mainmenu'), 0);
                  //        var divmenucnt = jQuery(".nav .dropdown").length;
                  //        var menuwidthInPercent = 100.0 / divmenucnt;
                  //        jQuery(".nav .dropdown").each(function () { jQuery(this).css("width", menuwidthInPercent + "%") });
                  //    },
                  //    error: function(error) {
                  //        console.log(error);
                  //    }
                  //});
                });
                var ulClasses1 = ["", "dropdown-menu"];
                var liClasses1 = ["dropdown", "", "action-item"];
                var anchorClasses1 = ["dropdown-toggle", "", ""];

                function CreateHeaderMenu(HeaderMenudata, parent, level) {
                  jQuery.each(HeaderMenudata.Items, function(i, item) {
                    var anchorClass = getClass(level, anchorClasses1);
                    var liClass = getClass(level, liClasses1);
                    var li = jQuery("<li/>", {
                      "class": liClass
                    });
                    //var href = "#";
                    //if (item.Href != "") {
                    //    href = "/" + item.Href;
                    //}
                    var href = "#";
                    if (item.Href != "") {
                      href = item.Href;
                      if (href.substring(0, 1) == '/') {
                        href = href;
                      } else {
                        if (href.substring(0, 1) != "h") {
                          href = "/" + href;
                        }
                      }
                    }
                    if (liClass == "") {
                      var anchor = jQuery("<a/>", {
                        "href": href
                      });
                    }
                    if (liClass != "") {
                      var anchor = jQuery("<a/>", {
                        "class": anchorClass,
                        "href": href,
                        "data-toggle": "dropdown"
                      });
                    }
                    anchor.append("<span>" + item.Text + "</span>");
                    li.append(anchor);
                    if (item.Items.length != 0) {
                      var ulClass = getClass(level + 1, ulClasses1);
                      var ul = jQuery("<ul/>", {
                        "class": ulClass
                      });
                      li.append(ul);
                      CreateHeaderMenu(item, ul, level + 1);
                    }
                    parent.append(li);
                  });
                }

                function getClass(index, array) {
                  if (index < array.length) {
                    return array[index];
                  }
                  return array[array.length - 1];;
                }
              </script>
              <div class="navbar-inner " id="sai-header">
                <style>
                  .menu-nav ul {
                    padding: 0;
                    margin: 0;
                  }
                </style>
                <div class="menu-nav hidden-xs hidden-sm">
                  <div class="container menu-nav-inner">
                    <div class="row-fluid">
                      <ul id="ctl00_HeaderNavigation2_headerNavigation" class="clearfix level-first">
                        <li class="menu-top-link">
                          <ul class="NavLinks">
                            <div class="back-title"><span>Find Standards</span></div>
                            <li><a href="/en-us/search/standard/?sortKey=date-desc&amp;productFamily=STANDARD"><span>Advanced Search</span></a></li>
                            <li><a href="/en-us/categories/standard/"><span>Standards Categories - ICS Codes</span></a></li>
                            <li><a href="/en-us/find_standards_by_publisher/"><span>Popular Publishers</span></a></li>
                            <li><a href="/en-us/publishers/publisher_directory/"><span>Standards by Publisher</span></a></li>
                            <li><a href="/en-us/key_standards/"><span>Standards by Industry</span></a></li>
                            <li><a href="/en-us/free_standards/"><span>Free Standards</span></a></li>
                            <li><a href="/en-us/standardswatch/"><span>Free alert service - StandardsWatch</span></a></li>
                            <li><a href="/en-us/standards_management/"><span>Manage your Standards</span></a></li>
                          </ul>
                          <div class="middle-cell menu-top-title  li-trigger"><span>Find Standards</span></div>
                        </li>
                        <li class="menu-top-link">
                          <ul class="NavLinks">
                            <div class="back-title"><span>Solutions</span></div>
                            <li><a href="/en-us/standards_management/"><span>Standards Management - i2i</span></a></li>
                            <li><a href="/en-us/standards_management/features/metals_infobase/"><span>Metals Infobase</span></a></li>
                            <li><a href="/en-us/standards_management/features/materials_infobase/"><span>Materials Infobase</span></a></li>
                            <li><a href="/en-us/standardswatch/"><span>Free alert service - StandardsWatch</span></a></li>
                            <li><a href="http://logicom.saiglobal.com/"><span>Logicom</span></a></li>
                            <li><a href="/en-us/managed_content_services/"><span>Managed Content Services</span></a></li>
                            <li><a href="/en-us/standards_management/testimonials/"><span>Testimonials</span></a></li>
                            <li><a href="https://i2.saiglobal.com"><span>Log in to i2i</span></a></li>
                          </ul>
                          <div class="middle-cell menu-top-title  li-trigger"><span>Solutions</span></div>
                        </li>
                        <li class="menu-top-link">
                          <ul class="NavLinks">
                            <div class="back-title"><span>Industry</span></div>
                            <li><a href="/en-us/key_standards/building_and_construction_standards/"><span>Building &amp; Construction</span></a></li>
                            <li><a href="/en-us/key_standards/medical_device_standards/"><span>Medical Devices</span></a></li>
                            <li><a href="/en-us/key_standards/precision_engineering_standards/"><span>Precision Engineering</span></a></li>
                            <li><a href="/en-us/key_standards/"><span>All Industries</span></a></li>
                          </ul>
                          <div class="middle-cell menu-top-title  li-trigger"><span>Industry</span></div>
                        </li>
                        <li class="menu-top-link">
                          <ul class="NavLinks">
                            <div class="back-title"><span>Resources</span></div>
                            <li><a href="/en-us/resources/"><span>All Resources</span></a></li>
                          </ul>
                          <div class="middle-cell menu-top-title  li-trigger"><span>Resources</span></div>
                        </li>
                        <li class="menu-top-link">
                          <ul class="NavLinks">
                            <div class="back-title"><span>Need Help?</span></div>
                            <li><a href="/en-us/contact_us/"><span>Contact Us</span></a></li>
                            <li><a href="/en-us/drm/"><span>PDF DRM Information</span></a></li>
                            <li><a href="/en-us/how_to_purchase_standards/"><span>How to Purchase Standards</span></a></li>
                            <li><a href="/en-us/multi_user_pdf/"><span>Multi-user PDF Information</span></a></li>
                            <li><a href="/en-us/frequently_asked_questions/"><span>Frequently Asked Questions</span></a></li>
                          </ul>
                          <div class="middle-cell menu-top-title  li-trigger"><span>Need Help?</span></div>
                        </li>
                      </ul>
                    </div>
                  </div>
                </div>
              </div>
              <script>
                jQuery(function() {
                  getActiveNavigation();
                });

                function getActiveNavigation() {
                  var path = window.location.pathname;
                  //path = path.replace(/\/$/, "");
                  path = decodeURIComponent(path).toLowerCase();
                  jQuery(".NavLinks li").each(function() {
                    var href = jQuery(this).find('> a').attr('href');
                    if (href != undefined && href != "") {
                      href = href.toLowerCase().split('?')[0];
                      //if (path.substring(0, href.length) === href) {
                      if (path.indexOf(href) >= 0) {
                        highlightActiveNavigation(jQuery(this));
                        return false;
                      } else if (path.indexOf(href.replace(href.split('/')[1], '').replace('//', '/')) >= 0) {
                        highlightActiveNavigation(jQuery(this));
                        return false;
                      }
                    }
                  });
                }

                function highlightActiveNavigation(element) {
                  ////Highlight Level 1 Menu 
                  element.closest('.menu-top-link').addClass('link-active');
                }
              </script>
            </div>
          </div>
        </div>
      </div>
    </div>
  </header>
  <script>
    $.noConflict();
    jQuery("body #sai-header .menu-nav .menu-top-link").hover(function() {
      jQuery("#divCartmenu").removeClass('open');
      jQuery("#divLogin").removeClass('open');
      jQuery("#divLinks").removeClass('open');
      jQuery("#divSalert").removeClass('open');
      jQuery("#divLinks .externalMenuLinks").css("display", "none");
    });
    jQuery('body').scroll(function() {
      if (jQuery("#divCartmenu:hover").length <= 0 && jQuery("#divLogin:hover").length <= 0 && jQuery("#divLinks:hover").length <= 0) {
        jQuery("#divCartmenu").removeClass('open');
        jQuery("#divLogin").removeClass('open');
        jQuery("#divLinks").removeClass('open');
        jQuery("#divSalert").removeClass('open');
        jQuery("#divLinks .externalMenuLinks").css("display", "none");
      }
      if (jQuery(this).scrollTop() > 1) {
        jQuery('.header').addClass("sticky");
        jQuery('.header_logo').addClass("sticky");
        jQuery('.header_primary_nav').addClass("sticky");
        jQuery('.header_cart').addClass("sticky");
        jQuery('.header_login').addClass("sticky");
        jQuery('.header_links').addClass("sticky");
        jQuery('.header_swlinks').addClass("sticky");
        jQuery(".header.sticky .newheader").css("width", jQuery(".header.sticky").width());
      } else {
        jQuery('.header').removeClass("sticky");
        jQuery('.header_logo').removeClass("sticky");
        jQuery('.header_primary_nav').removeClass("sticky");
        jQuery('.header_cart').removeClass("sticky");
        jQuery('.header_login').removeClass("sticky");
        jQuery('.header_links').removeClass("sticky");
        jQuery('.header_swlinks').removeClass("sticky");
        jQuery(".header .newheader").css("width", "100%");
      }
    });
    jQuery('body').click(function(e) {
      if ((e.target == jQuery(".newheader .personal-menu .personal-menu-link .menu-icon")[0]) || (e.target == jQuery(".newheader .personal-menu .cart-menu-link .menu-icon")[0]) || (e.target == jQuery(
          ".newheader .personal-menu .sw-menu-link .menu-icon")[0]) || (e.target == jQuery(".newheader .personal-menu .external-menu-link .menu-icon")[0]) || (e.target == jQuery(
          ".newheader .personal-menu .personal-menu-link .menu-icon .notif-number.notificationcount")[0]) || (e.target == jQuery(".newheader .personal-menu .cart-menu-link .menu-icon .notif-number")[0])) {
        jQuery(".header_primary_nav.mobile .nav-collapse.collapse").removeClass('show');
        jQuery(".header_primary_nav.mobile-hamburger .navbar-toggler").addClass('collapsed');
        if (jQuery(".header_primary_nav.mobile-hamburger .navbar-toggler").attr('aria-expanded') == 'true') {
          jQuery(".header_primary_nav.mobile-hamburger .navbar-toggler").attr('aria-expanded', 'false');
        }
      }
      var containerCart = jQuery(".header_cart");
      var containerLogin = jQuery(".header_login");
      var containerLinks = jQuery(".header_links");
      var containerswLinks = jQuery(".header_swlinks");
      if (!containerCart.is(e.target) && containerCart.has(e.target).length === 0) {
        jQuery("#divCartmenu").removeClass('open');
      }
      if (!containerLogin.is(e.target) && containerLogin.has(e.target).length === 0) {
        jQuery("#divLogin").removeClass('open');
      }
      if (!containerswLinks.is(e.target) && containerswLinks.has(e.target).length === 0) {
        jQuery("#divSalert").removeClass('open');
      }
      if (!containerLinks.is(e.target) && containerLinks.has(e.target).length === 0) {
        jQuery("#divLinks").removeClass('open');
        jQuery("#divLinks .externalMenuLinks").css("display", "none");
      }
    });
  </script>
  <!--Language Alert-->
  <div class="notification-wrapper hidable-alert no-print">
    <style>
      .dvlanguageAlert {
        min-height: 84px;
        font-family: 'Roboto';
        padding: 23px 0;
        background-color: black;
      }

      .dvlanguageAlert .btn {
        background-color: #0B596D;
        color: #fff !important;
        border-radius: 4px;
        border-color: #0B596D;
        padding: 10px 20px;
      }

      .dvlanguageAlert a {
        text-decoration: none !important;
      }

      .dvlanguageAlert span {
        font-size: 16px;
        font-weight: 500;
        padding: 5px;
        display: block;
      }

      .dvlanguageAlert .close-link-label {
        margin-right: 0 !important;
        color: #fff !important;
      }

      @media (max-width: 767px) {
        .dvlanguageAlert .dvlangAlertCloseLink {
          text-align: center;
        }
      }

      @media (min-width: 768px) and (max-width: 979px) {
        .dvlanguageAlert .dvlangAlertCloseLink {
          text-align: center;
        }
      }
    </style>
    <div id="ctl00_LanguageAlert1_languageAlertDiv" class="container-fluid content-row dvlanguageAlert">
      <div class="row">
        <div class="offset-1"></div>
        <div class="col-lg-8 col-md-7 col-sm-6">
          <span>We noticed you’re not on the correct regional site. Switch to our EMEA site for the best experience.</span>
        </div>
        <div class="col-lg-2 col-md-3 col-sm-6 dvlangAlertCloseLink">
          <a id="ctl00_LanguageAlert1_langAlertCloseLink" class="btn" href="javascript:__doPostBack('ctl00$LanguageAlert1$langAlertCloseLink','')">Go to EMEA site</a>
          <a href="#" class="close-link close-link-label" id="alertCloseMsg" title="Hide this message">X</a>
        </div>
        <div class="offset-1"></div>
      </div>
    </div>
  </div>
  <!--Critical Alert-->
  <div class="notification-wrapper hidable-alert no-print">
    <script type="text/javascript">
      function GetParameterValues(param) {
        var url = window.location.href.slice(window.location.href.indexOf('?') + 1).split('&');
        for (var i = 0; i < url.length; i++) {
          var urlparam = url[i].split('=');
          if (urlparam[0] == param) {
            return urlparam[1];
          } else return 0;
        }
      }
      var _criticalAlertMsg = "";
      jQuery(document).ready(function($) {
        var cookieContent = readCookie("Infostore_criticalAlert");
        jQuery.ajax({
          type: 'POST',
          url: '/Components/Service/CriticalAlertService.asmx/GetCriticalAlert',
          contentType: "application/json; charset=utf-8",
          dataType: 'json',
          data: JSON.stringify({
            languageID: GetParameterValues("LangType")
          }),
          success: function(data) {
            _criticalAlertMsg = data.d;
            if (_criticalAlertMsg != null && _criticalAlertMsg != "") {
              if (cookieContent != null && cookieContent != "") {
                if (String(cookieContent).toUpperCase().trim() != String(_criticalAlertMsg).toUpperCase().trim()) {
                  jQuery("#criticalAlertDiv").show();
                  jQuery('#alertMsg').html(_criticalAlertMsg);
                  ResetCooKie(_criticalAlertMsg);
                } else {
                  jQuery("#criticalAlertDiv").hide();
                  jQuery('#alertMsg').html('');
                }
              } else {
                jQuery("#criticalAlertDiv").show();
                jQuery('#alertMsg').html(_criticalAlertMsg);
              }
            } else {
              jQuery("#criticalAlertDiv").hide();
              jQuery('#alertMsg').html('');
            }
          },
          error: function(xmlHttpRequest, textStatus, errorThrown) {
            console.log(xmlHttpRequest.responseText);
            console.log(textStatus);
            console.log(errorThrown);
          }
        });
        jQuery("#alertCloseLink, #alertCloseMsg").click(function() {
          //if (readCookie("Infostore_AcceptedCookieUse") == "true") {
          createCookie("Infostore_criticalAlert", _criticalAlertMsg, 1);
          //}
        });

        function ResetCooKie(_criticalMsg) {
          eraseCookie("Infostore_criticalAlert");
          createCookie("Infostore_criticalAlert", _criticalMsg, 1);
        }
      });
    </script>
    <div class="container-fluid content-row" id="criticalAlertDiv" style="">
      <div class="wrapper-header">
        <div id="alertMsg">SAI Global Standards is now part of Intertek, a leading Total Quality Assurance provider to industries worldwide.</div>
        <a href="#" class="close-link close-link-label" id="alertCloseMsg">Thanks, don't show me this message</a>
        <a href="#" class="close-link" id="alertCloseLink">
            <em></em>
        </a>
      </div>
    </div>
  </div>
  <!--Global Search-->
  <div class="global-search">
    <script type="text/javascript">
      var recentSearchLimit = 4;
      jQuery(document).ready(function($) {
        var UrlLocale = 'en-us';
        jQuery("#btnSearch").click(function() {
          var _searchText = String(jQuery("#globalSearch").val()).trim();
          if (_searchText != "" && jQuery("#globalSearch").val().length > 0) {
            jQuery("#errorSearch").hide();
            var _cookieContent = readCookie("Infostore_globalSearch");
            if (_cookieContent != null && _cookieContent != "") {
              var _4Seacrhes;
              var _4searchArray;
              var _recentSearches = String(_cookieContent).split("|");
              //if cookie content count > recentSearchLimit then remove old searches
              if (_recentSearches.length > recentSearchLimit) {
                //console.log("search count exced");                        
                for (var i = 0; i < recentSearchLimit - 1; i++) {
                  if (i == 0) {
                    _4Seacrhes = _recentSearches[i];
                  } else {
                    _4Seacrhes = _4Seacrhes + "|" + _recentSearches[i];
                  }
                }
                _4searchArray = String(_4Seacrhes).split("|");
                _cookieContent = _4Seacrhes;
              } else {
                _4searchArray = _recentSearches;
              }
              //Check if the search term already exist in cookie
              if (jQuery.inArray(_searchText, _4searchArray) > -1) {
                //Search Term Exists in cookie put it as the 1st item in cookie list
                _cookieContent = _searchText;
                for (var i = 0; i < _4searchArray.length; i++) {
                  if (_4searchArray[i] != _searchText) {
                    _cookieContent = _cookieContent + "|" + _4searchArray[i];
                  }
                }
              } else {
                //Search Term doesnt exist in cookie
                _cookieContent = _searchText + "|" + _cookieContent;
              }
              //if (readCookie("Infostore_AcceptedCookieUse") == "true") {
              createCookie("Infostore_globalSearch", _cookieContent, 1);
              //}
            } else {
              // if (readCookie("Infostore_AcceptedCookieUse") == "true") {
              createCookie("Infostore_globalSearch", _searchText, 1);
              //}
            }
            window.location.href = URLHelper.GetStandardSearchURL(UrlLocale, _searchText);
          } else {
            jQuery("#errorSearch").show();
            return false;
          }
        });
        $.extend($.ui.autocomplete.prototype.options, {
          open: function(event, ui) {
            $(this).autocomplete("widget").css({
              "min-width": $("#globalSearch").outerWidth() + "px"
            });
          }
        });
        $("#globalSearch").autocomplete({
          minLength: 3,
          source: function(request, response) {
            $.ajax({
              url: "/api/PredictiveSearch/",
              type: "GET",
              contentType: "json",
              dataType: "json",
              data: {
                query: request.term
              },
              success: function(data) {
                if (data) {
                  response($.map(data, function(item) {
                    return {
                      label: item.Name,
                      value: item.Value,
                      title: item.Value,
                      id: item.Id,
                      href: item.Href,
                      sku: item.Sku
                    };
                  }));
                }
              }
            })
          },
          focus: function(event, ui) {
            return false;
          },
          select: function(event, ui) {
            var selectedItemUrl = $("#globalSearch").val();
            if (selectedItemUrl != "" && ui.item.href != undefined && ui.item.href != "") {
              window.location.href = window.location.protocol + "//" + window.location.host + ui.item.href;
            }
            return false;
          }
        }).autocomplete("instance")._renderItem = function(ul, item) {
          if (!item.id) //this would be a category header
          {
            return $('<li class="ui-state-disabled"><div class="categoryHeader"><b>' + item.label + '</b></div></li>').appendTo(ul);
          } else {
            return $("<li>").data("ui-autocomplete-item", item).append(item.id == 10 ? "<span class='ui-autocomplete-item-label'>" + item.label + "</span><span class='ui-autocomplete-item-description'>" + item.title + "</span>" : (item.id ==
              20 ? "<span class='ui-autocomplete-item-label'>" + item.sku + "</span><span class='ui-autocomplete-item-description'>" + (item.label == null ? '' : item.label) + "</span>" : "<span>" + item.label + "</span>")).appendTo(ul);
          }
        };
        $('body').scroll(function() {
          $('.ui-autocomplete').css({
            'display': 'none'
          });
        });
        //Trigger btnSearch click on enter keypress
        jQuery('#globalSearch').keypress(function(e) {
          var key = e.which;
          if (key == 13) // the enter key code
          {
            jQuery('#btnSearch').click();
            return false;
          }
        });

        function CheckCdnCountryCode(_searchText) {
          var obj = {};
          obj.CountryCode = jQuery('#countryCodeSearchCDN').val();
          jQuery.ajax({
            type: 'POST',
            url: '/Components/Service/CountryRegionLocation.asmx/GetLocationQueryString',
            data: JSON.stringify(obj),
            async: false,
            contentType: 'application/json; charset=utf-8',
            dataType: 'json',
            success: function(response) {
              var location = response.d;
              if (location != "") {
                window.location.href = URLHelper.GetTrainingSearchURL(UrlLocale, _searchText) + "&" + location;
              } else {
                window.location.href = URLHelper.GetTrainingSearchURL(UrlLocale, _searchText);
              }
            },
            error: function(xmlHttpRequest, textStatus, errorThrown) {
              console.log("responseText: " + xmlHttpRequest.responseText);
              console.log("textStatus: " + textStatus);
              console.log("errorThrown: " + errorThrown);
            }
          });
        }
        /* Suggestive Search */
        function SuggestiveSearch(_searchText) {
          var categoryUrl = '/en-au/Categories/';
          var subCategoryUrl = '/en-au/Categories/';
          var publisherUrl = '/en-au/Search/Standard/';
          var trainingUrl = '/en-au/Trainings/';
          var standardUrl = '/en-au/Standards/';
          var urlLangPrefix = 'en-us';
          var _searchType = jQuery('.prettyradio .checked').siblings('input[name="search-option"]:first').val();
          //alert(_searchType);
          //If search type is 'LEGISLATION', we don't need to perform suggestive search.
          //if (typeof (_searchType) !== "undefined" && _searchType.toLowerCase() !== 'legislation') {
          if (typeof(_searchType) !== "undefined") {
            jQuery.ajax({
              type: 'POST',
              url: "/Components/Service/SearchService.asmx/GetSuggestiveSearch",
              data: {
                "keyword": _searchText,
                "searchType": _searchType
              },
              success: function(result) {
                jQuery("#ulRecentSearch").empty();
                jQuery("#hdnSearchKeyWord").val(_searchText);
                result = jQuery.parseJSON(result);
                if (result.length > 0) {
                  var _liCat = "";
                  var _liSubCat = "";
                  var _liProduct = "";
                  var _liPublisher = '';
                  jQuery.each(result, function(index, value) {
                    if (value.Type == 'CATEGORY') {
                      if (value.CategoryId != "" && value.ProductFamily != "") {
                        if (value.ProductFamily == "STANDARDS") {
                          _liCat = _liCat + '<li> <a href="' + URLHelper.GetBrowseCategoryStandards(urlLangPrefix, value.CategoryId) + '"><span class="gray-text"> Browse in </span>' + value.Text + '</a></li>';
                        } else if (value.ProductFamily == "TRAININGS") {
                          _liCat = _liCat + '<li> <a href="' + URLHelper.GetBrowseCategoryTrainings(urlLangPrefix, value.CategoryId) + '"><span class="gray-text"> Browse in </span>' + value.Text + '</a></li>';
                        }
                      }
                    } else if (value.Type == 'SUBCATEGORY') {
                      _liSubCat = _liSubCat + '<li> <a href="' + URLHelper.GetBrowseCategoryStandardSubCategory(urlLangPrefix, value.CategoryId) + '">' + value.Text + '<span class="gray-text"> &nbspin&nbsp' + value.Category +
                        '</span></a></li>';
                    } else if (value.Type == 'STANDARD') {
                      if (value.VariationId == "True") {
                        _liProduct = _liProduct + '<li> <a href="' + value.RedirectUrl + '">' + value.Text + '</a></li>';
                      } else {
                        _liProduct = _liProduct + '<li> <a href="' + value.RedirectUrl + '">' + value.Text + '</a></li>';
                      }
                    } else if (value.Type == 'TRAINING') {
                      if (value.VariationId == "True") {
                        _liProduct = _liProduct + '<li> <a href="' + value.RedirectUrl + '">' + value.Text + '</a></li>';
                      } else {
                        _liProduct = _liProduct + '<li> <a href="' + value.RedirectUrl + '">' + value.Text + '</a></li>';
                      }
                    } else if (value.Type == 'PUBLISHER') {
                      _liPublisher = _liPublisher + '<li> <a href="' + URLHelper.GetStandardPublisher(urlLangPrefix, value.Publisher) + '">' + value.Text + '<span class="gray-text">&nbsp-&nbsp' + value.Type + '</span></a></li>';
                    }
                  });
                  if (_liPublisher.trim() != "") {
                    _liPublisher = _liPublisher + "<hr>";
                  }
                  if (_liCat.trim() != "") {
                    _liCat = _liCat + "<hr>";
                  }
                  if (_liSubCat.trim() != "") {
                    _liSubCat = _liSubCat + "<hr>";
                  }
                  var _ul = _liPublisher + _liCat + _liSubCat + _liProduct;
                  jQuery("#ulRecentSearch").addClass("search-border");
                  jQuery("#ulRecentSearch").append(_ul);
                  jQuery('#searchResult').show();
                } else {
                  jQuery("#ulRecentSearch").removeClass("search-border");
                  jQuery('#searchResult').hide();
                }
              },
              failure: function(error) {}
            });
          }
        }

        function showRecentSearchByCookie(_searchText) {
          jQuery('#ulRecentSearch').empty();
          jQuery("#ulRecentSearch").removeClass("search-border");
          var _li = '<li class="search-result-label">Recent searches</li>';
          if (String(_searchText).trim() == "" || jQuery("#globalSearch").val().length == 0) {
            var _cookieContent = readCookie("Infostore_globalSearch");
            if (_cookieContent != null && _cookieContent != "") {
              var _recentSearches = String(_cookieContent).split("|", recentSearchLimit);
              jQuery.each(_recentSearches, function(index, value) {
                _li = _li + '<li> <a href="#">' + value + '</a></li>';
              });
            } else {
              // _li = _li + "<li class="search-result-label">No recent searches done</li>";
            }
            jQuery("#ulRecentSearch").append(_li);
            jQuery('#searchResult').show();
          } else {
            jQuery("#ulRecentSearch").append(_li);
            jQuery('#searchResult').hide();
          }
        }
        jQuery('input[type="password"],[type="text"]').on("focusout keyup", function(e) {
          if (jQuery(this).val().toLowerCase().indexOf("<script>") > -1 || jQuery(this).val().toLowerCase().indexOf("<\/script>") > -1 || jQuery(this).val().toLowerCase().indexOf("<") > -1) {
            jQuery(this).val(jQuery(this).val().replace(/<script>/gi, "").replace(/<\/script>/gi, "").replace("<", ""));
          }
        });
      });
    </script>
    <div class="container-fluid">
      <div class="search-form-wrapper">
        <fieldset>
          <div class="clearfix">
            <div class="col-md-8 input-search-wrapper ">
              <div class="input-append search-block" id="searchBlock">
                <label class="access" for="globalSearch">Search</label>
                <input class="input-search ui-autocomplete-input" id="globalSearch" placeholder="I'm searching for..." type="text" aria-label="Search" autocomplete="off">
                <input class="btn btn-default btn-submit" id="btnSearch" value="GO" type="button">
              </div>
              <div class="error-message" id="errorSearch">Please enter a keyword to search</div>
            </div>
            <input type="hidden" name="ctl00$GlobalSearch$countryCodeSearchCDN" id="countryCodeSearchCDN" value="DE">
            <input type="hidden" id="hdnSearchKeyWord" value="0">
          </div>
        </fieldset>
      </div>
    </div>
  </div>
  <!--Keep Alive-->
  <!--ContentPlaceHolder2-->
  <script type="text/javascript">
    //<![CDATA[
    Sys.WebForms.PageRequestManager._initialize('ctl00$ContentPlaceHolder2$Homepagecontents$ctl03', 'aspnetForm', ['tctl00$ContentPlaceHolder2$PageContent$uxUpdatePanel', '',
      'tctl00$ContentPlaceHolder2$PageContent$uxColumnDisplay$ctl00$uxControlColumn$ctl00$uxWidgetHost$uxUpdatePanel', ''
    ], [], [], 90, 'ctl00');
    //]]>
  </script>
  <script type="text/javascript">
    Ektron.PBSettings = {
      'dontClose': false
    }
  </script>
  <div class="ektron-ux-UITheme ux-app-siteApppageBuilder-setSizeTemplate ui-draggable" style="position: relative;">
  </div>
  <script id="EktronScriptBlocksidgq" type="text/javascript">
    Ektron.ready(function(event, eventName) {
      $ektron(".ux-app-siteApppageBuilder-setSizeTemplate .ui-dialog-buttonpane a").button();
      $ektron(".ux-app-siteApppageBuilder-setSizeTemplate .framework").accordion({
        heightStyle: "content",
        activate: function(event, ui) {
          $ektron(ui).closest(".ui-accordion").accordion("refresh");
        }
      });
      $ektron(".ux-app-siteApppageBuilder-setSizeTemplate").draggable({
        handle: "div.ui-dialog-titlebar ",
        containment: $ektron("body")
      });
    });
  </script>
  <div class="container-fluid white-block px-0">
    <div id="ctl00_ContentPlaceHolder2_PageContent_uxUpdatePanel" class="">
      <div id="ctl00_ContentPlaceHolder2_PageContent_uxDropZone" data-ux-pagebuilder="DropZone">
        <div data-ux-pagebuilder="Column" style="width:100%">
          <ul>
            <li>
              <div id="ctl00_ContentPlaceHolder2_PageContent_uxColumnDisplay_ctl00_uxControlColumn_ctl00_uxWidgetHost_uxUpdatePanel">
                <div data-ux-pagebuilder="Widget">
                  <div class="widgetBody">
                    <div class="wrapper-product product-page">
                      <div class="divOrderReviewLoader">
                        <div class="modal in divloaderr" aria-labelledby="exampleModalCenterTitle" aria-hidden="false" style="visibility: hidden;">
                          <div class="modal-dialog modal-lg  modal-dialog-centered" role="document">
                            <div class="modal-content">
                              <div class="modal-body">
                                <div class="LoaderInner">
                                  <span>Please Wait...</span>
                                  <div class="loader"></div>
                                </div>
                              </div>
                            </div>
                          </div>
                        </div>
                        <div class="modal-backdrop  in divloaderr" style="visibility: hidden;"> </div>
                      </div>
                      <div class="content-right col-md-9 offset-md-3">
                      </div>
                      <div class="row orderContainer">
                        <!-- Product Detail Accordians-->
                        <div class="content-right col-md-9">
                          <div id="ctl00_ContentPlaceHolder2_PageContent_uxColumnDisplay_ctl00_uxControlColumn_ctl00_uxWidgetHost_uxWidgetHost_widget_hardcopyVariantMsg" class="enableHardcopyVariant" style="display: none;">
                            <p>
                              <img src="/Images/AMERICAS/errorimage.png">
                            </p>
                            <p>
                            </p>
                          </div>
                          <!--
Accordion
Summary: Renders expanding and collpapsing content.
Assets required: jquery, common js (initAccordionIndicator function)
Reference: http://twitter.github.com/bootstrap/javascript.html#collapse
Other notes: Add class ".in" to the ".accordion-body" div to have it open on page load.
-->
                          <div class="row rfluid desktop-pHeader">
                            <div class="card card-body product-header">
                              <div class="row">
                                <!---product-thumbnail-logo-->
                                <div class="thumbnail-image col">
                                  <img src="https://infostore.saiglobal.com/assets/thumbnail/publishers\api_cover.gif" id="ctl00_ContentPlaceHolder2_PageContent_uxColumnDisplay_ctl00_uxControlColumn_ctl00_uxWidgetHost_uxWidgetHost_widget_imageLogo"
                                    alt="logo" name="imageLogo">
                                </div>
                                <!---product-thumbnail-logo end-->
                                <div class="col product-header-bar">
                                  <div class="product-document-header">
                                    <div class="row document-header-title">
                                      <div class="pl-0 product_title">
                                        <h1>API STD 521:2020</h1>
                                      </div>
                                      <label class="status-bar" id="superseded_m">
                                        <!-- status-current is for current status for other status like superseded just the class name should be changed to status-superseded -->
                                        <span class="status-common status-current">Current</span>
                                      </label>
                                      <div class="pl-0 pull-right prod_title_watch product_watch">
                                        <div class="most-recent">
                                          <!--  <img src="/Images/AMERICAS/ico-most-recent.png" alt="Most Recent"> -->
                                          <!---Status-label-->
                                          <label class="status-bar">
                                            <!-- status-current is for current status for other status like superseded just the class name should be changed to status-superseded -->
                                            <span class="status-common status-current">Current</span>
                                          </label>
                                          <!-- show this only when IsPendingRevision (true) -->
                                          <!---Status-label-end-->
                                        </div>
                                        <div class="most-recent-hover" style="top: 80px;">
                                          <span class="hover_header">Current</span> The latest, up-to-date edition.
                                        </div>
                                        <div class="add-to-watchllist">
                                          <span class="hover_header">Add to Watchlist</span>
                                          <a href="#" data-toggle="modal" data-target="#AddToWatchlistInfo" class="more-info">
											<img src="/images/ico-teal-question-disc.svg" alt="" class="teal-quest"></a>
                                        </div>
                                        <div class="add-to-watchllist-hover wSuccess">
                                          <span class="hover_header">This Standard has been added successfully to your Watchlist.</span>
                                          <br> Please visit <a href="/en-us/my-watchlist">My Watchlist</a> to see all standards that you are watching.
                                        </div>
                                        <div class="add-to-watchllist-hover wGuest">
                                          <span class="wGuestmsg">Please <a onclick="return openLogin()" class="openLogin" href="#">log in</a> or <a class="create-account" href="/en-us/create-account/">create an account</a> to add this standard to
                                            your Watchlist.</span>
                                        </div>
                                        <div class="add-to-watchllist-hover wError">
                                          <span class="hover_header">We could not add this standard to your Watchlist.</span>
                                          <br> Please retry or <a href="/en-us/contact_us/">contact support</a> for assistance.
                                        </div>
                                        <div class="add-to-watchllist-hover wMaxError">
                                          <span class="hover_header">We could not add this standard to your Watchlist.</span>
                                          <br> Please retry or <a href="/en-us/contact_us/">contact support</a> for assistance.
                                        </div>
                                        <div class="add-to-watchllist-hover wRecordExist">
                                          <span class="hover_header">You have already added this standard to your Watchlist.<br>Visit <a href="/en-us/my-watchlist/">My Watchlist</a> to view the full list.<br></span>
                                        </div>
                                      </div>
                                    </div>
                                  </div>
                                  <p class="product-header-title">Pressure-relieving and Depressuring Systems</p>
                                  <p class="text-bold" id="productAmendedSection" style="display:none;">
                                    <span class="product-published-title">:&nbsp; <!-- should be added to transaltion data -->
                                    </span>
                                    <span class="prodLanguage" id="Amended">
                                      <a class="prodLanguage" href="" target="_blank"> </a>
                                    </span>
                                  </p>
                                  <p class="text-bold" id="availableFormatAttr">
                                    <span class="product-published-title format-align">Available format(s):&nbsp; </span>
                                    <span class="pubDate format-data" id="availableFormatAttribute">Hardcopy, PDF</span>
                                    <a href="#" data-toggle="modal" data-target="#AvailableFormat_MoreInfo" class="drmMoreInfo format-align">
								<img src="/images/ico-teal-question-disc.svg" alt="" class="teal-quest"></a>
                                  </p>
                                  <p class="text-bold" id="productLanguageSection" style="display: block;">
                                    <span class="product-published-title">Language(s):&nbsp; <!-- should be added to transaltion data -->
                                    </span>
                                    <span class="prodLanguage" id="Language">English</span>
                                  </p>
                                  <p class="text-bold" id="publishedDateSection">
                                    <span class="product-published-title">Published date:&nbsp; <!-- should be added to transaltion data -->
                                    </span>
                                    <span class="pubDate" id="publishedDate">06-01-2020</span>
                                  </p>
                                  <p class="text-bold" id="publisherInfoSection">
                                    <span class="product-publishedBy-title">Publisher:&nbsp; <!-- should be added to transaltion data -->
                                    </span>
                                    <!--span class="pubName"></span-->
                                    <a href="/en-us/search/standard/?sortkey=date-desc&amp;publisher=api&amp;productfamily=standard" id="ctl00_ContentPlaceHolder2_PageContent_uxColumnDisplay_ctl00_uxControlColumn_ctl00_uxWidgetHost_uxWidgetHost_widget_PublisherInfo" class="publisherMoreInfo">American Petroleum Institute</a>
                                  </p>
                                  <div class="add-to-watchllist" id="add-to-watchllist_m">
                                    <span class="hover_header">Add to Watchlist</span>
                                    <a href="#" data-toggle="modal" data-target="#AddToWatchlistInfo" class="more-info">
							<img src="/images/ico-teal-question-disc.svg" alt="" class="teal-quest"></a>
                                  </div>
                                </div>
                              </div>
                              <div class="row">
                                <div class="col-md-2 thumbnail-image">
                                </div>
                                <div class="col-md-10">
                                  <!-- CEN Text-->
                                  <!-- CFN Text end -->
                                </div>
                              </div>
                            </div>
                          </div>
                          <div class="accordion product-accordion">
                            <!-- Html -->
                            <!-- Table Of Content -->
                            <!-- Abstract -->
                            <div id="ctl00_ContentPlaceHolder2_PageContent_uxColumnDisplay_ctl00_uxControlColumn_ctl00_uxWidgetHost_uxWidgetHost_widget_divAbstract" class="accordion-group accordion-link">
                              <h2 class="accordion-heading">
                                <a class="accordion-toggle" data-toggle="collapse-next" href="#">
                            Abstract
                            <span class="access txtShow">- (Show below)</span>
                            <span class="access txtHide">- (Hide below)</span>
                            <em class="accordion-icon"></em>
                        </a>
                              </h2>
                              <div class="accordion-body collapse ">
                                <div class="accordion-inner">
                                  <div class="wysiwyg-content">
                                    <p>This standard is applicable to pressure-relieving and vapor depressuring systems. </p>
                                  </div>
                                </div>
                              </div>
                            </div>
                            <!-- Scope -->
                            <!-- General Product Info -->
                            <div id="ctl00_ContentPlaceHolder2_PageContent_uxColumnDisplay_ctl00_uxControlColumn_ctl00_uxWidgetHost_uxWidgetHost_widget_divProductInfo" class="accordion-group accordion-link">
                              <h2 class="accordion-heading">
                                <a class="accordion-toggle" data-toggle="collapse-next" href="#">
                            General Product Information
                            <span class="access txtShow">- (Show below)</span>
                            <span class="access txtHide">- (Hide below)</span>
                            <em class="accordion-icon"></em>
                        </a>
                              </h2>
                              <div class="accordion-body collapse ">
                                <div class="accordion-inner">
                                  <table class="table table-striped table-standard-reference" id="tblPdtGenInfo">
                                    <tbody>
                                      <tr id="ctl00_ContentPlaceHolder2_PageContent_uxColumnDisplay_ctl00_uxControlColumn_ctl00_uxWidgetHost_uxWidgetHost_widget_trDocType">
                                        <td style="width: 25%" class="first-col">
                                          <strong>Document Type</strong>
                                        </td>
                                        <td>Standard</td>
                                      </tr>
                                      <tr id="trISBN" style="display: none">
                                        <td style="width: 25%" class="first-col">
                                          <strong>ISBN</strong>
                                        </td>
                                        <td id="Products_ISBN"></td>
                                      </tr>
                                      <tr id="trPages" style="display: none;">
                                        <td style="width: 25%" class="first-col">
                                          <strong>Pages</strong>
                                        </td>
                                        <td id="Products_Pages"></td>
                                      </tr>
                                      <tr id="ctl00_ContentPlaceHolder2_PageContent_uxColumnDisplay_ctl00_uxControlColumn_ctl00_uxWidgetHost_uxWidgetHost_widget_trProductNote">
                                        <td style="width: 25%" class="first-col">
                                          <strong>Product Note</strong>
                                        </td>
                                        <td>This product is unavailable in Cuba, Iran, North Korea, Syria THIS STANDARD ALSO REFERES TO : ASTM A515,ISA TR84.02,NFPA HAZ01</td>
                                      </tr>
                                      <tr id="trPublicationDate" style="display: none">
                                        <td style="width: 25%" class="first-col">
                                          <strong>Published</strong>
                                        </td>
                                        <td id="tdPublicationDate"></td>
                                      </tr>
                                      <tr id="ctl00_ContentPlaceHolder2_PageContent_uxColumnDisplay_ctl00_uxControlColumn_ctl00_uxWidgetHost_uxWidgetHost_widget_trPublisher">
                                        <td class="first-col">
                                          <strong>Publisher</strong>
                                        </td>
                                        <td>
                                          <span id="lnkPublisherGeneral">American Petroleum Institute </span>
                                        </td>
                                      </tr>
                                      <tr id="ctl00_ContentPlaceHolder2_PageContent_uxColumnDisplay_ctl00_uxControlColumn_ctl00_uxWidgetHost_uxWidgetHost_widget_trStatus">
                                        <td style="width: 25%" class="first-col">
                                          <strong>Status</strong>
                                        </td>
                                        <td>Current</td>
                                      </tr>
                                      <tr id="ctl00_ContentPlaceHolder2_PageContent_uxColumnDisplay_ctl00_uxControlColumn_ctl00_uxWidgetHost_uxWidgetHost_widget_trSupersedes">
                                        <td style="width: 25%" class="first-col">
                                          <strong>Supersedes</strong>
                                        </td>
                                        <td>
                                          <ul>
                                            <li>
                                              <a class="blackText" href="/en-us/standards/api-521-2014-96973_saig_api_api_203136/">API 521 : 2014 </a>
                                            </li>
                                          </ul>
                                        </td>
                                      </tr>
                                    </tbody>
                                  </table>
                                </div>
                              </div>
                            </div>
                            <!-- Also Consider -->
                            <!-- International Equivalents – Equivalent Standard(s) & Relationship -->
                            <!-- History -->
                            <!-- Standards Referenced By This Book -->
                            <!-- Standards Referencing This Book -->
                            <!-- Shoppers Buying This Also Bought -->
                            <!-- Similarly Indexed Publications by Subject -->
                            <!-- Cross Sell -->
                            <div id="ctl00_ContentPlaceHolder2_PageContent_uxColumnDisplay_ctl00_uxControlColumn_ctl00_uxWidgetHost_uxWidgetHost_widget_divCrossSell" class="accordion-group accordion-link" style="color: red">
                              <h2 class="accordion-heading">
                                <a class="accordion-toggle" data-toggle="collapse-next" href="#">
                            Cross Sell
                            <span class="access txtShow">- (Show below)</span>
                            <span class="access txtHide">- (Hide below)</span>
                            <em class="accordion-icon"></em>
                        </a>
                              </h2>
                              <div class="accordion-body collapse">
                                <div class="accordion-inner">
                                  <table class="table table-striped table-standard-reference">
                                  </table>
                                </div>
                              </div>
                            </div>
                            <!-- Category -->
                            <div id="ctl00_ContentPlaceHolder2_PageContent_uxColumnDisplay_ctl00_uxControlColumn_ctl00_uxWidgetHost_uxWidgetHost_widget_liCategory" class="accordion-group accordion-link li-accordion li-categories">
                              <h2 class="accordion-heading">
                                <a class="accordion-toggle" data-toggle="collapse-next" href="#">
                            Categories associated with this Standard
                            <span class="access txtShow">- (Show below)</span>
                            <span class="access txtHide">- (Hide below)</span>
                            <em class="accordion-icon"></em>
                        </a>
                              </h2>
                              <div class="accordion-body collapse ">
                                <div class="accordion-inner">
                                </div>
                              </div>
                            </div>
                            <!-- SubCategory -->
                            <div id="ctl00_ContentPlaceHolder2_PageContent_uxColumnDisplay_ctl00_uxControlColumn_ctl00_uxWidgetHost_uxWidgetHost_widget_liSubCategory" class="accordion-group accordion-link li-accordion li-subcategories">
                              <h2 class="accordion-heading">
                                <a class="accordion-toggle" data-toggle="collapse-next" href="#">
                            Sub-Categories associated with this Standard
                            <span class="access txtShow">- (Show below)</span>
                            <span class="access txtHide">- (Hide below)</span>
                            <em class="accordion-icon"></em>
                        </a>
                              </h2>
                              <div class="accordion-body collapse ">
                                <div class="accordion-inner">
                                </div>
                              </div>
                            </div>
                          </div>
                          <ul class="inline">
                            <li class="contact-email">
                              <a href="javascript:emailCurrentPage('Pressure-relieving and Depressuring Systems');">Email this page</a>
                            </li>
                            <li class="contact-print">
                              <a href="#" class="print-page">
                                    Print                                        
                                    </a>
                            </li>
                            <li class="copy-link">
                              <a href="#" onclick="GenerateProductQuickLink();return false;" title="Select the desired Product Format and Quantity and share Copy quicklink to purchase directly">Copy quick link to this Standard</a>
                            </li>
                          </ul>
                        </div>
                        <!-- Breadcrumbs-->
                        <div class="content-left col-md-3">
                          <div id="ctl00_ContentPlaceHolder2_PageContent_uxColumnDisplay_ctl00_uxControlColumn_ctl00_uxWidgetHost_uxWidgetHost_widget_divProductContainer" class="accordion-group accordion-form" data-value="">
                            <h2 class="access">Add To Cart</h2>
                            <div id="ctl00_ContentPlaceHolder2_PageContent_uxColumnDisplay_ctl00_uxControlColumn_ctl00_uxWidgetHost_uxWidgetHost_widget_divProduct" class="form-wrapper">
                              <div class="divPdtBuy" style="display: inline;">
                                <!-- Currency Dropdown -->
                                <div class="form-control  price-session">
                                  <p class="label-form">
                                    <!-- Price -->
                                    <select name="ctl00$ContentPlaceHolder2$PageContent$uxColumnDisplay$ctl00$uxControlColumn$ctl00$uxWidgetHost$uxWidgetHost_widget$ddlcurrency"
                                      id="ctl00_ContentPlaceHolder2_PageContent_uxColumnDisplay_ctl00_uxControlColumn_ctl00_uxWidgetHost_uxWidgetHost_widget_ddlcurrency" class="price-drop-dwn ddlcurrencyData chosen-done" tabindex="-1"
                                      style="display: none;">
                                      <option value="AUD">AUD</option>
                                      <option value="CAD">CAD</option>
                                      <option value="CHF">CHF</option>
                                      <option value="CNY">CNY</option>
                                      <option value="DKK">DKK</option>
                                      <option value="EUR">EUR</option>
                                      <option value="GBP">GBP</option>
                                      <option value="HKD">HKD</option>
                                      <option value="IDR">IDR</option>
                                      <option value="INR">INR</option>
                                      <option value="JPY">JPY</option>
                                      <option value="KRW">KRW</option>
                                      <option value="MXN">MXN</option>
                                      <option value="NOK">NOK</option>
                                      <option value="NZD">NZD</option>
                                      <option value="SEK">SEK</option>
                                      <option value="SGD">SGD</option>
                                      <option value="USD">USD</option>
                                      <option value="ZAR">ZAR</option>
                                    </select>
                                  </p>
                                  <div class="chosen-container chosen-container-single chosen-container-single-nosearch" title=""
                                    id="ctl00_ContentPlaceHolder2_PageContent_uxColumnDisplay_ctl00_uxControlColumn_ctl00_uxWidgetHost_uxWidgetHost_widget_ddlcurrency_chosen" style="width: 0px;"><a class="chosen-single">
  <span>USD</span>
  <div><b></b></div>
</a>
                                    <div class="chosen-drop">
                                      <div class="chosen-search">
                                        <input class="chosen-search-input" type="text" autocomplete="off" readonly="" tabindex="-1">
                                      </div>
                                      <ul class="chosen-results"></ul>
                                    </div>
                                  </div>
                                  <!--   SetCookieForCurrency(this)-->
                                  <p></p>
                                  <div class="field-wrapper">
                                    <p class="price-tag" id="pdtPrice" style="margin-bottom: 0px;">US$328.00</p>
                                    <span id="spanGstExempt" class="exempt-prdt-detail">Excluding Tax where applicable</span>
                                    <input type="hidden" value="46" name="Product.Price" id="Product.Price">
                                  </div>
                                </div>
                                <!-- Quantity Dropdown -->
                                <!-- Add to Cart Button -->
                              </div>
                              <div class="form-inline product-form-new clearfix">
                                <div class="form-control  product-session">
                                  <label for="Product.Type" class="label-form">Product Format <span>
                                      <a href="#" id="DRMoreInfo" data-toggle="modal" data-target="#DRM_MoreInfo" class="more-info drmMoreInfo">
                                        <img class="drm-more-info" src="/Images/drm-more-info.svg">
                                    </a>
                                    </span>
                                  </label>
                                  <!-- Product variation Dropdown -->
                                  <div class="field-wrapper">
                                    <div class="chosen-container chosen-container-single" title="" id="ctl00_ContentPlaceHolder2_PageContent_uxColumnDisplay_ctl00_uxControlColumn_ctl00_uxWidgetHost_uxWidgetHost_widget_ddlProductVariation_chosen"
                                      style="width: 300px;"><a class="chosen-single">
  <span><img src="/images/hardcopy.svg" alt="">Hardcopy - English</span>
  <div><b></b></div>
</a>
                                      <div class="chosen-drop">
                                        <div class="chosen-search">
                                          <input class="chosen-search-input" type="text" autocomplete="off">
                                        </div>
                                        <ul class="chosen-results"></ul>
                                      </div>
                                    </div><select name="ctl00$ContentPlaceHolder2$PageContent$uxColumnDisplay$ctl00$uxControlColumn$ctl00$uxWidgetHost$uxWidgetHost_widget$ddlProductVariation"
                                      id="ctl00_ContentPlaceHolder2_PageContent_uxColumnDisplay_ctl00_uxControlColumn_ctl00_uxWidgetHost_uxWidgetHost_widget_ddlProductVariation" class="product-variants drp-select ddlProductVariations chosen-done"
                                      data-placeholder="PRODUCT" onchange="onPubliVariationChange(this)" tabindex="-1">
                                      <option selected="selected" value="96973_SAIG_API_API_2892410_1986836_EN_HC" data-productname="API STD 521:2020" data-mediatypeid="HC" data-ismediatypehardcopy="true" data-isdigitalpdt="false"
                                        data-publicationdate="" data-mastersku="96973_SAIG_API_API_2892410" data-gstexempt="Excluding Tax where applicable" data-hasdrmsecureicon="false" data-isbn="" data-publisherid="API" data-pages="0"
                                        data-moreinfo="<p>Not permitted to make copies of the 
 product or portions thereof</p>" data-currency="USD" data-description="Not permitted to make copies of the product or portions thereof" data-mediatype="Hardcopy" data-displayprice="328.00">Hardcopy - English</option>
                                      <option value="96973_SAIG_API_API_2892410_1986836_EN_PDF" data-productname="API STD 521:2020" data-mediatypeid="PDF" data-ismediatypehardcopy="false" data-isdigitalpdt="true" data-publicationdate=""
                                        data-mastersku="96973_SAIG_API_API_2892410" data-gstexempt="Excluding Tax where applicable" data-hasdrmsecureicon="true" data-isbn="" data-publisherid="API" data-pages="0"
                                        data-moreinfo="<div class=&quot;drm-info-pdf-user&quot;><ul class=&quot;drm-points&quot;><li>Internal use only.</li><li>Can be locally installed.</li><li>Permitted to print once per licence for Internal use.</li><li>Permitted to store one electronic version of the publication for backup purposes.</li></ul><br /><div style=&quot;display: flex;&quot;><div class=&quot;drm-enabled&quot;>This Standard has DRM enabled&nbsp;</div><a href=&quot;/en-us/drm&quot; title=&quot;Click for PDF DRM secured, more information&quot; target=&quot;_blank&quot; class=&quot;link&quot;>Learn more</a></div></div>"
                                        data-currency="USD" data-description="No Sharing. No Copy/Paste. Print once." data-mediatype="PDF" data-displayprice="328.00">PDF - English - DRM</option>
                                    </select>
                                  </div>
                                </div>
                                <div id="pdtNotAvailable" style="display: none;">
                                  <a id="addCartNA" class="btn btn-uppercase btn-request-quote" href="/en-us/request-information/?media=Hardcopy">Request Quote</a>
                                </div>
                                <div id="Productqty" class="form-control quantity-area divPdtBuy" style="display: inline;">
                                  <label for="Product.Qty" class="label-form">Quantity</label>
                                  <div class="field-wrapper">
                                    <div class="chosen-container chosen-container-single" title="" id="Product_Qty_chosen" style="width: 0px;"><a class="chosen-single">
  <span> 01</span>
  <div><b></b></div>
</a>
                                      <div class="chosen-drop">
                                        <div class="chosen-search">
                                          <input class="chosen-search-input" type="text" autocomplete="off">
                                        </div>
                                        <ul class="chosen-results"></ul>
                                      </div>
                                    </div><select name="Product.Qty" id="Product.Qty" class="drp-select ddlQuantity chosen-done" tabindex="-1">
                                      <option value="01"> 01</option>
                                      <option value="02"> 02</option>
                                      <option value="03"> 03</option>
                                      <option value="04"> 04</option>
                                      <option value="05"> 05</option>
                                      <option value="06"> 06</option>
                                      <option value="07"> 07</option>
                                      <option value="08"> 08</option>
                                      <option value="09"> 09</option>
                                      <option value="10"> 10</option>
                                      <option value="11"> 11</option>
                                      <option value="12"> 12</option>
                                      <option value="13"> 13</option>
                                      <option value="14"> 14</option>
                                      <option value="15"> 15</option>
                                      <option value="16"> 16</option>
                                      <option value="17"> 17</option>
                                      <option value="18"> 18</option>
                                      <option value="19"> 19</option>
                                      <option value="20"> 20</option>
                                    </select>
                                  </div>
                                </div>
                                <div class="controls hyperlinkCheckBox" id="divForStandardRule" style="display: none;">
                                  <span>I agree to the <a data-toggle="modal" id="docLicenceTerms" class="anchor-ponter agreeruletxt">document license rules.</a></span>
                                  <div class="clearfix prettycheckbox labelright  blue"><input type="checkbox" id="agreeRules"><a href="#" class=""></a>
                                    <label for="agreeRules"></label>
                                  </div>
                                </div>
                                <!--div class="custom-checkbox" id="divForStandardRule" style="display: none;">
							<input type="checkbox" id="agreeRules">
							<label for="agreeRules">I agree to the DRM document license rules apply against the PDF selection made
							</label>
						</div-->
                                <div class="controls">
                                  <label id="lblForStandardCheckout" style="color: red; display: none;">Please confirm that you agree to the document license rules for this documents before adding to cart.</label>
                                </div>
                                <div id="BuynowConfirm" class="form-control controls newfeature" style="">
                                  <div class="field-wrapper">
                                    <a class="btn buynow info-btn-green">Buy now</a>
                                  </div>
                                </div>
                                <div id="addtoCartConfirm" class="form-control controls newfeature" style="">
                                  <div class="field-wrapper">
                                    <a class="addCartConfirm info-btn-lightGreen">Add to cart</a>
                                  </div>
                                </div>
                                <div class="form-control controls login-info" id="LoginInfo_section" style="display: none;">
                                  <span>Please Login or Create an Account so you can add users to your Multi user PDF Later.</span>
                                </div>
                                <div class="form-control controls newfeature" id="Login_section" style="display: none;">
                                  <div class="field-wrapper">
                                    <a class="btn login info-btn-green" id="loginlink">Login</a>
                                  </div>
                                </div>
                                <div class="form-control controls newfeature" id="CA_section" style="display: none;">
                                  <div class="field-wrapper">
                                    <a class="info-btn-lightGreen" href="/en-us/create-account/" id="Createaccountlink">Create account</a>
                                  </div>
                                </div>
                                <!--div class="form-control quantity-area controls newfeature pQuicklink copy-quick-link">
                            <img class="copylink" /><a class="btn sharelink copy-quick-link" onclick="GenerateProductQuickLink();return false;" title="Select the desired Product Format and Quantity and share Copy quicklink to purchase directly" >Copy quick link to this Standard</a>
                        </div-->
                              </div>
                              <!-- DRMInformation -->
                            </div>
                          </div>
                          <div class="right-accordion right-product-accordion">
                            <!-- Html -->
                            <!-- Table Of Content -->
                            <!-- Abstract -->
                            <div id="ctl00_ContentPlaceHolder2_PageContent_uxColumnDisplay_ctl00_uxControlColumn_ctl00_uxWidgetHost_uxWidgetHost_widget_divAbstract_m" class="li-accordion">
                              <h2 class="accordion-heading">
                                <a class="accordion-toggle" data-toggle="collapse-next" href="#">
                                Abstract
                                <span class="access txtShow">- (Show below)</span>
                                <span class="access txtHide">- (Hide below)</span>
                                <em class="accordion-icon"></em>
                            </a>
                              </h2>
                              <div class="accordion-body collapse ">
                                <div class="accordion-inner">
                                  <div class="wysiwyg-content">
                                    <p>This standard is applicable to pressure-relieving and vapor depressuring systems. </p>
                                  </div>
                                </div>
                              </div>
                            </div>
                            <!-- Scope -->
                            <!-- General Product Info -->
                            <div id="ctl00_ContentPlaceHolder2_PageContent_uxColumnDisplay_ctl00_uxControlColumn_ctl00_uxWidgetHost_uxWidgetHost_widget_divProductInfo_m" class="li-accordion">
                              <h2 class="accordion-heading">
                                <a class="accordion-toggle" data-toggle="collapse-next" href="#">
                                General Product Information
                                <span class="access txtShow">- (Show below)</span>
                                <span class="access txtHide">- (Hide below)</span>
                                <em class="accordion-icon"></em>
                            </a>
                              </h2>
                              <div class="accordion-body collapse ">
                                <div class="accordion-inner">
                                  <table class="table table-striped table-standard-reference" id="tblPdtGenInfo_m">
                                    <tbody>
                                      <tr id="ctl00_ContentPlaceHolder2_PageContent_uxColumnDisplay_ctl00_uxControlColumn_ctl00_uxWidgetHost_uxWidgetHost_widget_trDocType_m">
                                        <td style="width: 25%" class="first-col">
                                          <strong>Document Type</strong>
                                        </td>
                                        <td>Standard</td>
                                      </tr>
                                      <tr id="trISBN" style="display: none">
                                        <td style="width: 25%" class="first-col">
                                          <strong>ISBN</strong>
                                        </td>
                                        <td id="Products_ISBN"></td>
                                      </tr>
                                      <tr id="trPages" style="display: none;">
                                        <td style="width: 25%" class="first-col">
                                          <strong>Pages</strong>
                                        </td>
                                        <td id="Products_Pages"></td>
                                      </tr>
                                      <tr id="ctl00_ContentPlaceHolder2_PageContent_uxColumnDisplay_ctl00_uxControlColumn_ctl00_uxWidgetHost_uxWidgetHost_widget_trProductNote_m">
                                        <td style="width: 25%" class="first-col">
                                          <strong>Product Note</strong>
                                        </td>
                                        <td>This product is unavailable in Cuba, Iran, North Korea, Syria THIS STANDARD ALSO REFERES TO : ASTM A515,ISA TR84.02,NFPA HAZ01</td>
                                      </tr>
                                      <tr id="trPublicationDate" style="display: none">
                                        <td style="width: 25%" class="first-col">
                                          <strong>Published</strong>
                                        </td>
                                        <td id="tdPublicationDate"></td>
                                      </tr>
                                      <tr id="ctl00_ContentPlaceHolder2_PageContent_uxColumnDisplay_ctl00_uxControlColumn_ctl00_uxWidgetHost_uxWidgetHost_widget_trPublisher_m">
                                        <td class="first-col">
                                          <strong>Publisher</strong>
                                        </td>
                                        <td>
                                          <span id="lnkPublisherGeneral">American Petroleum Institute </span>
                                        </td>
                                      </tr>
                                      <tr id="ctl00_ContentPlaceHolder2_PageContent_uxColumnDisplay_ctl00_uxControlColumn_ctl00_uxWidgetHost_uxWidgetHost_widget_trStatus_m">
                                        <td style="width: 25%" class="first-col">
                                          <strong>Status</strong>
                                        </td>
                                        <td>Current</td>
                                      </tr>
                                      <tr id="ctl00_ContentPlaceHolder2_PageContent_uxColumnDisplay_ctl00_uxControlColumn_ctl00_uxWidgetHost_uxWidgetHost_widget_trSupersedes_m">
                                        <td style="width: 25%" class="first-col">
                                          <strong>Supersedes</strong>
                                        </td>
                                        <td>
                                          <ul>
                                            <li>
                                              <a class="blackText" href="/en-us/standards/api-521-2014-96973_saig_api_api_203136/">API 521 : 2014 </a>
                                            </li>
                                          </ul>
                                        </td>
                                      </tr>
                                    </tbody>
                                  </table>
                                </div>
                              </div>
                            </div>
                            <!-- Also Consider -->
                            <!-- International Equivalents – Equivalent Standard(s) & Relationship -->
                            <!-- History -->
                            <!-- Standards Referenced By This Book -->
                            <!-- Standards Referencing This Book -->
                            <!-- Shoppers Buying This Also Bought -->
                            <!-- Similarly Indexed Publications by Subject -->
                            <!-- Cross Sell -->
                            <!-- Category -->
                            <div id="ctl00_ContentPlaceHolder2_PageContent_uxColumnDisplay_ctl00_uxControlColumn_ctl00_uxWidgetHost_uxWidgetHost_widget_liCategory_m" class="li-accordion li-categories">
                              <h2 class="accordion-heading">
                                <a class="accordion-toggle" data-toggle="collapse-next" href="#">
                                Categories associated with this Standard
                                <span class="access txtShow">- (Show below)</span>
                                <span class="access txtHide">- (Hide below)</span>
                                <em class="accordion-icon"></em>
                            </a>
                              </h2>
                              <div class="accordion-body collapse ">
                                <div class="accordion-inner">
                                </div>
                              </div>
                            </div>
                            <!-- SubCategory -->
                            <div id="ctl00_ContentPlaceHolder2_PageContent_uxColumnDisplay_ctl00_uxControlColumn_ctl00_uxWidgetHost_uxWidgetHost_widget_liSubCategory_m" class="li-accordion li-subcategories">
                              <h2 class="accordion-heading">
                                <a class="accordion-toggle" data-toggle="collapse-next" href="#">
                                Sub-Categories associated with this Standard
                                <span class="access txtShow">- (Show below)</span>
                                <span class="access txtHide">- (Hide below)</span>
                                <em class="accordion-icon"></em>
                            </a>
                              </h2>
                              <div class="accordion-body collapse ">
                                <div class="accordion-inner">
                                </div>
                              </div>
                            </div>
                          </div>
                          <div class="viewmore-info"><a href="#" class="viewmore-link">View more information</a></div>
                          <p class="form-info" style="display: none;" id="currencySymbolNotification">Unfortunately, this product is not available for purchase in your region.</p>
                          <div id="divProductContegoriesContainer" class="hiddenCategory" style="display:none;"></div>
                          <ul class="unstyled category-list">
                            <li class="product-new-subscription">
                              <style type="text/css">
                                h2.sub-h2 {
                                  color: #2B313A;
                                }

                                p.sub-link {
                                  margin-top: 0 !important;
                                  margin-bottom: 0 !important;
                                  padding-top: 0 !important;
                                }

                                ul.sub-ul {
                                  padding-bottom: 5px !important;
                                }
                              </style>
                              <h2 class="sub-h2">Access your standards online with a subscription</h2>
                              <p class="features">Features</p>
                              <ul class="sub-ul">
                                <li>Simple online access to standards, technical information and regulations</li>
                                <li>Critical updates of standards and customisable alerts and notifications</li>
                                <li>Multi - user online standards collection: secure, flexibile and cost effective</li>
                              </ul>
                              <div>
                                <p class="sub-link"><a href="/en-us/standards_management/">Learn more on subscription solutions</a></p> Or <p class="sub-link"><a href="/en-us/standards_management/contact_us">Get in touch with us</a></p>
                              </div>
                            </li>
                          </ul>
                        </div>
                      </div>
                    </div>
                    <!-- DRMInformation Popup-->
                    <div id="DRM_MoreInfo" class="modal fade modal-product" role="dialog" style="display: none;">
                      <div class="modal-dialog product-modal-popup">
                        <!-- Modal content-->
                        <div class="modal-content">
                          <div class="modal-header modal-light-header">
                            <button type="button" class="light-close" data-dismiss="modal">×</button>
                            <h4 class="modal-title modal-light-title" id="pdtDrmMoreInfoTitle">Hardcopy - English Format</h4>
                          </div>
                          <div class="modal-body modal-light-body" id="pdtDrmMoreInfoBody">
                            <p>
                              <span>Loading..</span>
                            </p>
                          </div>
                        </div>
                      </div>
                    </div>
                    <div id="AvailableFormat_MoreInfo" class="modal fade modal-product" role="dialog" style="display: none;">
                      <div class="modal-dialog product-modal-popup">
                        <!-- Modal content-->
                        <div class="modal-content">
                          <div class="modal-header modal-light-header">
                            <button type="button" class="light-close" data-dismiss="modal">×</button>
                            <h4 class="modal-title modal-light-title" id="AvailableFormat_MoreInfoTitle">Product formats</h4>
                          </div>
                          <div class="modal-body modal-light-body" id="AvailableFormat_MoreInfoBody">
                            <style type="text/css">
                              #productformatmessage .format {
                                font-size: 14px !important;
                              }

                              .format-row .formatTxt {
                                font-weight: 500;
                                font-size: 16px;
                                line-height: 24px;
                              }

                              .format-row .col-sm-12 {
                                font-size: 14px;
                                line-height: 21px;
                              }

                              .format-row {
                                margin: 10px 0px;
                                padding-bottom: 15px;
                              }

                              .format-row div a {
                                color: #0B596D;
                                font-weight: 600;
                              }

                              #productformatmessage div.col-12 {
                                margin-left: 15px;
                              }
                            </style>
                            <div id="productformatmessage" class="format">
                              <div class="row format-row">
                                <div class="col-md-2 col-sm-6"><img src="/uploadedImages/single-user.svg" alt="Business Contracts icon" height="30" width="30" style="height: 30px; width: 30px;"></div>
                                <div class="col-md-3 col-sm-6 formatTxt">PDF 1 User </div>
                                <div class="col-md-7 col-sm-12">Print 2 copies, save a backup to USB or network,<br> locked to one
                                  computer.<br><a target="_blank" href="/en-us/drm/" title="Software Installation required">Software installation required may be required</a></div>
                              </div>
                              <div class="row format-row">
                                <div class="col-md-2 col-sm-6"><img src="/uploadedImages/printed-format.svg" alt="Business Contracts icon" height="30" width="30"></div>
                                <div class="col-md-3 col-sm-6 formatTxt">Printed</div>
                                <div class="col-md-7 col-sm-12">Spiral or Perfect (glued along the spine) Bound<br> - depending on the standard </div>
                              </div>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                    <!-- Add to Watchlist Info Popup-->
                    <div id="AddToWatchlistInfo" class="modal fade modal-product" role="dialog" style="display: none;">
                      <div class="modal-dialog product-modal-popup">
                        <!-- Modal content-->
                        <div class="modal-content">
                          <div class="modal-header modal-light-header">
                            <button type="button" class="light-close" data-dismiss="modal">×</button>
                            <h4 class="modal-title modal-light-title" id="pdtDrmMoreInfoTitle">StandardsWatch</h4>
                          </div>
                          <div class="modal-body modal-light-body" id="AddToWatchlistInfoBody">
                            <p>
                              <span>A free alerting service to track changes to standards.</span>
                            </p>
                            <a href="/en-us/standardswatch/" class="openStandardWatch" target="_blank">Learn more</a>
                            <br><br>
                          </div>
                        </div>
                      </div>
                    </div>
                    <!-- Add to Watchlist Popup-->
                    <div id="AddToWatchlistwMsg" class="modal fade modal-product" role="dialog" style="display: none;">
                      <div class="modal-dialog product-modal-popup">
                        <!-- Modal content-->
                        <div class="modal-content">
                          <div class="modal-header modal-light-header">
                            <button type="button" class="light-close" data-dismiss="modal">×</button>
                            <h4 class="modal-title modal-light-title" id="AddToWatchlistwMsgTitle">StandardsWatch</h4>
                          </div>
                          <div class="modal-body modal-light-body pop-up_body" id="AddToWatchlistwMsgBody">
                          </div>
                        </div>
                      </div>
                    </div>
                    <div id="checkout-warning" class="modal fade in modal-logout1 modal-product" role="dialog" style="display: none;" aria-hidden="false">
                      <div class="modal-dialog product-modal-popup">
                        <!-- Modal content-->
                        <div class="modal-content">
                          <div class="modal-header modal-light-header">
                            <button type="button" class="light-close" data-dismiss="modal">×</button>
                            <h4 class="modal-title modal-light-title checkout-warning-header"></h4>
                          </div>
                          <div class="modal-body modal-light-body">
                            <span class="checkout-warning-message"></span>
                          </div>
                          <div class="modal-light-footer">
                            <input type="button" id="btnConfirmOk" class="btn-log-pop btn--logout yes cancel" value="OK">
                            <input type="button" id="btnConfirmCancel" class="btn-log-pop btn--cancel no info-btn-green confirm" value="CANCEL">
                          </div>
                        </div>
                      </div>
                    </div>
                    <div id="lang-warning" class="modal fade in modal-lang-warning modal-logout1 modal-product show" role="dialog" style="display: block;">
                      <div class="modal-dialog product-modal-popup">
                        <!-- Modal content-->
                        <div class="modal-content">
                          <div class="modal-header modal-light-header">
                            <button type="button" class="light-close" data-dismiss="modal">×</button>
                            <h4 class="modal-title modal-light-title lang-warning-header">Please Select Your Option.</h4>
                          </div>
                          <div class="modal-body modal-light-body">
                            <span class="lang-warning-message">
                              <p>It seems you are away from your “home” country. Do you wish to be re-directed to your “home” store? If you choose “YES”, you will see product, taxation, and shipping information relevant to your country. If you select
                                “NO”, the current store's conditions will apply.&nbsp;</p>
                            </span>
                          </div>
                          <div class="modal-light-footer">
                            <input type="button" id="btnConfirmOk" class="btn-log-pop btn--logout yes cancel" value="Yes">
                            <input type="button" id="btnConfirmCancel" class="btn-log-pop btn--cancel no info-btn-green confirm" value="No">
                          </div>
                        </div>
                      </div>
                    </div>
                    <!-- DRMInformation Popup End-->
                    <input type="hidden" name="ctl00$ContentPlaceHolder2$PageContent$uxColumnDisplay$ctl00$uxControlColumn$ctl00$uxWidgetHost$uxWidgetHost_widget$countryCodeCDN" id="countryCodeCDN">
                    <input type="hidden" id="currencyChange" value="0">
                    <input type="hidden" id="hdnMoreInfo" value="<p>Not permitted to make copies of the 
 product or portions thereof</p>">
                    <input type="hidden" id="hdnPrice" value="328.00">
                    <input type="hidden" id="hdnGoogleAnalyticsJson" value="">
                    <input type="hidden" id="hdnMediaType" value="Hardcopy">
                    <input type="hidden" id="IsHardCopyType" value="true">
                    <input type="hidden" id="IsDRMPdfType" value="false">
                    <script type="text/javascript" src="/scripts/chosen.jquery.js"></script>
                    <script src="/Scripts/CountryCodes.js"></script>
                    <script src="/Scripts/productScript.js"></script>
                    <script type="text/javascript">
                      jQuery(".pQuicklink").show();
                      jQuery("#BuynowConfirm").hide();
                      jQuery("#addtoCartConfirm").hide();
                      jQuery("#Productqty").hide();
                      jQuery("#divForStandardRule").css('display', 'none');
                      var ProductSku = '96973_SAIG_API_API_2892410';
                      var publisherID = "API";
                      var availableFormatExit = "Hardcopy, PDF";
                      var productLanguageSection = "English";
                      var amendmentKind = "";
                      var loggedInUser = 'FALSE';

                      function viewSupersededBy_m() {
                        var isSupersededBy = "Current";
                        if (isSupersededBy == "Superseded" || isSupersededBy == "Withdrawn") {
                          jQuery('.right-product-accordion div.li-accordion').show();
                          jQuery(".viewmore-link").text("View less information");
                          var elem = $("div[id *='divProductInfo_m']");
                          var elmhHeading = elem.find('.accordion-heading'),
                            elmBody = elem.find('.accordion-body');
                          elmhHeading.addClass('in');
                          elmBody.addClass('in show');
                          elmBody.height('auto');
                          $('html, body').animate({
                            scrollTop: elmBody.offset().top
                          }, 800);
                          $('.viewmore-link').focus();
                        }
                      }

                      function viewSupersededBy() {
                        var isSupersededBy = "Current";
                        if (isSupersededBy == "Superseded" || isSupersededBy == "Withdrawn") {
                          var elem = $("div[id *='divProductInfo']");
                          var elmhHeading = elem.find('.accordion-heading'),
                            elmBody = elem.find('.accordion-body');
                          elmhHeading.addClass('in');
                          elmBody.addClass('in show');
                          elmBody.height('auto');
                          $('html, body').animate({
                            scrollTop: elmBody.offset().top
                          }, 800);
                        }
                      }

                      function emailCurrentPage(title) {
                        window.location.href = "mailto:?subject=" + title + "&body=" + escape(window.location.href);
                      }

                      function BindAddToCartDetails() {
                        jQuery('#productName').html("API STD 521:2020");
                        jQuery('#productDesc').html("American Petroleum Institute");
                        var cartObj = {};
                        cartObj.sku = jQuery('.ddlProductVariations').val();
                        cartObj.quantity = jQuery('.ddlQuantity').val();
                        cartObj.productType = "STANDARD";
                        cartObj.currencyMnemonic = jQuery('.ddlcurrencyData').val();
                        cartObj.licenceTerms = "";
                        cartObj.productFamily = "STANDARD";
                        var urlText;
                        if (jQuery('.ddlProductVariations').val() == '') {
                          cartObj.freeProductSku = "";
                          urlText = '/Components/Service/CartServices.asmx/AddFreeItemsTocart';
                        } else {
                          urlText = '/Components/Service/CartServices.asmx/AddItemsTocart';
                        }
                        // console.clear();
                        jQuery(".divloaderr").show();
                        jQuery(".divOrderReviewLoader .divloaderr").css('visibility', 'visible');
                        jQuery.ajax({
                          type: 'POST',
                          url: urlText,
                          data: JSON.stringify(cartObj),
                          //async: false,
                          contentType: 'application/json; charset=utf-8',
                          dataType: 'json',
                          success: function(response) {
                            //jQuery("#divloaderr").hide();
                            jQuery(".divOrderReviewLoader .divloaderr").css('visibility', 'hidden');
                            var cartData = response.d;
                            if (cartData.iFlagSuccess === 1) {
                              BindCartSummaryDetails();
                              //   console.log("Add Training Cart response=" + cartData.CartDescription);
                              jQuery('#CartSummaryText').html(cartData.CartDescription);
                              jQuery('#cartSummaryPrice').html(cartData.CartSummaryPrice);
                              jQuery('#AddCartText').html(cartData.CartDescription);
                              if (cartData.TotalItems > 1) {
                                jQuery('#MyCartText').html(" " + cartData.TotalItems + " items");
                              } else {
                                jQuery('#MyCartText').html(" " + cartData.TotalItems + " item");
                              }
                              jQuery('#AddCartPrice').html(cartData.CartSummaryPrice);
                              if (cartData.TotalItems != "0") {
                                jQuery('.mycart-section').css('display', 'block');
                                jQuery('#CartCountSpan').addClass('notif-number');
                                jQuery('#CartCountSpan').html(cartData.TotalItems);
                              } else {
                                jQuery('.mycart-section').css('display', 'none');
                                jQuery('#CartCountSpan').removeClass('notif-number');
                              }
                              jQuery('#productvariationCartDesc').show();
                              jQuery('#productvariationCartDesc').html(jQuery(".ddlProductVariations option:selected").text());
                              jQuery('#productName').removeClass('training-prod');
                              //jQuery('.mycart-section').css('display', 'block');
                              if (jQuery(".ddlProductVariations option:selected").text().toLowerCase().indexOf("pdf") >= 0) {
                                jQuery('#productIcon').removeClass('hc-icon');
                                jQuery('#productIcon').addClass('pdf-icon');
                                //jQuery('#cartSummary_productIcon').removeClass('hc-icon');
                                //jQuery('#cartSummary_productIcon').addClass('pdf-icon');
                              } else {
                                jQuery('#productIcon').removeClass('pdf-icon');
                                jQuery('#productIcon').addClass('hc-icon');
                                //jQuery('#cartSummary_productIcon').removeClass('pdf-icon');
                                //jQuery('#cartSummary_productIcon').addClass('hc-icon');
                              }
                              AddIconToProductFormat();
                              DataForAnalyticsOnAddToCart(cartObj.sku);
                            } else {
                              jQuery("#divCartmenu").removeClass("open open-confirm");
                              jQuery("#spanErroWhileAdding").trigger("click");
                              return false;
                            }
                            // console.log("Add Cart Complete");
                          },
                          error: function(xmlHttpRequest, textStatus, errorThrown) {
                            //jQuery("#divloaderr").hide();
                            jQuery(".divOrderReviewLoader .divloaderr").css('visibility', 'hidden');
                            //console.log("responseText: " + xmlHttpRequest.responseText);
                            //console.log("textStatus: " + textStatus);
                            //console.log("errorThrown: " + errorThrown);
                          }
                        });
                      }

                      function GetProductLicense(element) {
                        var cartObj = {};
                        cartObj.sku = jQuery('.ddlProductVariations').val();
                        cartObj.quantity = jQuery('.ddlQuantity').val();
                        cartObj.productType = "STANDARD";
                        cartObj.currencyMnemonic = jQuery('.ddlcurrencyData').val();
                        cartObj.licenceTerms = "";
                        cartObj.productFamily = "STANDARD";
                        cartObj.publisherID = jQuery('option:selected', element).attr('data-PublisherId');
                        cartObj.mediaTypeID = jQuery('option:selected', element).attr('data-MediaTypeId');
                        cartObj.productName = jQuery('option:selected', element).attr('data-ProductName');
                        var urlText;
                        urlText = '/Components/Service/HomePageService.asmx/GetProductLicense';
                        // console.clear();
                        jQuery(".divloaderr").show();
                        jQuery(".divOrderReviewLoader .divloaderr").css('visibility', 'visible');
                        jQuery.ajax({
                          type: 'POST',
                          url: urlText,
                          data: JSON.stringify(cartObj),
                          //async: false,
                          contentType: 'application/json; charset=utf-8',
                          dataType: 'json',
                          success: function(response) {
                            //jQuery("#divloaderr").hide();
                            jQuery(".divOrderReviewLoader .divloaderr").css('visibility', 'hidden');
                            var cartData = JSON.parse(response.d);
                            if (cartData.isLicenseExists == true) {
                              jQuery('#divPrePublisherLicence').empty();
                              jQuery("#divPrePublisherLicence").html(cartData.PublisherLicenseText);
                              jQuery('#divPreLicenseText').modal('show');
                            } else {
                              jQuery('#divPreLicenseText').modal('hide');
                              return false;
                            }
                          },
                          error: function(xmlHttpRequest, textStatus, errorThrown) {
                            jQuery(".divOrderReviewLoader .divloaderr").css('visibility', 'hidden');
                          }
                        });
                      }
                      jQuery(document).ready(function($) {
                        jQuery('#productLanguageSection').hide();
                        jQuery('#productAmendedSection').hide();
                        //$(document).ready(function () {
                        function populateCategories() {
                          var data = jQuery('#divProductContegoriesContainer').attr('data-value');
                          var dataArray = JSON.parse(data);
                          for (i = 0; i < dataArray.length; i++) {
                            jQuery(".li-categories").append('<small style="display: block;"><a style="display: block;" href ="' + dataArray[i].CategoryLink + '" target="_blank">' + dataArray[i].Name +
                              '<img src="/images/arrow-left.svg"/></a></small>');
                          }
                          //jQuery("#divloaderr").hide();
                          jQuery(".divOrderReviewLoader .divloaderr").css('visibility', 'hidden');
                        }

                        function populateSubCategories() {
                          var data = jQuery('#divProductContegoriesContainer').attr('data-subcategories');
                          var dataArray = JSON.parse(data);
                          for (i = 0; i < dataArray.length; i++) {
                            jQuery(".li-subcategories").append('<small style="display: block;"><a style="display: block;" href ="' + dataArray[i].CategoryLink + '" target="_blank">' + dataArray[i].Name +
                              '<img src="/images/arrow-left.svg"/></a></small>');
                          }
                          //jQuery("#divloaderr").hide();
                          jQuery(".divOrderReviewLoader .divloaderr").css('visibility', 'hidden');
                        }
                        jQuery('.li-accordion.li-categories > h2').one('click', function(e) {
                          //debugger;
                          jQuery(".divloaderr").show();
                          jQuery(".divOrderReviewLoader .divloaderr").css('visibility', 'visible');
                          var obj = {};
                          obj.sku = ProductSku.toString();
                          obj.publisherId = publisherID.toString();
                          jQuery.ajax({
                            type: 'POST',
                            url: '/Components/Service/CartServices.asmx/GetCategories',
                            data: JSON.stringify(obj),
                            contentType: 'application/json; charset=utf-8',
                            dataType: 'json',
                            success: function(response) {
                              //debugger;
                              jQuery('#divProductContegoriesContainer').attr('data-value', JSON.stringify(response.d.Category));
                              jQuery('#divProductContegoriesContainer').attr('data-subcategories', JSON.stringify(response.d.SubCategory));
                              populateCategories();
                              //populateSubCategories();
                            },
                            error: function(xmlHttpRequest, textStatus, errorThrown) {
                              //debugger;
                              //jQuery("#divloaderr").hide();
                              jQuery(".divOrderReviewLoader .divloaderr").css('visibility', 'hidden');
                            }
                          });
                        });
                        jQuery('.li-accordion.li-subcategories > h2').one('click', function(e) {
                          //debugger;
                          jQuery(".divloaderr").show();
                          jQuery(".divOrderReviewLoader .divloaderr").css('visibility', 'visible');
                          var obj = {};
                          obj.sku = ProductSku.toString();
                          obj.publisherId = publisherID.toString();
                          jQuery.ajax({
                            type: 'POST',
                            url: '/Components/Service/CartServices.asmx/GetCategories',
                            data: JSON.stringify(obj),
                            contentType: 'application/json; charset=utf-8',
                            dataType: 'json',
                            success: function(response) {
                              //debugger;
                              jQuery('#divProductContegoriesContainer').attr('data-value', JSON.stringify(response.d.Category));
                              jQuery('#divProductContegoriesContainer').attr('data-subcategories', JSON.stringify(response.d.SubCategory));
                              //populateCategories();
                              populateSubCategories();
                            },
                            error: function(xmlHttpRequest, textStatus, errorThrown) {
                              //debugger;
                              //jQuery("#divloaderr").hide();
                              jQuery(".divOrderReviewLoader .divloaderr").css('visibility', 'hidden');
                            }
                          });
                        });
                        if (jQuery('.exempt-prdt-detail').css('display') == 'block') {
                          jQuery(".price-tag").css("margin-bottom", "0px");
                        }
                        jQuery('.ddlcurrencyData').chosen({
                          disable_search: true
                        }).change(function(event) {
                          jQuery('.divPdtBuy').css('display', 'inline');
                          jQuery("#currencyChange").val("1");
                          var obj = {};
                          obj.sku = ProductSku;
                          obj.variationSKU = jQuery('.product-variants').val();
                          obj.currencyMnemonic = jQuery(".ddlcurrencyData").val();
                          obj.languageID = GetParameterValues("LangType");
                          // Region specific items will be retrieved only when country code is not passed as per new changes.
                          //obj.countryCode = jQuery("#countryCodeCDN").val();
                          //if (jQuery("#countryCodeCDN").val() == "" || jQuery("#countryCodeCDN").val() == undefined) {
                          //    obj.countryCode = "";
                          //}
                          jQuery(".divloaderr").show();
                          jQuery(".divOrderReviewLoader .divloaderr").css('visibility', 'visible');
                          jQuery.ajax({
                            type: 'POST',
                            url: '/Components/Service/HomePageService.asmx/GetPublicationWithAllVariationDetail?publisherID=' + publisherID,
                            data: JSON.stringify(obj),
                            contentType: 'application/json; charset=utf-8',
                            dataType: 'json',
                            success: function(response) {
                              _variationDetail = response.d;
                              var variation = jQuery('.product-variants')[0];
                              var $sel = jQuery(".ddlProductVariations").empty();
                              $sel.html(_variationDetail);
                              //_variationDetail.forEach(function (item, index) {
                              //    $sel.append("<option value='" + item.DisplayPrice + "'>" + item.sku + "</option>");
                              //});
                              //jQuery("#divloaderr").hide();
                              jQuery(".divOrderReviewLoader .divloaderr").css('visibility', 'hidden');
                              var currency_mnemonic = jQuery(".ddlcurrencyData").val();
                              jQuery('option:selected', variation).data('isbn')
                              if (jQuery('option:selected', variation).data('currency') == "N/A" || jQuery('option:selected', variation).data('currency') == "") {
                                //if (_variationDetail.Currency == "N/A" || _variationDetail.Currency == "") {
                                //  jQuery("#currencySymbolNotification").show();
                                jQuery('.divPdtBuy').css('display', 'none');
                                jQuery('#pdtNotAvailable').css('display', 'inline');
                                jQuery(".pQuicklink").hide();
                              } else {
                                //  jQuery("#currencySymbolNotification").hide();
                                jQuery('.divPdtBuy').css('display', 'inline');
                                jQuery('#pdtNotAvailable').css('display', 'none');
                                currency_mnemonic = jQuery('option:selected', variation).data('currency');
                                jQuery(".ddlcurrencyData").val(currency_mnemonic).trigger("chosen:updated");
                                jQuery("#hdnPrice").val(jQuery('option:selected', variation).data('displayprice'));
                                jQuery("#pdtPrice").html(currencyCodeMneumonicSymbol[currency_mnemonic] + jQuery('option:selected', variation).data('displayprice'));
                                if (jQuery('option:selected', variation).data('displayprice') == 0) {
                                  jQuery("#pdtPrice").html("Free");
                                  jQuery("#hdnPrice").val('0.00');
                                }
                                //else {
                                //    jQuery("#priceNotificationMessage").hide();
                                //}
                              }
                            },
                            error: function(xmlHttpRequest, textStatus, errorThrown) {
                              //jQuery("#divloaderr").hide();
                              jQuery(".divOrderReviewLoader .divloaderr").css('visibility', 'hidden');
                            }
                          });
                          //if (readCookie("Infostore_AcceptedCookieUse") == "true") {
                          createCookie("CurrencyCookie", obj.currencyMnemonic, 1);
                          //}
                        });
                        // Add cart confirm
                        jQuery(document).on('change', '#agreeRules', function() {
                          jQuery('#lblForStandardCheckout').css('display', 'none');
                          jQuery(".labelright > a").removeClass("error");
                        });
                        jQuery(document).on('change', '.ddlProductVariations', function() {
                          var isDigitalPdt = jQuery('option:selected', this).attr('data-IsDigitalPdt');
                          //if (jQuery(".ddlProductVariations option:selected").text().toLowerCase().indexOf("pdf") >= 0) {
                          if (isDigitalPdt == 'true') {
                            //jQuery("#addCartConfirm-h").hide();
                            //jQuery("#addCartConfirm-p").show();
                            jQuery("#BuynowConfirm").show();
                            jQuery("#addtoCartConfirm").show();
                            jQuery("#divForStandardRule").css('display', 'block');
                          } else {
                            //jQuery("#addCartConfirm-p").hide();
                            //jQuery("#addCartConfirm-h").show();
                            jQuery("#BuynowConfirm").show();
                            jQuery("#addtoCartConfirm").show();
                            jQuery("#lblForStandardCheckout").css('display', 'none');
                            jQuery("#divForStandardRule").css('display', 'none');
                            jQuery(".labelright > a").removeClass("error");
                          }
                          if (loggedInUser.toLowerCase() == 'false') {
                            if ((jQuery(".ddlProductVariations option:selected").val().toLowerCase().indexOf("_userpdf3") >= 0) || (jQuery(".ddlProductVariations option:selected").val().toLowerCase().indexOf("_userpdf5") >= 0) || (jQuery(
                                ".ddlProductVariations option:selected").val().toLowerCase().indexOf("_userpdf9") >= 0)) {
                              $('#divForStandardRule').hide();
                              $('#BuynowConfirm').hide();
                              $('#addtoCartConfirm').hide();
                              $('#Login_section').show();
                              $('#LoginInfo_section').show();
                              $('#CA_section').show();
                            } else {
                              $('#BuynowConfirm').show();
                              $('#addtoCartConfirm').show();
                              $('#Login_section').hide();
                              $('#LoginInfo_section').hide();
                              $('#CA_section').hide();
                            }
                          }
                          if (jQuery('option:selected', jQuery('.product-variants')[0]).data('currency') == "N/A" || jQuery('option:selected', jQuery('.product-variants')[0]).data('currency') == "") {
                            jQuery("#BuynowConfirm").hide();
                            jQuery("#addtoCartConfirm").hide();
                            jQuery("#divForStandardRule").css('display', 'none');
                            jQuery(".pQuicklink").hide();
                          }
                        });
                        jQuery(document).on('click', '#Login_section, #Loginlink', function() {
                          jQuery('#divLogin').addClass('open');
                          window.localStorage.setItem('product_url', window.location.href);
                          window.localStorage.setItem('selected_Productvariation', jQuery(".ddlProductVariations option:selected").val());
                          return false;
                        });
                        //jQuery('#docLicenceTerms').on('click', function (e) {
                        jQuery(document).on("click", "#docLicenceTerms", function() {
                          jQuery('#divLicenseText').modal('hide');
                          GetProductLicense(jQuery('.ddlProductVariations'));
                        });
                        jQuery('.addCartConfirm').on('click', function(e) {
                          e.preventDefault();
                          var flag = 0;
                          if (jQuery('#divForStandardRule').css('display') != 'none') {
                            if (jQuery('#agreeRules').next('a').hasClass('checked') === false) {
                              jQuery('#lblForStandardCheckout').css('display', 'block');
                              jQuery(".labelright > a").addClass("error");
                              flag = 1;
                            } else {
                              jQuery('#lblForStandardCheckout').css('display', 'none');
                              jQuery(".labelright > a").removeClass("error");
                            }
                          }
                          if (flag === 1) {
                            return false;
                          }
                          var iflagCurrencyExists = 0;
                          var collectcurrencyMnemonic = jQuery(".currencyMnemonic");
                          collectcurrencyMnemonic.each(function() {
                            if (jQuery(this).val() != jQuery(".ddlcurrencyData").val()) {
                              if (iflagCurrencyExists != 1) {
                                iflagCurrencyExists = 1;
                              }
                            }
                          });
                          if (iflagCurrencyExists === 1) {
                            jQuery("#spanCurrencyAlert").trigger("click");
                            return false;
                          }
                          var iflagvariationExits = 0;
                          var collectionVariations = jQuery(".variationExits");
                          collectionVariations.each(function() {
                            if (jQuery(this).next(".mainProductvariationSKU").val() === jQuery('.ddlProductVariations').val()) {
                              if (iflagvariationExits != 1) {
                                iflagvariationExits = 1;
                              }
                            }
                          });
                          if (iflagvariationExits === 1) {
                            jQuery("#spanAlreadyProductAdded").trigger("click");
                            return false;
                          }
                          var isContainSoftCopy = 'True';
                          if (isContainSoftCopy.toLowerCase() == "true" && (jQuery("#IsHardCopyType").val()).toLowerCase() == "true") {
                            if (jQuery('.ddlProductVariations').val() == '') {
                              var msgtext = "";
                              var msgHeading = "";
                              doConfirm(function yes() {
                                return false;
                              }, function no() {
                                BindAddToCartDetails();
                              }, msgHeading, msgtext, "", "");
                            } else {
                              var msgtext =
                                "\u003cstyle type=\"text/css\"\u003e\n    p { font-size:14px !important; }\n\u003c/style\u003e\u003cp\u003ePlease confirm your product format to proceed.\u003c/p\u003e\u003cp\u003e\u003cstrong\u003e#ProductName#\u003c/strong\u003e    #ProductFormat#\u003c/p\u003e";
                              var msgHeading = "Confirm product format";
                              var selectedProdVariant = jQuery(".ddlProductVariations option:selected").text();
                              msgtext = msgtext.replace("#ProductName#", "API STD 521:2020");
                              msgtext = msgtext.replace("#ProductFormat#", selectedProdVariant);
                              doConfirm(function yes() {
                                return false;
                              }, function no() {
                                BindAddToCartDetails();
                              }, msgHeading, msgtext, "Confirm hard copy format", "Change product format");
                            }
                            return false;
                          } else if (jQuery("#IsDRMPdfType").val().toLowerCase() == "true") {
                            var msgtext =
                              "\u003cstyle type=\"text/css\"\u003e\n    .link {\n        color:#0B596D !important;\n    }\n    \n   ul li, p, p strong { font-size:16px !important; line-height:24px !important;}\n   \n   ul { list-style-type: disc; }\n\u003c/style\u003e\u003cp\u003e\u003cstrong\u003eWhat can I do with this PDF format?\u003c/strong\u003e\u003c/p\u003e\u003cul style=\"padding-left: 5%;\"\u003e\u003cli\u003eUse them within your organisation.\u003c/li\u003e\u003cli\u003eUse them on the computers of specific users.\u003c/li\u003e\u003cli\u003ePrint 2 copies per user.\u003c/li\u003e\u003cli\u003eStore one electronic version as a backup.\u003c/li\u003e\u003c/ul\u003e\u003cbr /\u003e\u003cp\u003e\u003cstrong\u003eFor how many users can I purchase this format?\u003c/strong\u003e\u003c/p\u003e\u003cp\u003eYou can print two copies per user for internal use\u003c/p\u003e\u003cp class=\"drm-p\"\u003eUsers, you will need Admin access to your computer to install:\u003c/p\u003e\u003cul style=\"padding-left: 5%;\"\u003e\u003cli\u003e\u003cstrong\u003e\u003ca target=\"_blank\" href=\"https://www.fileopen.com/products/3rd-party-viewers\" title=\"See all supported viewers\"\u003eA supported third-party viewer\u003c/a\u003e\u003c/strong\u003e\u003c/li\u003e\u003cli\u003e\u003cstrong\u003e\u003ca target=\"_blank\" href=\"https://plugin.fileopen.com/\" title=\"FileOpen Plugin\"\u003eFileOpen Plugin\u003c/a\u003e\u003c/strong\u003e\u003c/li\u003e\u003c/ul\u003e\u003cp\u003eand you can follow the straightforward instructions we will email after purchase.\u003c/p\u003e\u003cbr /\u003e\u003cp\u003eFor more information on DRM, visit \u003cstrong\u003e\u003ca class=\"link\" target=\"_blank\" href=\"/en-us/drm/\" title=\"For more information on DRM, visit Digital Rights Management (DRM) protected PDF Product Help.\"\u003eDigital Rights Management (DRM) protected PDF Product Help.\u003c/a\u003e\u003c/strong\u003e\u003c/p\u003e";
                            var msgHeading = " You Are Buying (DRM) Digital Rights Management PDF";
                            doConfirm(function yes() {
                              return false;
                            }, function no() {
                              BindAddToCartDetails();
                            }, msgHeading, msgtext, "Continue", "Cancel");
                            return false;
                          } else {
                            BindAddToCartDetails();
                          }
                        });
                        jQuery('#viewcart').on('click', function(e) {
                          e.preventDefault();
                          jQuery(".cart-menu ").removeClass("open-confirm");
                        });
                        jQuery('.divPdtBuy').css('display', 'none');
                        if ($('#tblPdtGenInfo').is(":visible")) {
                          //Set the class for alternate rows of General Info list		
                          jQuery('#tblPdtGenInfo').find('tr:even').addClass('even-row');
                          jQuery('#tblPdtGenInfo').find('tr:odd').addClass('odd-row');
                        }
                        if ($('#tblPdtGenInfo_m').is(":visible")) {
                          jQuery('#tblPdtGenInfo_m').find('tr:even').addClass('even-row');
                          jQuery('#tblPdtGenInfo_m').find('tr:odd').addClass('odd-row');
                        }
                        //var product_dropdown = jQuery('.product-variants')[0];
                        //onPubliVariationChange(product_dropdown);
                        var variationSKU = getQueryString('variationSku');
                        //   console.log("variationSKU:" + variationSKU);
                        if (variationSKU != null && variationSKU != "") {
                          jQuery(".product-variants").val(variationSKU);
                          //console.log("variationSKU not null");
                          //console.log(jQuery('.product-variants')[0]);
                          //console.log(jQuery(".product-variants").prop('selectedIndex'));
                          onPubliVariationChange(jQuery('.product-variants')[0]);
                        } else {
                          //   console.log("variationSKU is null");
                          var product_dropdown = jQuery('.product-variants')[0];
                          // console.log("product_dropdown: " + product_dropdown);
                          // console.log("product_dropdown.value: " + product_dropdown.value);
                          onPubliVariationChange(product_dropdown);
                        }
                        jQuery('#DRM_MoreInfo').on('shown.bs.modal', function() {
                          var val = jQuery('#hdnMoreInfo').val();
                          setTimeout(function() {
                            jQuery('#pdtDrmMoreInfoBody').empty();
                            jQuery('#pdtDrmMoreInfoBody').append(val);
                          }, 10);
                        });
                        jQuery(".ddlcurrencyData").val('USD').trigger("chosen:updated");
                        jQuery(".ddlProductVariations").on('chosen:hiding_dropdown', function() {
                          AddIconToProductFormat();
                        });
                      });

                      function AddIconToProductFormat() {
                        var $singleContainer = $('.product-session .chosen-single');
                        if (!$singleContainer.find('span').find('img').length) {
                          if ($singleContainer.text().toUpperCase().indexOf('PDF') > 0) {
                            $singleContainer.find('span').prepend('<img src="/images/pdf.svg" alt="">');
                          } else {
                            $singleContainer.find('span').prepend('<img src="/images/hardcopy.svg" alt="">');
                          }
                        }
                      }

                      function DataForAnalyticsOnAddToCart(sku) {
                        //if (jQuery("#hdnTotalCount").val() == 0)
                        {
                          // countryCodeCDN
                          createCookie("PreferredCountryName", jQuery("#countryCodeCDN").val(), 1, true);
                          createCookie("PreferredCurrency", jQuery('.ddlcurrencyData').val(), 1, true);
                          GetandSetRegionCookie();
                        }
                        var addedProducts = [];
                        var categories = "";
                        jQuery("[id$=liCategory] small a").map(function(e) {
                          if (categories == "") {
                            categories = this.text;
                          }
                          //else {
                          //    categories = categories + ";" + this.text;
                          //}
                        });
                        var variants = jQuery(".ddlProductVariations option:selected").text().split('-');
                        var brand = jQuery("[id$='liPublisher']").text();
                        addedProducts.push({
                          'name': "API STD 521:2020",
                          'id': sku,
                          'price': jQuery("#hdnPrice").val(),
                          'brand': brand,
                          'category': categories,
                          'variant': jQuery(".ddlProductVariations option:selected").text(),
                          'quantity': parseInt(jQuery(".ddlQuantity").val()),
                          'dimension1': "standards"
                        });
                        jQuery("#hdnGoogleAnalyticsJson").val(JSON.stringify(addedProducts));
                        PushStandardCartToGoogleAnalytics(addedProducts);
                      }

                      function DataForAnalyticsOnChange() {
                        var products = [];
                        var categories = "";
                        jQuery("[id$=liCategory] small a").map(function(e) {
                          if (categories == "") {
                            categories = this.text;
                          }
                          //else {
                          //    categories = categories + ";" + this.text;
                          //}
                        });
                        // addedProducts.products
                        var productType = jQuery("[id$='liPublisher']").text();
                        var variants = jQuery(".ddlProductVariations option:selected").text().split('-');
                        var courseType = jQuery(".ddlProductVariations option:selected").text(); //variants[variants.length - 1];
                        if ((jQuery(".ddlProductVariations option:selected").val().toLowerCase().indexOf("_userpdf3") >= 0) || (jQuery(".ddlProductVariations option:selected").val().toLowerCase().indexOf("_userpdf5") >= 0) || (jQuery(
                            ".ddlProductVariations option:selected").val().toLowerCase().indexOf("_userpdf9") >= 0)) {
                          $('.ddlQuantity').val("01");
                          $('.ddlQuantity').prop('disabled', true).trigger("chosen:updated");
                        } else {
                          $('.ddlQuantity').prop('disabled', false).trigger("chosen:updated");
                        }
                        products.push({
                          'name': "API STD 521:2020",
                          'id': jQuery(".ddlProductVariations").val(),
                          'price': jQuery("#hdnPrice").val(),
                          'brand': productType,
                          'category': categories,
                          'variant': courseType,
                          'dimension1': "standards"
                        });
                        PushStandardDetailToGoogleAnalytics(products, jQuery('.ddlcurrencyData').val(), jQuery("#countryCodeCDN").val());
                      }

                      function GetParameterValues(param) {
                        var url = window.location.href.slice(window.location.href.indexOf('?') + 1).split('&');
                        for (var i = 0; i < url.length; i++) {
                          var urlparam = url[i].split('=');
                          if (urlparam[0] == param) {
                            return urlparam[1];
                          } else return 0;
                        }
                      }
                      var DRMNonDRMtext = '';

                      function onPubliVariationChange(variation) {
                        if (variation != undefined && variation.value != "0") {
                          var selIndex = variation.selectedIndex;
                          jQuery('#pdtDrmMoreInfoTitle').html(variation.options[selIndex].text + " " + "Format");
                          var obj = {};
                          obj.variationSKU = variation.options[selIndex].value;
                          obj.currencyMnemonic = 'USD';
                          if (jQuery("#currencyChange").val() == "1") {
                            obj.currencyMnemonic = jQuery(".ddlcurrencyData").val();
                          }
                          obj.languageID = GetParameterValues("LangType");
                          AddIconToProductFormat();
                          if (jQuery('option:selected', variation).data('ismediatypehardcopy') == true) {
                            jQuery("#IsHardCopyType").val("true");
                          } else {
                            jQuery("#IsHardCopyType").val("false");
                          }
                          jQuery("#hdnMediaType").val(jQuery('option:selected', variation).data('mediatype'));
                          var request_form_link = jQuery("#addCartNA").attr('href').split('?')[0];;
                          jQuery("#addCartNA").attr("href", request_form_link + "?media=" + jQuery('option:selected', variation).data('mediatype'))
                          if (jQuery('option:selected', variation).data('gstexempt') != "") {
                            jQuery('#spanGstExempt').html(jQuery('option:selected', variation).data('gstexempt'));
                          }
                          if (jQuery('option:selected', variation).data('hasdrmsecureicon') == true) {
                            //jQuery("#DRMSecureIcon").show();
                            jQuery("#IsDRMPdfType").val("true");
                            DRMNonDRMtext = "I agree to the <a data-toggle='modal' id='docLicenceTerms' class='anchor-ponter agreeruletxt'>DRM document license rules</a> apply against the PDF selection made.";
                            //DRMNonDRMtext = 'I agree to the DRM document license rules apply against the PDF selection made.';
                            //  jQuery('#docLicenceLink').text("You have agreed to have read the DRM document license  rules that apply against the PDF selection made.");
                            // jQuery("#hdnCartLicenseText").val("You have agreed to have read the DRM document license  rules that apply against the PDF selection made");
                          } else {
                            //jQuery("#DRMSecureIcon").hide();
                            jQuery("#IsDRMPdfType").val("false");
                            DRMNonDRMtext = "I agree to the <a data-toggle='modal' id='docLicenceTerms' class='anchor-ponter agreeruletxt'>document license rules.</a>";
                            //DRMNonDRMtext = 'I agree to the document license rules.';
                            //("#hdnCartLicenseText").val("You have agreed to have read the document license rules");
                            //  jQuery('#docLicenceLink').text("You have agreed to have read the document license rules.");
                          }
                          // This line for to show agree checkbox text with Pdf and DRM
                          //$('#docLicenceTerms').text(DRMNonDRMtext);     
                          $('#divForStandardRule span').html(DRMNonDRMtext);
                          jQuery('#hdnMoreInfo').val(jQuery('option:selected', variation).data('moreinfo'));
                          jQuery('#drmInfo').html(jQuery('option:selected', variation).data('description'));
                          jQuery('#variationDRMInfo').show();
                          var currency_mnemonic = "AUD";
                          if (jQuery('option:selected', variation).data('currency') == "N/A" || jQuery('option:selected', variation).data('currency') == "") {
                            // jQuery("#currencySymbolNotification").show();
                            jQuery('.divPdtBuy').css('display', 'none');
                            jQuery('#pdtNotAvailable').css('display', 'inline');
                            jQuery(".pQuicklink").hide();
                          } else {
                            // jQuery("#currencySymbolNotification").hide();
                            jQuery('.divPdtBuy').css('display', 'inline');
                            jQuery('#pdtNotAvailable').css('display', 'none');
                            currency_mnemonic = jQuery('option:selected', variation).data('currency');
                            jQuery(".ddlcurrencyData").val(currency_mnemonic).trigger("chosen:updated");
                            jQuery("#hdnPrice").val(jQuery('option:selected', variation).data('displayprice'));
                            jQuery("#pdtPrice").html(currencyCodeMneumonicSymbol[currency_mnemonic] + jQuery('option:selected', variation).data('displayprice'));
                            if (jQuery('option:selected', variation).data('displayprice') == 0) {
                              jQuery("#pdtPrice").html("Free");
                              jQuery("#hdnPrice").val('0.00');
                            }
                          }
                          if (jQuery('option:selected', variation).data('pages') != "") {
                            jQuery('[id*="Products_Pages"]').html(jQuery('option:selected', variation).data('pages'));
                            jQuery('[id*="trPages"]').show();
                          }
                          if (jQuery('option:selected', variation).data('isbn') != "") {
                            jQuery('[id*="Products_ISBN"]').html(jQuery('option:selected', variation).data('isbn'));
                            jQuery('[id*="trISBN"]').show();
                          }
                          if (jQuery('option:selected', variation).data('publicationDate') != "" || jQuery('option:selected', variation).data('publicationDate') != 'undefined') {
                            //jQuery('#publishedDate').text(_publishDate[0]);
                            //jQuery('#publishedDateSection').show();
                          }
                          //else {
                          //    jQuery('#publishedDateSection').hide();
                          //}
                          if (availableFormatExit != "") {
                            jQuery('#availableFormatAttr').show();
                          } else {
                            jQuery('#availableFormatAttr').hide();
                          }
                          if (productLanguageSection != "") {
                            jQuery('#productLanguageSection').show();
                          } else {
                            jQuery('#productLanguageSection').hide();
                          }
                          if (amendmentKind != "") {
                            jQuery('#productAmendedSection').show();
                          } else {
                            jQuery('#productAmendedSection').hide();
                          }
                          ChangesTableDesign();
                          DataForAnalyticsOnChange();
                        } else {
                          ChangesTableDesign();
                          jQuery('#variationDRMInfo').hide();
                          jQuery('.divPdtBuy').css('display', 'none');
                          jQuery('#pdtNotAvailable').css('display', 'inline');
                          jQuery(".pQuicklink").hide();
                          jQuery('#trPublicationDate').hide();
                          //jQuery('#publishedDateSection').hide();
                          jQuery('#productLanguageSection').hide();
                          jQuery('#availableFormatAttr').hide();
                          jQuery('#productAmendedSection').hide();
                        }
                      }

                      function onPubliVariationChangeNew(variation) {
                        if (variation != undefined && variation.value != "0") {
                          jQuery('#pdtDrmMoreInfoTitle').html(variation.options[variation.selectedIndex].text + " " + "Format");
                          var obj = {};
                          obj.variationSKU = variation.value;
                          obj.currencyMnemonic = 'USD';
                          if (jQuery("#currencyChange").val() == "1") {
                            obj.currencyMnemonic = jQuery(".ddlcurrencyData").val();
                          }
                          obj.languageID = GetParameterValues("LangType");
                          // Region specific items will be retrieved only when country code is not passed as per new changes.
                          //obj.countryCode = jQuery("#countryCodeCDN").val();
                          //if (jQuery("#countryCodeCDN").val() == "" || jQuery("#countryCodeCDN").val() == undefined) {
                          //    obj.countryCode = "AU";
                          //}
                          jQuery(".divloaderr").show();
                          jQuery(".divOrderReviewLoader .divloaderr").css('visibility', 'visibles');
                          jQuery.ajax({
                            type: 'POST',
                            url: '/Components/Service/HomePageService.asmx/GetProductVariationDetail?publisherID=' + publisherID,
                            data: JSON.stringify(obj),
                            contentType: 'application/json; charset=utf-8',
                            success: function(response) {
                              //   console.log(response.d);
                              //$.getScript("/Scripts/productScriptThen.js");
                              AddIconToProductFormat();
                              //jQuery("#divloaderr").hide();
                              jQuery(".divOrderReviewLoader .divloaderr").css('visibility', 'hidden');
                              var _variationDetail = response.d;
                              if (_variationDetail.IsMediaTypeHardCopy == true) {
                                jQuery("#IsHardCopyType").val("true");
                              } else {
                                jQuery("#IsHardCopyType").val("false");
                              }
                              jQuery("#hdnMediaType").val(_variationDetail.MediaType);
                              var request_form_link = jQuery("#addCartNA").attr('href').split('?')[0];;
                              jQuery("#addCartNA").attr("href", request_form_link + "?media=" + _variationDetail.MediaType)
                              if (_variationDetail.GstExempt != "") {
                                jQuery('#spanGstExempt').html(_variationDetail.GstExempt);
                              }
                              if (_variationDetail.hasDRMSecureIcon == "true") {
                                //jQuery("#DRMSecureIcon").show();
                                jQuery("#IsDRMPdfType").val("true");
                              } else {
                                //jQuery("#DRMSecureIcon").hide();
                                jQuery("#IsDRMPdfType").val("false");
                              }
                              jQuery('#hdnMoreInfo').val(_variationDetail.DRM.MoreInfo);
                              jQuery('#drmInfo').html(_variationDetail.DRM.Description);
                              jQuery('#variationDRMInfo').show();
                              var currency_mnemonic = "AUD";
                              if (_variationDetail.Currency == "N/A" || _variationDetail.Currency == "") {
                                // jQuery("#currencySymbolNotification").show();
                                jQuery('.divPdtBuy').css('display', 'none');
                                jQuery('#pdtNotAvailable').css('display', 'inline');
                                jQuery(".pQuicklink").hide();
                              } else {
                                // jQuery("#currencySymbolNotification").hide();
                                jQuery('.divPdtBuy').css('display', 'inline');
                                jQuery('#pdtNotAvailable').css('display', 'none');
                                currency_mnemonic = _variationDetail.Currency;
                                jQuery(".ddlcurrencyData").val(currency_mnemonic).trigger("chosen:updated");
                                jQuery("#hdnPrice").val(_variationDetail.DisplayPrice);
                                jQuery("#pdtPrice").html(currencyCodeMneumonicSymbol[currency_mnemonic] + _variationDetail.DisplayPrice);
                                if (_variationDetail.DisplayPrice == 0) {
                                  jQuery("#pdtPrice").html("Free");
                                  jQuery("#hdnPrice").val('0.00');
                                }
                              }
                              if (_variationDetail.Pages != "") {
                                jQuery('[id*="Products_Pages"]').html(_variationDetail.Pages);
                                jQuery('[id*="trPages"]').show();
                              }
                              if (_variationDetail.ISBN != "") {
                                jQuery('[id*="Products_ISBN"]').html(_variationDetail.ISBN);
                                jQuery('[id*="trISBN"]').show();
                              }
                              if (_variationDetail.PublicationDate != "") {
                                var _publishDate = _variationDetail.PublicationDate.split("T");
                                jQuery('#tdPublicationDate').html(_publishDate[0]);
                                jQuery('#trPublicationDate').show();
                                if (String('06-01-2020') == "") {
                                  jQuery('#publishedDate').text(_publishDate[0]);
                                }
                                //jQuery('#publishedDate').text(_publishDate[0]);
                                //jQuery('#publishedDateSection').show();
                              }
                              //else {
                              //    jQuery('#publishedDateSection').hide();
                              //}
                              if (availableFormatExit != "") {
                                jQuery('#availableFormatAttr').show();
                              } else {
                                jQuery('#availableFormatAttr').hide();
                              }
                              if (productLanguageSection != "") {
                                jQuery('#productLanguageSection').show();
                              } else {
                                jQuery('#productLanguageSection').hide();
                              }
                              if (amendmentKind != "") {
                                jQuery('#productAmendedSection').show();
                              } else {
                                jQuery('#productAmendedSection').hide();
                              }
                              ChangesTableDesign();
                              DataForAnalyticsOnChange();
                            },
                            error: function(xmlHttpRequest, textStatus, errorThrown) {
                              //jQuery("#divloaderr").hide();
                              jQuery(".divOrderReviewLoader .divloaderr").css('visibility', 'hidden');
                              // alert("Error In Method");
                              ChangesTableDesign();
                              //console.log("responseText: " + xmlHttpRequest.responseText);
                              //console.log("textStatus: " + textStatus);
                              //console.log("errorThrown: " + errorThrown);
                            }
                          });
                        } else {
                          ChangesTableDesign();
                          jQuery('#variationDRMInfo').hide();
                          jQuery('.divPdtBuy').css('display', 'none');
                          jQuery('#pdtNotAvailable').css('display', 'inline');
                          jQuery(".pQuicklink").hide();
                          jQuery('#trPublicationDate').hide();
                          //jQuery('#publishedDateSection').hide();
                          jQuery('#productLanguageSection').hide();
                          jQuery('#availableFormatAttr').hide();
                          jQuery('#productAmendedSection').hide();
                        }
                      }

                      function ChangesTableDesign() {
                        if ($('#tblPdtGenInfo').is(":visible")) {
                          jQuery('#tblPdtGenInfo').find('tr:not([style*="display: none"]):even').removeClass('odd-row').removeClass('even-row').addClass('odd-row');
                          jQuery('#tblPdtGenInfo').find('tr:not([style*="display: none"]):odd').removeClass('even-row').removeClass('odd-row').addClass('even-row');
                        }
                        if ($('#tblPdtGenInfo_m').is(":visible")) {
                          jQuery('#tblPdtGenInfo_m').find('tr:not([style*="display: none"]):even').removeClass('odd-row').removeClass('even-row').addClass('odd-row');
                          jQuery('#tblPdtGenInfo_m').find('tr:not([style*="display: none"]):odd').removeClass('even-row').removeClass('odd-row').addClass('even-row');
                        }
                      }

                      function getQueryString(field, url) {
                        var href = url ? url : window.location.href;
                        var reg = new RegExp('[?&]' + field + '=([^&#]*)', 'i');
                        var string = reg.exec(href);
                        return string ? string[1] : null;
                      };

                      function doConfirm(yesFunction, noFunction, heading, message, cancelButtonText, okButtonText) {
                        var confirmBox = jQuery("#checkout-warning");
                        confirmBox.find(".checkout-warning-message").html(message);
                        confirmBox.find(".checkout-warning-header").text(heading);
                        confirmBox.find(".yes").val(okButtonText);
                        confirmBox.find(".no").val(cancelButtonText);
                        confirmBox.find(".yes,.no").unbind().click(function() {
                          jQuery(confirmBox).modal('hide');
                        });
                        confirmBox.find(".yes").click(yesFunction);
                        confirmBox.find(".no").click(noFunction);
                        confirmBox.find(".no").addClass('btn-add-cart--standard');
                        jQuery(confirmBox).modal();
                      }
                      jQuery('.add-to-watchllist .hover_header').on('click', function(event) {
                        event.stopPropagation();
                        if (String('FALSE') == "FALSE") {
                          //$('.add-to-watchllist-hover.wGuest').css("top", $('.add-to-watchllist').position().top + 60);
                          //$('.add-to-watchllist-hover.wGuest').css("display", "block");
                          $('#AddToWatchlistwMsgBody').html(jQuery(".add-to-watchllist-hover.wGuest").html());
                          $('#AddToWatchlistwMsgBody').append('<br></br>');
                          $('#AddToWatchlistwMsg').modal('show');
                        } else {
                          var retval = fnAddProductToWatchList();
                          if (retval == 1) {
                            $(".add-to-watchllist-hover.wSuccess").insertAfter($(this).parent());
                            $('.add-to-watchllist-hover.wSuccess').css("display", "block");
                          } else if (retval == 0) {
                            $(".add-to-watchllist-hover.wError").insertAfter($(this).parent());
                            $('.add-to-watchllist-hover.wError').css("display", "block");
                          } else if (retval == 2) {
                            $(".add-to-watchllist-hover.wMaxError").insertAfter($(this).parent());
                            $('.add-to-watchllist-hover.wMaxError').css("display", "block");
                          } else if (retval == 3) {
                            $(".add-to-watchllist-hover.wRecordExist").insertAfter($(this).parent());
                            $('.add-to-watchllist-hover.wRecordExist').css("display", "block");
                          } else if (retval == 4) {
                            $(".add-to-watchllist-hover.wGuest").insertAfter($(this).parent());
                            $('.add-to-watchllist-hover.wGuest').css("display", "block");
                          } else {
                            $(".add-to-watchllist-hover.wGuest").insertAfter($(this).parent());
                            $('.add-to-watchllist-hover.wGuest').css("display", "block");
                          }
                        }
                      });
                      $('html').click(function() {
                        $('.add-to-watchllist-hover.wGuest').css("display", "none");
                        $('.add-to-watchllist-hover.wSuccess').css("display", "none");
                        $('.add-to-watchllist-hover.wError').css("display", "none");
                        $('.add-to-watchllist-hover.wMaxError').css("display", "none");
                        $('.add-to-watchllist-hover.wRecordExist').css("display", "none");
                      });
                      $('.openLogin').click(function(event) {
                        event.stopPropagation();
                        jQuery('#divLogin').addClass("open");
                      });

                      function fnAddProductToWatchList() {
                        var flag = 0;
                        var obj = {};
                        obj.sku = '96973_SAIG_API_API_2892410';
                        jQuery.ajax({
                          type: 'POST',
                          async: false,
                          url: '/components/service/standardwatchservice.asmx/AddProductToWatchList',
                          data: JSON.stringify(obj),
                          dataType: 'json',
                          contentType: 'application/json; charset=utf-8',
                          success: function(data) {
                            if (data.d == "success") {
                              flag = 1;
                            } else if (data.d == "error") {
                              flag = 0;
                            } else if (data.d == "maxlimit") {
                              flag = 2;
                            } else if (data.d == "recordExist") {
                              flag = 3;
                            } else if (data.d == "loginerror") {
                              flag = 4;
                            } else {
                              flag = 4;
                            }
                          },
                          error: function(error) {
                            flag = 0;
                          }
                        });
                        return flag;
                      }

                      function fnDoConfirm(modaldv, yesFunction, noFunction, heading, message, cancelButtonText, okButtonText) {
                        var confirmBox = jQuery(modaldv);
                        confirmBox.find(".lang-warning-message").html(message);
                        confirmBox.find(".lang-warning-header").text(heading);
                        confirmBox.find(".yes").val(okButtonText);
                        confirmBox.find(".no").val(cancelButtonText);
                        confirmBox.find(".yes,.no").unbind().click(function() {
                          jQuery(confirmBox).modal('hide');
                        });
                        confirmBox.find(".yes").click(yesFunction);
                        confirmBox.find(".no").click(noFunction);
                        jQuery(confirmBox).modal();
                      }

                      function CheckCountryInAccessRegion() {
                        if (String('False') == 'False') {
                          var msgtext =
                            "<p>It seems you are away from your “home” country. Do you wish to be re-directed to your “home” store? If you choose “YES”, you will see product, taxation, and shipping information relevant to your country. If you select “NO”, the current store's conditions will apply. </p>";
                          var msgHeading = "Please Select Your Option.";
                          fnDoConfirm('#lang-warning', function yes() {
                            window.location.href = '/en-gb/standards/api-std-521-2020-96973_saig_api_api_2892410/?utm_source=Transactional&utm_medium=email&utm_campaign=API_STD_521_2020_July2022_AMER';
                          }, function no() {
                            return false;
                          }, msgHeading, msgtext, "No", "Yes");
                          return false;
                        }
                      }
                      jQuery(document).ready(function($) {
                        CheckCountryInAccessRegion();
                        jQuery(".ddlProductVariations").change();
                        var selected_Productvariation = window.localStorage.getItem('selected_Productvariation');
                        if ((loggedInUser.toLowerCase() == 'true') && (selected_Productvariation != null)) {
                          jQuery(".ddlProductVariations").val(selected_Productvariation).trigger("chosen:updated");
                          window.localStorage.removeItem("selected_Productvariation");
                        }
                        /*
                        SetPreviewButton();

                        function SetPreviewButton() {

                            if ($('.add-to-watchllist .hover_header').is(":visible") && $('.div_view_superseded_m').is(":visible"))
                            {
                                $('#preview_btn_m').css("margin", "20px 0 0 0");
                            }
                        }
                        */
                      });
                      jQuery('.buynow').on('click', function(e) {
                        e.preventDefault();
                        var flag = 0;
                        if (jQuery('#divForStandardRule').css('display') != 'none') {
                          if (jQuery('#agreeRules').next('a').hasClass('checked') === false) {
                            jQuery('#lblForStandardCheckout').css('display', 'block');
                            jQuery(".labelright > a").addClass("error");
                            flag = 1;
                          } else {
                            jQuery('#lblForStandardCheckout').css('display', 'none');
                            jQuery(".labelright > a").removeClass("error");
                          }
                        }
                        if (flag === 1) {
                          return false;
                        }
                        var iflagCurrencyExists = 0;
                        var collectcurrencyMnemonic = jQuery(".currencyMnemonic");
                        collectcurrencyMnemonic.each(function() {
                          if (jQuery(this).val() != jQuery(".ddlcurrencyData").val()) {
                            if (iflagCurrencyExists != 1) {
                              iflagCurrencyExists = 1;
                            }
                          }
                        });
                        if (iflagCurrencyExists === 1) {
                          jQuery("#spanCurrencyAlert").trigger("click");
                          return false;
                        }
                        var iflagvariationExits = 0;
                        var collectionVariations = jQuery(".variationExits");
                        collectionVariations.each(function() {
                          if (jQuery(this).next(".mainProductvariationSKU").val() === jQuery('.ddlProductVariations').val()) {
                            if (iflagvariationExits != 1) {
                              iflagvariationExits = 1;
                            }
                          }
                        });
                        if (iflagvariationExits === 1) {
                          jQuery("#spanAlreadyProductAdded").trigger("click");
                          return false;
                        }
                        var isContainSoftCopy = 'True';
                        if (isContainSoftCopy.toLowerCase() == "true" && (jQuery("#IsHardCopyType").val()).toLowerCase() == "true") {
                          if (jQuery('.ddlProductVariations').val() == '') {
                            var msgtext = ""
                            var msgHeading = "";
                            doConfirm(function yes() {
                              return false;
                            }, function no() {
                              BindAddToCartDetails();
                            }, msgHeading, msgtext, "", "");
                          } else {
                            var msgtext =
                              '\u003cstyle type=\"text/css\"\u003e\n    p { font-size:14px !important; }\n\u003c/style\u003e\u003cp\u003ePlease confirm your product format to proceed.\u003c/p\u003e\u003cp\u003e\u003cstrong\u003e#ProductName#\u003c/strong\u003e    #ProductFormat#\u003c/p\u003e'
                            var msgHeading = 'Confirm product format';
                            var selectedProdVariant = jQuery(".ddlProductVariations option:selected").text();
                            msgtext = msgtext.replace("#ProductName#", "API STD 521:2020");
                            msgtext = msgtext.replace("#ProductFormat#", selectedProdVariant);
                            doConfirm(function yes() {
                              return false;
                            }, function no() {
                              BindAddToCartDetailsUsingBuyNow();
                            }, msgHeading, msgtext, "Confirm hard copy format", "Change product format");
                          }
                          return false;
                        } else if (jQuery("#IsDRMPdfType").val().toLowerCase() == "true") {
                          var msgtext =
                            '\u003cstyle type=\"text/css\"\u003e\n    .link {\n        color:#0B596D !important;\n    }\n    \n   ul li, p, p strong { font-size:16px !important; line-height:24px !important;}\n   \n   ul { list-style-type: disc; }\n\u003c/style\u003e\u003cp\u003e\u003cstrong\u003eWhat can I do with this PDF format?\u003c/strong\u003e\u003c/p\u003e\u003cul style=\"padding-left: 5%;\"\u003e\u003cli\u003eUse them within your organisation.\u003c/li\u003e\u003cli\u003eUse them on the computers of specific users.\u003c/li\u003e\u003cli\u003ePrint 2 copies per user.\u003c/li\u003e\u003cli\u003eStore one electronic version as a backup.\u003c/li\u003e\u003c/ul\u003e\u003cbr /\u003e\u003cp\u003e\u003cstrong\u003eFor how many users can I purchase this format?\u003c/strong\u003e\u003c/p\u003e\u003cp\u003eYou can print two copies per user for internal use\u003c/p\u003e\u003cp class=\"drm-p\"\u003eUsers, you will need Admin access to your computer to install:\u003c/p\u003e\u003cul style=\"padding-left: 5%;\"\u003e\u003cli\u003e\u003cstrong\u003e\u003ca target=\"_blank\" href=\"https://www.fileopen.com/products/3rd-party-viewers\" title=\"See all supported viewers\"\u003eA supported third-party viewer\u003c/a\u003e\u003c/strong\u003e\u003c/li\u003e\u003cli\u003e\u003cstrong\u003e\u003ca target=\"_blank\" href=\"https://plugin.fileopen.com/\" title=\"FileOpen Plugin\"\u003eFileOpen Plugin\u003c/a\u003e\u003c/strong\u003e\u003c/li\u003e\u003c/ul\u003e\u003cp\u003eand you can follow the straightforward instructions we will email after purchase.\u003c/p\u003e\u003cbr /\u003e\u003cp\u003eFor more information on DRM, visit \u003cstrong\u003e\u003ca class=\"link\" target=\"_blank\" href=\"/en-us/drm/\" title=\"For more information on DRM, visit Digital Rights Management (DRM) protected PDF Product Help.\"\u003eDigital Rights Management (DRM) protected PDF Product Help.\u003c/a\u003e\u003c/strong\u003e\u003c/p\u003e';
                          var msgHeading = ' You Are Buying (DRM) Digital Rights Management PDF';
                          doConfirm(function yes() {
                            return false;
                          }, function no() {
                            BindAddToCartDetailsUsingBuyNow();
                          }, msgHeading, msgtext, "Continue", "Cancel");
                          return false;
                        } else {
                          BindAddToCartDetailsUsingBuyNow();
                        }
                      });

                      function BindAddToCartDetailsUsingBuyNow() {
                        jQuery('#productName').html("API STD 521:2020");
                        jQuery('#productDesc').html("American Petroleum Institute");
                        var cartObj = {};
                        cartObj.sku = jQuery('.ddlProductVariations').val();
                        cartObj.quantity = jQuery('.ddlQuantity').val();
                        cartObj.productType = "STANDARD";
                        cartObj.currencyMnemonic = jQuery('.ddlcurrencyData').val();
                        cartObj.licenceTerms = "";
                        cartObj.productFamily = "STANDARD";
                        var urlText;
                        if (jQuery('.ddlProductVariations').val() == '') {
                          cartObj.freeProductSku = "";
                          urlText = '/Components/Service/CartServices.asmx/AddFreeItemsTocart';
                        } else {
                          urlText = '/Components/Service/CartServices.asmx/AddItemsTocart';
                        }
                        // console.clear();
                        jQuery(".divloaderr").show();
                        jQuery(".divOrderReviewLoader .divloaderr").css('visibility', 'visible');
                        jQuery.ajax({
                          type: 'POST',
                          url: urlText,
                          data: JSON.stringify(cartObj),
                          //async: false,
                          contentType: 'application/json; charset=utf-8',
                          dataType: 'json',
                          success: function(response) {
                            //jQuery("#divloaderr").hide();
                            jQuery(".divOrderReviewLoader .divloaderr").css('visibility', 'hidden');
                            var cartData = response.d;
                            if (cartData.iFlagSuccess === 1) {
                              BindCartSummaryDetails();
                              //   console.log("Add Training Cart response=" + cartData.CartDescription);
                              jQuery('#CartSummaryText').html(cartData.CartDescription);
                              jQuery('#cartSummaryPrice').html(cartData.CartSummaryPrice);
                              jQuery('#AddCartText').html(cartData.CartDescription);
                              if (cartData.TotalItems > 1) {
                                jQuery('#MyCartText').html(" " + cartData.TotalItems + " items");
                              } else {
                                jQuery('#MyCartText').html(" " + cartData.TotalItems + " item");
                              }
                              jQuery('#AddCartPrice').html(cartData.CartSummaryPrice);
                              if (cartData.TotalItems != "0") {
                                proceedtocheckoutwithbuynow();
                                jQuery('.mycart-section').css('display', 'block');
                                jQuery('#CartCountSpan').addClass('notif-number');
                                jQuery('#CartCountSpan').html(cartData.TotalItems);
                              } else {
                                jQuery('.mycart-section').css('display', 'none');
                                jQuery('#CartCountSpan').removeClass('notif-number');
                              }
                              jQuery('#productvariationCartDesc').show();
                              jQuery('#productvariationCartDesc').html(jQuery(".ddlProductVariations option:selected").text());
                              jQuery('#productName').removeClass('training-prod');
                              if (jQuery(".ddlProductVariations option:selected").text().toLowerCase().indexOf("pdf") >= 0) {
                                jQuery('#productIcon').removeClass('hc-icon');
                                jQuery('#productIcon').addClass('pdf-icon');
                              } else {
                                jQuery('#productIcon').removeClass('pdf-icon');
                                jQuery('#productIcon').addClass('hc-icon');
                              }
                              AddIconToProductFormat();
                              DataForAnalyticsOnAddToCart(cartObj.sku);
                            } else {
                              jQuery("#divCartmenu").removeClass("open open-confirm");
                              jQuery("#spanErroWhileAdding").trigger("click");
                              return false;
                            }
                          },
                          error: function(xmlHttpRequest, textStatus, errorThrown) {
                            jQuery(".divOrderReviewLoader .divloaderr").css('visibility', 'hidden');
                          }
                        });
                      }

                      function proceedtocheckoutwithbuynow() {
                        var loggedInUser = 'FALSE';
                        // console.log(loggedInUser);
                        //debugger;
                        if (loggedInUser == "" || loggedInUser == "FALSE") {
                          jQuery('#divCartmenu').removeClass("open");
                          jQuery('#divLogin').addClass("open");
                          jQuery('.logout-shib-link').text("Continue as a Guest User");
                          jQuery('.logout-shib-link').attr("href", "/en-us/order-review/");
                          //Login button logic
                          if (!(jQuery('#cartSummaryDetails .product-display .product-item--quantity .product-cart-detail .item-type .controls span:contains(PDF 3)').length >= 1) && !(jQuery(
                              '#cartSummaryDetails .product-display .product-item--quantity .product-cart-detail .item-type .controls span:contains(PDF 5)').length >= 1) && !(jQuery(
                              '#cartSummaryDetails .product-display .product-item--quantity .product-cart-detail .item-type .controls span:contains(PDF 9)').length >= 1)) {
                            jQuery('.logout-shib-link').text("Continue as a Guest User");
                            jQuery('.logout-shib-link').attr("href", "/en-us/order-review/");
                            jQuery('#dvMultiuser259').hide();
                            jQuery("#divLogin").removeClass('open');
                            window.location.href = '/en-us/order-review/';
                          } else {
                            jQuery('.logout-shib-link').text("Create account");
                            jQuery('.logout-shib-link').attr("href", "/en-us/create-account/");
                            jQuery('#dvMultiuser259').show();
                            jQuery('.create-account-link').hide();
                          }
                          return false;
                        } else {
                          jQuery('.create-account-link').hide();
                          jQuery("#divCartmenu").removeClass("open open-confirm");
                          window.location.href = '/en-us/order-review/';
                        }
                      }

                      function GenerateProductQuickLink() {
                        jQuery('#productName').html("API STD 521:2020");
                        jQuery('#productDesc').html("American Petroleum Institute");
                        var cartObj = {};
                        cartObj.sku = jQuery('.ddlProductVariations').val();
                        cartObj.quantity = jQuery('.ddlQuantity').val();
                        cartObj.productType = "STANDARD";
                        cartObj.currencyMnemonic = jQuery('.ddlcurrencyData').val();
                        cartObj.licenceTerms = "";
                        cartObj.productFamily = "STANDARD";
                        cartObj.freeProductSku = "";
                        var urlText;
                        if (jQuery('.ddlProductVariations').val() == '') {
                          cartObj.freeProductSku = "";
                        }
                        urlText = '/Components/Service/CartServices.asmx/GetShareProductLink';
                        // console.clear();
                        jQuery.ajax({
                          type: 'POST',
                          url: urlText,
                          data: JSON.stringify(cartObj),
                          //async: false,
                          contentType: 'application/json; charset=utf-8',
                          dataType: 'json',
                          success: function(response) {
                            $(".sharelink").attr("href", response.d)
                            var sampleTextarea = document.createElement("textarea");
                            document.body.appendChild(sampleTextarea);
                            sampleTextarea.value = response.d; //save main text in it
                            sampleTextarea.select(); //select textarea contenrs
                            document.execCommand("copy");
                            document.body.removeChild(sampleTextarea);
                            alert("Copied the text: " + response.d);
                          },
                          error: function(xmlHttpRequest, textStatus, errorThrown) {
                            jQuery(".divOrderReviewLoader .divloaderr").css('visibility', 'hidden');
                          }
                        });
                      }

                      function openLoginforQuicklink() {
                        var isquicklink = getQueryString('isquicklink');
                        var loggedInUser = 'FALSE';
                        if (isquicklink != null && isquicklink != "") {
                          if (isquicklink == 1 && (loggedInUser == "" || loggedInUser == "FALSE")) jQuery('#divLogin').addClass("open");
                        }
                      }
                      openLoginforQuicklink();
                      jQuery('.viewmore-link').on('click', function(e) {
                        var text = $(".viewmore-link").text();
                        if (text === "View more information") {
                          jQuery('.right-product-accordion div.li-accordion').show();
                          jQuery(".viewmore-link").text("View less information");
                        } else {
                          jQuery('.right-product-accordion div.li-accordion').hide();
                          jQuery('.right-product-accordion div.li-accordion:first-child').show();
                          jQuery(".viewmore-link").text("View more information");
                        }
                      });
                      $.fn.center = function() {
                        this.css("position", "fixed");
                        this.css("top", ($(window).height() / 2 - this.height() / 2) + "px");
                        this.css("left", ($(window).width() / 2 - this.width() / 2) + "px");
                        return this;
                      }

                      function openLogin() {
                        event.stopPropagation();
                        $('#AddToWatchlistwMsg').modal('hide');
                        jQuery('#divLogin').addClass("open");
                        return false;
                      }
                    </script>
                  </div>
                </div>
              </div>
            </li>
          </ul>
        </div>
      </div>
    </div>
  </div>
  <!-- CART DRMInformation Popup-->
  <div id="CartDRM_MoreInfo" class="modal fade" role="dialog" style="display: none;">
    <button type="button" class="close" data-dismiss="modal">×</button>
    <div class="modal-dialog product-modal-popup">
      <!-- Modal content-->
      <div class="modal-content">
        <h4 class="modal-title" id="CartpdtDrmMoreInfoTitle"></h4>
        <div class="modal-body" id="CartpdtDrmMoreInfoBody">
          <p>
            <span></span>
          </p>
        </div>
      </div>
    </div>
  </div>
  <!-- CART DRMInformation Popup End-->
  <!-- My Order Popup-->
  <div id="MyOrder_MoreInfo" class="modal fade" role="dialog" style="display: none;">
    <button type="button" class="close" data-dismiss="modal">×</button>
    <div class="modal-dialog product-modal-popup">
      <div class="modal-content">
        <h4 class="modal-title" id="MyOrder_MoreInfoTitle">LOG IN TO ADD USERS TO YOUR PDF</h4>
        <div class="modal-body" id="MyOrder_MoreInfoBody">
          <p> Once you've completed your purchase you'll get a link to My Orders on:<br> -the Confirmation page of check out<br> -and by email<br>
            <br> You'll be able to access your Multi User Orders to add Users.<br>
          </p>
        </div>
      </div>
    </div>
  </div>
  <!-- my Order Popup End-->
  <!-- CART QuantityValidation Popup Start-->
  <span data-toggle="modal" data-target="#CARTQuantityAlert" id="spanQuantityAlert"></span>
  <div id="CARTQuantityAlert" class="modal fade" role="dialog" style="display: none;">
    <div class="modal-dialog product-modal-popup">
      <!-- Modal content-->
      <div class="modal-content">
        <div class="modal-header">
          <button type="button" class="close" data-dismiss="modal">×</button>
          <h4 id="ctl00_CartQuantity_Header" class="modal-title">Alert!</h4>
        </div>
        <div class="modal-body">
          <p>
            <span id="ctl00_CartQuantity_Description">You have selected more than three (3) participants. Please contact our <a href="/en-au/contact-us-training/" title="Contact Us: Training">Customer Service team</a>.</span>
          </p>
        </div>
      </div>
    </div>
  </div>
  <!-- CART QuantityValidation Popup End-->
  <!-- CART AlreadyAddedProductValidation Popup start-->
  <span data-toggle="modal" data-target="#AlreadyProductAdded" id="spanAlreadyProductAdded"></span>
  <div id="AlreadyProductAdded" class="modal fade" role="dialog" style="display: none;">
    <div class="modal-dialog product-modal-popup">
      <!-- Modal content-->
      <div class="modal-content">
        <div class="modal-header">
          <button type="button" class="close" data-dismiss="modal">×</button>
          <h4 id="ctl00_AlreadyProduct_Header" class="modal-title">Alert!</h4>
        </div>
        <div class="modal-body">
          <p>
            <span id="ctl00_AlreadyProduct_Description"></span>
          </p>
          <p>You have already added this product in the cart. &nbsp;If you would like to add additional copies of this product please adjust the quantity in the cart. &nbsp;</p>
          <p>For more than 20 copies, please contact our&nbsp; <a href="en-us/contact_us/" title="Customer Support">Customer Support</a>&nbsp;team on&nbsp;201-986-1131 / 888-454-2688.</p>
          <p></p>
        </div>
      </div>
    </div>
  </div>
  <!-- CART AlreadyAddedProductValidation Popup End-->
  <!-- CART Similar Training Popup Start-->
  <span data-toggle="modal" data-target="#MoreTrainingAlert" id="spanMoreTrainingAlert"></span>
  <div id="MoreTrainingAlert" class="modal fade" role="dialog" style="display: none;">
    <div class="modal-dialog product-modal-popup">
      <!-- Modal content-->
      <div class="modal-content">
        <div class="modal-header">
          <button type="button" class="close" data-dismiss="modal">×</button>
          <h4 id="ctl00_MoreTrainingAlertControl_Header" class="modal-title">Alert!</h4>
        </div>
        <div class="modal-body">
          <p>
            <span id="ctl00_MoreTrainingAlertControl_Description"></span>
          </p>
          <p><span>You have selected more than three (3) trainings. Please contact our Customer Service team.</span><br><span>Please contact our Customer Service team on Email:
              <a href="mailto:sales@saiglobal.com" title="sales@saiglobal.com">sales@saiglobal.com</a> Phone: <a href="tel:131 242" title="131 242">131 242</a> (Within Australia)</span></p>
          <p></p>
        </div>
      </div>
    </div>
  </div>
  <!-- CART Similar Training Popup End-->
  <!-- CART Currency Alert Popup Start-->
  <span data-toggle="modal" data-target="#CurrencyAlert" id="spanCurrencyAlert"></span>
  <div id="CurrencyAlert" class="modal fade" role="dialog" style="display: none;">
    <div class="modal-dialog product-modal-popup">
      <!-- Modal content-->
      <div class="modal-content">
        <div class="modal-header">
          <button type="button" class="close" data-dismiss="modal">×</button>
          <h4 id="ctl00_CurrencyChange_Header" class="modal-title">Alert!</h4>
        </div>
        <div class="modal-body">
          <p>
            <span id="ctl00_CurrencyChange_Description"></span>
          </p>
          <p>You have already added a product with different Currency. Please change the currency.</p>
          <p></p>
        </div>
      </div>
    </div>
  </div>
  <!-- CART Currency Alert Popup End-->
  <!-- Publisher License Popup Start-->
  <span data-toggle="modal" data-target="#divLicenseText" id="spanLicenseText"></span>
  <div id="divLicenseText" class="modal fade" role="dialog" style="display: none;">
    <button type="button" class="close" data-dismiss="modal">×</button>
    <div class="modal-dialog product-modal-popup">
      <!-- Modal content-->
      <div class="modal-content">
        <h4 class="modal-title" id="LicenseTextTitle">DOCUMENT LICENSE RULE:</h4>
        <div class="modal-body" id="PublisherLicenseTextBody">
          <div id="divPublisherLicence"></div>
        </div>
      </div>
    </div>
  </div>
  <!-- Publisher License Popup End-->
  <!-- Prior add item - License Popup Start-->
  <span data-toggle="modal" data-target="#divPreLicenseText" id="spanPreLicenseText"></span>
  <div id="divPreLicenseText" class="modal fade" role="dialog" style="display: none;">
    <button type="button" class="close" data-dismiss="modal">×</button>
    <div class="modal-dialog product-modal-popup">
      <!-- Modal content-->
      <div class="modal-content">
        <h4 class="modal-title" id="PreLicenseTextTitle">DOCUMENT LICENSE RULE:</h4>
        <div class="modal-body" id="PrePublisherLicenseTextBody">
          <div id="divPrePublisherLicence">
          </div>
        </div>
      </div>
    </div>
  </div>
  <!-- Prior add item - Publisher License Popup End-->
  <span data-toggle="modal" data-target="#ErroWhileAdding" id="spanErroWhileAdding"></span>
  <div id="ErroWhileAdding" class="modal fade" role="dialog" style="display: none;">
    <div class="modal-dialog product-modal-popup">
      <!-- Modal content-->
      <div class="modal-content">
        <div class="modal-header">
          <button type="button" class="close" data-dismiss="modal">×</button>
          <h4 id="ctl00_AddCartUnknown_Header" class="modal-title">Alert!</h4>
        </div>
        <div class="modal-body">
          <p>
            <span id="ctl00_AddCartUnknown_Description"></span>
          </p>
          <p><span>This product cannot be added to your cart right now. </span><br><br><span>Please contact our Customer Service team on
              Email:&nbsp;<a href="mailto:uspubsales@saiglobal.com" title="uspubsales@saiglobal.com">uspubsales@saiglobal.com</a></span><br><br><span>Phone: <a href="tel:+1 201-986-1131" title="+1 201-986-1131">+1 201-986-1131</a> /
              <a href="tel:+1 888-454-2688" title="+1 888-454-2688">+1 888-454-2688</a></span></p>
          <p></p>
        </div>
      </div>
    </div>
  </div>
  <!-- Quote Max Limit Exceed Alert Popup Start-->
  <span data-toggle="modal" data-target="#QuoteMaxLimitExceedAlert" id="spanQuoteMaxLimitExceedAlert"></span>
  <div id="QuoteMaxLimitExceedAlert" class="modal fade" role="dialog" style="display: none;">
    <div class="modal-dialog product-modal-popup">
      <!-- Modal content-->
      <div class="modal-content">
        <div class="modal-header">
          <button type="button" class="close" data-dismiss="modal">×</button>
          <h4 id="ctl00_QuoteMaxLimit_Header" class="modal-title">Alert!</h4>
        </div>
        <div class="modal-body">
          <p>
            <span id="ctl00_QuoteMaxLimit_Description"></span>
          </p>
          <p>You have already saved 6 Quotes. Please contact our <a href="/en-us/contact-us-training/" title="Contact Us: Training">Customer Service Team</a>.</p>
          <p></p>
        </div>
      </div>
    </div>
  </div>
  <!-- Quote Max Limit Exceed Alert Popup End-->
  <!--
    Footer navigation for homepage
    Summary: Renders fluid footer navigation.
    Assets required: -
    Reference: http://twitter.github.com/bootstrap/components.html#navs
    Other notes: -
    -->
  <!--Footer-->
  <div class="footer">
    <div class="infostore-mainfooter" id="infostoreFooter">
      <div class="footer footer-inner">
        <div class="footer-left">
          <div class="logo-div">
            <img src="/images/APAC/SAI_Global_Infostore_logo.png" alt="">
          </div>
          <div class="footer-links">
            <a href="https://www.saiglobal.com/" target="_blank">Corporate Website</a><a href="/en-us/company_details/" target="_blank">Company Details</a><a href="/en-us/about_us/" target="_blank">About Us</a><a href="https://www.saiglobal.com/en-us/about_sai_global/our_business/corporate_governance/" target="_blank">Corporate Governance</a>
          </div>
        </div>
        <div class="mobile-footer mobileView">
          <div class="tab">
            <a href="javascript:void(0)" class="tablinks" onclick="OpentabLink(this,'MobileTab1')" id="defaultOpen">STANDARDS<i class="up"></i><i class="down"></i></a>
            <div id="MobileTab1" class="tabcontent" style="display:none;">
              <div class="subtab">
                <a href="/en-us/standards_management/" class="active-btn" target="_blank">Standards Management</a><a href="/en-us/search/standard/?sortKey=date-desc&amp;amp;productFamily=STANDARD" class="active-btn" target="_blank">Search Standards</a><a href="/en-us/find_standards_by_publisher/" class="active-btn" target="_blank">Publishers</a><a href="/en-us/publishers/publisher_directory/" class="active-btn" target="_blank">Publisher Directory</a><a href="/en-us/categories/standard/" class="active-btn" target="_blank">Categories</a>
              </div>
            </div><a href="javascript:void(0)" class="tablinks" onclick="OpentabLink(this,'MobileTab2')" id="defaultOpen2">SUBSCRIPTIONS<i class="up"></i><i class="down"></i></a>
            <div id="MobileTab2" class="tabcontent" style="display:none;">
              <div class="subtab">
                <a href="/en-us/content_management/" class="active-btn" target="_blank">Content Management Software</a><a href="/en-us/standards_management/" class="active-btn" target="_blank">Standards Management</a><a href="https://infostore.saiglobal.com/store/AboutSWatch.aspx" class="active-btn" target="_blank">StandardsWatch</a><a href="https://i2.saiglobal.com" class="active-btn" target="_blank">Log In to i2i</a><a href="https://www.ili-info.com/" class="active-btn" target="_blank">Eurolaw</a><a href="https://www.ili-info.com/" class="active-btn" target="_blank">Metals Infobase</a><a href="https://www.ili-info.com/" class="active-btn" target="_blank">Materials Infobase</a><a href="http://logicom.saiglobal.com/" class="active-btn" target="_blank">Logicom</a><a href="http://logicom.saiglobal.com/" class="active-btn" target="_blank">Opportunity Manager</a><a href="/en-us/standards-and-legislation/managed-content-services/" class="active-btn" target="_blank">Publisher Services</a><a href="/en-us/subscription_solutions/" class="active-btn" target="_blank">Solutions</a><a href="/en-us/testimonials/" class="active-btn" target="_blank">Testimonials</a>
              </div>
            </div><a href="javascript:void(0)" class="tablinks" onclick="OpentabLink(this,'MobileTab3')" id="defaultOpen3">KEY STANDARDS<i class="up"></i><i class="down"></i></a>
            <div id="MobileTab3" class="tabcontent" style="display:none;">
              <div class="subtab">
                <a href="/en-us/key_standards/management_standards/" class="active-btn" target="_blank">Management</a><a href="/en-us/key_standards/safety_standards/" class="active-btn" target="_blank">Safety</a><a href="/en-us/key_standards/medical_device_standards/" class="active-btn" target="_blank">Medical Devices</a><a href="/en-us/key_standards/building_and_construction_standards/" class="active-btn" target="_blank">Building &amp; Construction</a><a href="/en-us/key_standards/precision_engineering_standards/" class="active-btn" target="_blank">Precision Engineering</a><a href="/en-us/key_standards/mining_standards/" class="active-btn" target="_blank">Mining</a><a href="/en-us/key_standards/electrical_standards/" class="active-btn" target="_blank">Electrical</a><a href="/en-us/key_standards/environmental_standards/" class="active-btn" target="_blank">Environmental</a>
              </div>
            </div><a href="javascript:void(0)" class="tablinks" onclick="OpentabLink(this,'MobileTab4')" id="defaultOpen4">LEGAL<i class="up"></i><i class="down"></i></a>
            <div id="MobileTab4" class="tabcontent" style="display:none;">
              <div class="subtab">
                <a href="/en-us/standards_terms_and_conditions/" class="active-btn" target="_blank">Standards Terms &amp; Conditions</a><a href="https://www.saiglobal.com/en-au/privacy/" class="active-btn" target="_blank">Privacy Policy</a><a href="/en-us/web_privacy_and_security/" class="active-btn" target="_blank">Web Privacy &amp; Security</a><a href="/en-us/returns_policy/" class="active-btn" target="_blank">Returns Policy</a>
              </div>
            </div><a href="javascript:void(0)" class="tablinks" onclick="OpentabLink(this,'MobileTab5')" id="defaultOpen5">CUSTOMER SUPPORT<i class="up"></i><i class="down"></i></a>
            <div id="MobileTab5" class="tabcontent" style="display:none;">
              <div class="subtab">
                <a href="/en-us/frequently_asked_questions/" class="active-btn" target="_blank">Frequently Asked Questions</a><a href="/en-us/drm/" class="active-btn" target="_blank">DRM Information</a><a href="/en-us/contact_us/" class="active-btn" target="_blank">Contact Us</a><a href="https://www.saiglobal.com/contact/" class="active-btn" target="_blank">Contact Other SAI Global Businesses</a>
              </div>
            </div>
          </div>
        </div>
        <div class="footer-centreleft webView">
          <div class="tab">
            <a href="javascript:void(0)" class="tablinks active" onclick="tabLink(event, 'Tab1')" id="defaultOpenweb">STANDARDS<i class="right"></i></a><a href="javascript:void(0)" class="tablinks" onclick="tabLink(event, 'Tab2')" id="defaultOpenweb2">SUBSCRIPTIONS<i class="right"></i></a><a href="javascript:void(0)" class="tablinks" onclick="tabLink(event, 'Tab3')" id="defaultOpenweb3">KEY STANDARDS<i class="right"></i></a><a href="javascript:void(0)" class="tablinks" onclick="tabLink(event, 'Tab4')" id="defaultOpenweb4">LEGAL<i class="right"></i></a><a href="javascript:void(0)" class="tablinks" onclick="tabLink(event, 'Tab5')" id="defaultOpenweb5">CUSTOMER SUPPORT<i class="right"></i></a>
          </div>
        </div>
        <div class="footer-right ">
          <div class="active-div" id="activeTrigger">
            <div id="Tab1" class="tabcontent" style="display:block;">
              <div class="footer-tab-flex">
                <div class="left-sidetab">
                  <a href="/en-us/standards_management/" target="_blank">Standards Management</a><a href="/en-us/search/standard/?sortKey=date-desc&amp;amp;productFamily=STANDARD" target="_blank">Search Standards</a><a href="/en-us/find_standards_by_publisher/" target="_blank">Publishers</a>
                </div>
                <div class="right-sidetab"><a href="/en-us/publishers/publisher_directory/" target="_blank">Publisher Directory</a><a href="/en-us/categories/standard/" target="_blank">Categories</a></div>
              </div>
            </div>
            <div id="Tab2" class="tabcontent" style="display:none;">
              <div class="footer-tab-flex">
                <div class="left-sidetab">
                  <a href="/en-us/content_management/" target="_blank">Content Management Software</a><a href="/en-us/standards_management/" target="_blank">Standards Management</a><a href="https://infostore.saiglobal.com/store/AboutSWatch.aspx" target="_blank">StandardsWatch</a><a href="https://i2.saiglobal.com" target="_blank">Log In to i2i</a><a href="https://www.ili-info.com/" target="_blank">Eurolaw</a><a href="https://www.ili-info.com/" target="_blank">Metals Infobase</a>
                </div>
                <div class="right-sidetab">
                  <a href="https://www.ili-info.com/" target="_blank">Materials Infobase</a><a href="http://logicom.saiglobal.com/" target="_blank">Logicom</a><a href="http://logicom.saiglobal.com/" target="_blank">Opportunity Manager</a><a href="/en-us/standards-and-legislation/managed-content-services/" target="_blank">Publisher Services</a><a href="/en-us/subscription_solutions/" target="_blank">Solutions</a><a href="/en-us/testimonials/" target="_blank">Testimonials</a>
                </div>
              </div>
            </div>
            <div id="Tab3" class="tabcontent" style="display:none;">
              <div class="footer-tab-flex">
                <div class="left-sidetab">
                  <a href="/en-us/key_standards/management_standards/" target="_blank">Management</a><a href="/en-us/key_standards/safety_standards/" target="_blank">Safety</a><a href="/en-us/key_standards/medical_device_standards/" target="_blank">Medical Devices</a><a href="/en-us/key_standards/building_and_construction_standards/" target="_blank">Building &amp; Construction</a>
                </div>
                <div class="right-sidetab">
                  <a href="/en-us/key_standards/precision_engineering_standards/" target="_blank">Precision Engineering</a><a href="/en-us/key_standards/mining_standards/" target="_blank">Mining</a><a href="/en-us/key_standards/electrical_standards/" target="_blank">Electrical</a><a href="/en-us/key_standards/environmental_standards/" target="_blank">Environmental</a>
                </div>
              </div>
            </div>
            <div id="Tab4" class="tabcontent" style="display:none;">
              <div class="footer-tab-flex">
                <div class="left-sidetab"><a href="/en-us/standards_terms_and_conditions/" target="_blank">Standards Terms &amp; Conditions</a><a href="https://www.saiglobal.com/en-au/privacy/" target="_blank">Privacy Policy</a></div>
                <div class="right-sidetab"><a href="/en-us/web_privacy_and_security/" target="_blank">Web Privacy &amp; Security</a><a href="/en-us/returns_policy/" target="_blank">Returns Policy</a></div>
              </div>
            </div>
            <div id="Tab5" class="tabcontent" style="display:none;">
              <div class="footer-tab-flex">
                <div class="left-sidetab"><a href="/en-us/frequently_asked_questions/" target="_blank">Frequently Asked Questions</a><a href="/en-us/drm/" target="_blank">DRM Information</a></div>
                <div class="right-sidetab"><a href="/en-us/contact_us/" target="_blank">Contact Us</a><a href="https://www.saiglobal.com/contact/" target="_blank">Contact Other SAI Global Businesses</a></div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <div class="social-footer">
        <div class="social-icons"><span>CONNECT WITH SAI
            GLOBAL</span><a href="http://www.linkedin.com/company/sai-global" target="_blank"> <img class="social-media-icon" alt="Connect with SAI Global on LinkedIn" src="/images/APAC/icon-linkedin@2x.png"> </a><a href="https://www.youtube.com/channel/UC_F_Zuh2CPqT2PfvNUcNHIw/videos" target="_blank"> <img class="social-media-icon" alt="Connect with SAI Global on Youtube" src="/images/APAC/icon-youtube@2x.png"> </a><a href="https://twitter.com/@SAI_Standards" target="_blank"> <img class="social-media-icon" alt="Connect with SAI Global on Twitter" src="/images/APAC/icon-twitter@2x.png"> </a>
        </div>
        <div id="ctl00_Footer_divCopyright" class="copyright-foot">
          <p> SAI Global Standards, 205 West Wacker Drive, Suite 1800 Chicago, IL 60606 <br>Call: <a href="tel:+14164018730" style="color: #343d44;">+1 416 401 8730</a>
          </p>
          <p>© <span id="copyrightYear">2022</span>&nbsp;<span>SAI Global Australia Pty Ltd ABN 14 144 974 087&nbsp;</span></p>
        </div>
      </div>
    </div>
    <script type="text/javascript">
      jQuery(document).ready(function($) {
        function GetParameterValues(param) {
          var url = window.location.href.slice(window.location.href.indexOf('?') + 1).split('&');
          for (var i = 0; i < url.length; i++) {
            var urlparam = url[i].split('=');
            if (urlparam[0] == param) {
              return urlparam[1];
            } else return 0;
          }
        }

        function GenerateFooterMenu(data) {
          var topMenuList = GetFooterTopLevelMenu(data);
          var parentId = GetFooterLeftMenuId(data);
          CreateFooterLeftMenu(data, jQuery(".footer-links"), parentId);
          if (topMenuList != null) {
            CreateFooterTopMenu(data, jQuery(".webView .tab"), topMenuList[0].ParentId);
            CreateMobileFooterTopMenu(data, jQuery(".mobileView .tab"), topMenuList[0].ParentId);
          }
          GenerateSocialMediaLink();
        }
        var obj = {};
        obj.menuName = "FooterNavigationMenuID";
        obj.languageID = GetParameterValues("LangType");
        jQuery.ajax({
          type: 'POST',
          url: '/Components/Service/MenuService.asmx/GetMenuInformation',
          data: JSON.stringify(obj),
          contentType: 'application/json; charset=utf-8',
          success: function(data) {
            GenerateFooterMenu(data.d);
          },
          error: function(error) {
            console.log(error);
          }
        });
      });
      var ulClasses = ["", "footer-submenu-list"];
      var liClasses = ["section", ""];
      var anchorClasses = [""];

      function GetFooterTopLevelMenu(data) {
        var TopMenu = [];
        jQuery.each(data.Items, function(i, item) {
          var footerLinkText = item.Text;
          footerLinkText = replaceFooterHTMLCharRef(footerLinkText);
          var obj = {};
          obj["MenuText"] = footerLinkText;
          obj["MenuId"] = item.ItemId;
          obj["ParentId"] = item.ParentId;
          obj["SubMenuCount"] = item.Items.length;
          TopMenu.push(obj);
        });
        return TopMenu;
      }

      function replaceFooterHTMLCharRef(text) {
        var _Text = text
        //Replace Html character reference for apostrophe
        _Text = _Text.replace('&#39;', '\'');
        //Replace Html character reference for ampersand
        _Text = _Text.replace('&amp;', '&');
        //Replace Html character reference for Trademark
        _Text = _Text.replace('&trade;', '™');
        _Text = _Text.replace('&#35;', '#');
        _Text = _Text.replace('&#37;', '%');
        _Text = _Text.replace('&#40;', '(');
        _Text = _Text.replace('&#41;', ')');
        _Text = _Text.replace('&#64;', '@');
        _Text = _Text.replace('&#33;', '!');
        _Text = _Text.replace('&#47;', '/');
        return _Text;
      }

      function GetFooterLeftMenuId(data) {
        var parentId = 0;
        jQuery.each(data.Items, function(i, item) {
          var footerLinkText = item.Text;
          footerLinkText = replaceFooterHTMLCharRef(footerLinkText);
          if ((footerLinkText == "SAI GLOBAL") || footerLinkText == "NSAI SITES") {
            parentId = item.ItemId;
          }
        });
        return parentId;
      }

      function CreateFooterTopMenu(data, parent, parentId) {
        var index = 0;
        jQuery.each(data.Items, function(i, item) {
          var footerLinkText = item.Text;
          footerLinkText = replaceFooterHTMLCharRef(footerLinkText);
          if ((footerLinkText != "SAI GLOBAL" && item.ParentId == parentId) && (footerLinkText != "NSAI SITES" && item.ParentId == parentId)) {
            //if (footerLinkText != "SAI GLOBAL" && item.ParentId == parentId) {
            index = index + 1;
            var anchor = {};
            anchor = jQuery("<a/>", {
              "href": "javascript:void(0)",
              "html": footerLinkText + "<i class=\"right\"></i>",
              "class": (index == 1) ? "tablinks active" : "tablinks",
              "onclick": "tabLink(event, 'Tab" + index + "')",
              "id": (index == 1) ? "defaultOpenweb" : "defaultOpenweb" + index
            });
            parent.append(anchor);
            CreateSubMenuItems(item.Items, index);
          }
          if (item.Items.length != 0) {
            CreateFooterTopMenu(item, parent, parentId);
          }
        });
      }

      function CreateSubMenuItems(items, index) {
        var tabDv = {};
        tabDv = jQuery("<div>", {
          "id": "Tab" + index,
          "class": "tabcontent",
          "style": (index == 1) ? "display:block;" : "display:none;"
        });
        var footertabflex = jQuery("<div>", {
          "class": "footer-tab-flex"
        });
        var leftsidetab = jQuery("<div>", {
          "class": "left-sidetab"
        });
        var rightsidetab = jQuery("<div>", {
          "class": "right-sidetab"
        });
        tabDv.append(footertabflex);
        footertabflex.append(leftsidetab);
        footertabflex.append(rightsidetab);
        var leftlinks = (items.length % 2 == 0) ? (items.length / 2) : ((items.length + 1) / 2);
        jQuery.each(items, function(i, item) {
          var footerLinkText = item.Text;
          footerLinkText = replaceFooterHTMLCharRef(footerLinkText);
          var anchor = {};
          if (item.Href != "") {
            var href = item.Href;
            if (href.substring(0, 1) == '/') {
              href = href;
            } else {
              if (href.substring(0, 1) != "h") {
                href = "/" + href;
              }
            }
            anchor = jQuery("<a/>", {
              "href": href,
              "text": footerLinkText,
              "target": "_blank"
            });
            if (i < leftlinks) leftsidetab.append(anchor);
            else rightsidetab.append(anchor);
          }
        });
        $('#activeTrigger').append(tabDv);
      }

      function CreateFooterLeftMenu(data, parent, parentId) {
        jQuery.each(data.Items, function(i, item) {
          var footerLinkText = item.Text;
          footerLinkText = replaceFooterHTMLCharRef(footerLinkText);
          if ((footerLinkText != "SAI GLOBAL" && item.ParentId == parentId) && (footerLinkText != "NSAI SITES" && item.ParentId == parentId)) {
            //if (footerLinkText != "SAI GLOBAL" && item.ParentId == parentId) {
            var anchor = {};
            if (item.Href != "") {
              var href = item.Href;
              if (href.substring(0, 1) == '/') {
                href = href;
              } else {
                if (href.substring(0, 1) != "h") {
                  href = "/" + href;
                }
              }
              anchor = jQuery("<a/>", {
                "href": href,
                "text": footerLinkText,
                "target": "_blank"
              });
              parent.append(anchor);
            }
          }
          if (item.Items.length != 0) {
            CreateFooterLeftMenu(item, parent, parentId);
          }
        });
      }

      function CreateMobileFooterTopMenu(data, parent, parentId) {
        var index = 0;
        jQuery.each(data.Items, function(i, item) {
          var footerLinkText = item.Text;
          footerLinkText = replaceFooterHTMLCharRef(footerLinkText);
          if ((footerLinkText != "SAI GLOBAL" && item.ParentId == parentId) && (footerLinkText != "NSAI SITES" && item.ParentId == parentId)) {
            index = index + 1;
            var anchor = {};
            anchor = jQuery("<a/>", {
              "href": "javascript:void(0)",
              "html": footerLinkText + "<i class=\"up\"></i><i class=\"down\"></i>",
              //"class": (index == 1) ? "tablinks active" : "tablinks",
              "class": "tablinks",
              "onclick": "OpentabLink(this,'MobileTab" + index + "')",
              "id": (index == 1) ? "defaultOpen" : "defaultOpen" + index
            });
            parent.append(anchor);
            CreateMobileSubMenuItems(item.Items, index, parent);
          }
          if (item.Items.length != 0) {
            CreateMobileFooterTopMenu(item, parent, parentId);
          }
        });
      }

      function CreateMobileSubMenuItems(items, index, parent) {
        var tabDv = {};
        tabDv = jQuery("<div>", {
          "id": "MobileTab" + index,
          "class": "tabcontent",
          "style": "display:none;"
        });
        var footertabflex = jQuery("<div>", {
          "class": "subtab"
        });
        tabDv.append(footertabflex);
        jQuery.each(items, function(i, item) {
          var footerLinkText = item.Text;
          footerLinkText = replaceFooterHTMLCharRef(footerLinkText);
          var anchor = {};
          if (item.Href != "") {
            var href = item.Href;
            if (href.substring(0, 1) == '/') {
              href = href;
            } else {
              if (href.substring(0, 1) != "h") {
                href = "/" + href;
              }
            }
            anchor = jQuery("<a/>", {
              "href": href,
              "text": footerLinkText,
              "class": "active-btn",
              "target": "_blank"
            });
            footertabflex.append(anchor);
          }
        });
        parent.append(tabDv);
      }

      function GenerateSocialMediaLink() {
        jQuery.ajax({
          type: 'POST',
          url: '/Components/Service/HomePageService.asmx/GetSocialMediaLinks',
          contentType: 'application/json; charset=utf-8',
          success: function(data) {
            if (data != null && data != undefined && data.d != null && data.d != undefined) {
              jQuery('.social-icons').empty();
              var socialMediaListHTML = "<span>" + data.d.MainTitle + "</span>";
              jQuery.each(data.d.SocialMediaLinksList, function(i, item) {
                socialMediaListHTML += '<a href="' + item.SocialMediaURL + '" target="_blank"> <img class="social-media-icon" alt="' + item.AlternateText + '" src="' + item.SocialMediaIconPath + '" /> </a>';
              });
              jQuery('.social-icons').html(socialMediaListHTML);
            }
          },
          error: function(error) {
            console.log(error);
          }
        });
        //<img class="icon-linkedin" src="/images/linkedin.svg" alt="">
        //    <img class="icon-youtube" src="/images/youtube.svg" alt="">
        //        <img class="icon-twitter" src="/images/twitter.svg" alt="">
      }
      // footer tabs script 3rd P
      function tabLink(evt, tabNumber) {
        var i, tabcontent, tablinks;
        tabcontent = document.getElementsByClassName("tabcontent");
        for (i = 0; i < tabcontent.length; i++) {
          tabcontent[i].style.display = "none";
        }
        tablinks = document.getElementsByClassName("tablinks");
        for (i = 0; i < tablinks.length; i++) {
          tablinks[i].className = tablinks[i].className.replace(" active", "");
        }
        document.getElementById(tabNumber).style.display = "block";
        evt.currentTarget.className += " active";
      }

      function OpentabLink(ctrl, tabNumber) {
        var isOpen = false;
        if ($('#' + tabNumber).hasClass('active') && $(ctrl).hasClass('active')) {
          isOpen = true;
        }
        $(".tabcontent").each(function(index) {
          $(this).hide();
        });
        $(".tablinks").each(function(index) {
          $(this).removeClass("active");
        });
        if (!isOpen) {
          $('#' + tabNumber).toggleClass('active').toggle();
          $(ctrl).toggleClass('active');
        }
      }
    </script>
    <!--copyright-->
  </div>
  <!--// Footer content -->
  <!--[if lt IE 9]>
        <script type="text/javascript" src="Assets/Scripts/Lib/html5shiv-printshiv.js"></script>
    <![endif]-->
  <script type="text/javascript" src="/Scripts/jquery-1.9.1.min.js"></script>
  <script type="text/javascript" src="/Scripts/Bootstrap V4.1.3/js/bootstrap.js" id="defaultBs"></script>
  <script type="text/javascript" src="/Scripts/responsive-tabs-2.3.2.js"></script>
  <script type="text/javascript" src="/Scripts/prettyCheckable.js"></script>
  <script type="text/javascript" src="/Scripts/chosen.jquery.js"></script>
  <script type="text/javascript" src="/Scripts/jquery.validate.min.js"></script>
  <script type="text/javascript" src="/Scripts/jquery.browserhtmlclass.min.js"></script>
  <script type="text/javascript" src="/Scripts/common.js"></script>
  <script type="text/javascript" src="/Scripts/common-functions.js"></script>
  <script type="text/javascript" src="/Scripts/content.js"></script>
  <script type="text/javascript" src="/Scripts/jquery-ui.js"></script>
  <script type="text/javascript" src="/Scripts/jquery.cookie.js"></script>
  <script type="text/javascript" src="/Scripts/URLHelper.js"></script>
  <ul class="ui-autocomplete ui-front ui-menu ui-widget ui-widget-content" id="ui-id-1" tabindex="0" style="display: none;"></ul>
  <span role="status" aria-live="assertive" aria-relevant="additions" class="ui-helper-hidden-accessible"></span>
  <script type="text/javascript" src="/Scripts/DeliveryRegionCountryMapping.js"></script>
  <script type="text/javascript" src="/Scripts/plugins/slide-common.js"></script>
  <script type="text/javascript" src="/Scripts/plugins/slide-main.js"></script>
  <script type="text/javascript">
    jQuery(document).ready(function($) {
      sessionStorage.clear();
      BindMasterCartSummaryDetails();
      jQuery.ajax({
        type: 'POST',
        url: '/Components/Service/HomePageService.asmx/GetSocialMediaLinks',
        contentType: 'application/json; charset=utf-8',
        success: function(data) {
          GenerateSocialMediaLinks(data, jQuery('#divSocialMediaLinks'));
        },
        error: function(error) {
          console.log(error);
        }
      });
    });

    function GenerateSocialMediaLinks(data, parent) {
      if (data != null && data != undefined && data.d != null && data.d != undefined) {
        jQuery('#divSocialMediaTitle').empty();
        jQuery('#divSocialMediaTitle').html("<p>" + data.d.MainTitle + "</p>");
        var socialMediaListHTML = "<ul>";
        jQuery.each(data.d.SocialMediaLinksList, function(i, item) {
          socialMediaListHTML += '<li><a href="' + item.SocialMediaURL + '" target="_blank"> <img class="social-media-icon" alt="' + item.AlternateText + '" src="' + item.SocialMediaIconPath + '" /> </a></li>';
        });
        socialMediaListHTML += "</ul>";
        parent.empty();
        parent.html(socialMediaListHTML);
      }
    }

    function BindMasterCartSummaryDetails() {
      var obj = {};
      obj.sku = "";
      obj.quantity = "";
      jQuery.ajax({
        type: 'POST',
        url: '/Components/Service/CartServices.asmx/GetCartInfo',
        data: JSON.stringify(obj),
        contentType: 'application/json; charset=utf-8',
        success: function(response) {
          jQuery('#cartSummaryDetails').empty();
          jQuery('#cartSummaryDetails').html(response.d);
          if (jQuery('.itemTotalCount').val() != undefined) {
            if (jQuery('.itemTotalCount').val() == 1) {
              jQuery('#CartSummaryText').html("(" + jQuery('.itemTotalCount').val() + " item) ");
            } else {
              jQuery('#CartSummaryText').html("(" + jQuery('.itemTotalCount').val() + " items) ");
            }
            jQuery('#cartSummaryPrice').html(jQuery('.itemTotalPrice').val());
            jQuery('#CartCountSpan').html(jQuery('.itemTotalCount').val());
          } else {
            jQuery('#CartSummaryText').html('');
            jQuery('#cartSummaryPrice').html('');
            jQuery('#CartCountSpan').html("0");
          }
          if (parseInt(jQuery('#hdnTotalCount').val()) === 0) {
            jQuery('#CartCountSpan').removeClass('notif-number');
            jQuery('#divCheckout').hide();
            jQuery('#CartCountSpan').hide();
          } else {
            jQuery('#CartCountSpan').addClass('notif-number');
            jQuery('#divCheckout').show();
            jQuery('#CartCountSpan').show();
          }
          jQuery("#cartSummaryDetails .aspNetHidden").remove();
          jQuery('.button-more').hide();
          var itemsL = jQuery('#cartSummaryDetails').children('.product-display').size();
          if (itemsL > 3) {
            jQuery('.button-more').show().on('click', function() {
              jQuery(this).hide();
              jQuery('#cartSummaryDetails .product-display').show();
            });
          } else {
            jQuery('.button-more').hide();
          }
        },
        error: function(xmlHttpRequest, textStatus, errorThrown) {
          console.log("responseText: " + xmlHttpRequest.responseText);
          console.log("textStatus: " + textStatus);
          console.log("errorThrown: " + errorThrown);
        }
      });
    }
    //------------------- Analytics Datalayer Push Codes
    function PushCheckoutToGoogleAnalytics(step) {
      logger.debug("Start of PushCheckoutToGoogleAnalytics, Step" + step);
      var action = parseInt(step) + parseInt(1);
      var action_option = 'guest';
      if (jQuery("#userdetailsLoggedIn").val() != undefined && jQuery("#userdetailsLoggedIn").val() != '') {
        var userDetailsDataJson = jQuery.parseJSON(jQuery("#userdetailsLoggedIn").val());
        if (userDetailsDataJson != undefined && userDetailsDataJson != '') {
          action_option = 'user';
        }
      }
      var currency = readCookie("PreferredCurrency");
      var region = readCookie("RegionBasedOnCountry");
      dataLayer.push({
        'ecom-region': region,
        'ecom-currency': currency,
        'event': 'ecom-checkout-step' + step,
        'ecommerce': {
          'checkout': {
            'actionField': {
              'step': action,
              'option': action_option
            } //2 guest
          }
        }
      });
      logger.debug("End of PushCheckoutToGoogleAnalytics, Step" + step);
    }

    function PushOrderSummaryToGoogleAnalytics(step) {
      logger.debug("Start of PushOrderSummaryToGoogleAnalytics");
      var action = parseInt(step) + parseInt(1);
      var currency = readCookie("PreferredCurrency");
      var region = readCookie("RegionBasedOnCountry");
      //change pass the ecom-region, ecom-currency as a parameter of this fuction and replace the below hardcoded values
      dataLayer.push({
        'ecom-region': region,
        'ecom-currency': currency,
        'event': 'ecom-checkout-step' + step,
        'ecommerce': {
          'checkout': {
            'actionField': {
              'step': action
            } //2 guest
          }
        }
      });
      logger.debug("End of PushOrderSummaryToGoogleAnalytics");
    }

    function PushPaymentOptionToGoogleAnalytics(step, paymet_option) {
      logger.debug("Start of PushPaymentOptionToGoogleAnalytics");
      var action = parseInt(step) + parseInt(1);
      var currency = readCookie("PreferredCurrency");
      var region = readCookie("RegionBasedOnCountry");
      dataLayer.push({
        'ecom-region': region,
        'ecom-currency': currency,
        'event': 'ecom-checkout-step' + step,
        'ecommerce': {
          'checkout': {
            'actionField': {
              'step': action,
              'option': paymet_option
            } //2 guest
          }
        }
      });
      logger.debug("End of PushPaymentOptionToGoogleAnalytics");
    }
    //call this from Product Pages (For Each Variation)
    function PushStandardDetailToGoogleAnalytics(products, currencyCode, countryName) {
      if (countryName == "" || countryName == undefined) {
        countryName = "Australia";
      }
      if (currencyCode == undefined || currencyCode == "") {
        currencyCode = "AUD";
      }
      var region = GetReionByCountryName(countryName);
      if (region == "" || region == undefined) {
        region = "APAC";
      }
      dataLayer.push({
        'ecom-region': region,
        'ecom-currency': currencyCode,
        'ecommerce': {
          'currencyCode': currencyCode,
          'detail': {
            'products': products
          }
        }
      });
    }

    function PushStandardCartToGoogleAnalytics(products) {
      var currencyCode = readCookie("PreferredCurrency");
      var region = readCookie("RegionBasedOnCountry");
      if (currencyCode == undefined || currencyCode == "") {
        currencyCode = "AUD";
      }
      if (region == "" || region == undefined) {
        region = "APAC";
      }
      dataLayer.push({
        'ecom-region': region,
        'ecom-currency': currencyCode,
        'event': 'ecom-addtocart',
        'ecommerce': {
          'currencyCode': currencyCode,
          'add': {
            'products': products
          }
        }
      });
    }
    //Training details page add to cart event
    function PushTrainingCartToGoogleAnalytics(products) {
      var currencyCode = readCookie("PreferredCurrency");
      var region = readCookie("RegionBasedOnCountry");
      if (currencyCode == undefined || currencyCode == "") {
        currencyCode = "AUD";
      }
      if (region == "" || region == undefined) {
        region = "APAC";
      }
      dataLayer.push({
        'ecom-region': region,
        'ecom-currency': currencyCode,
        'event': 'ecom-addtocart',
        'ecommerce': {
          'currencyCode': currencyCode,
          'add': {
            'products': products
          }
        }
      });
    }
    //Details - Training products browsed are pushed 
    function PushTrainingDetailToGoogleAnalytics(products, currencyCode, countryName) {
      if (countryName == "" || countryName == undefined) {
        countryName = "Australia";
      }
      if (currencyCode == undefined || currencyCode == "") {
        currencyCode = "AUD";
      }
      var region = GetReionByCountryName(countryName);
      if (region == "" || region == undefined) {
        region = "APAC";
      }
      dataLayer.push({
        'ecom-region': region,
        'ecom-currency': currencyCode,
        'ecommerce': {
          'currencyCode': currencyCode,
          'detail': {
            'products': products
          }
        }
      });
    }

    function GetandSetRegionCookie() {
      var countryName = readCookie("PreferredCountryName");
      if (countryName == "" || countryName == undefined) {
        countryName = "Australia";
      }
      jQuery.ajax({
        type: 'POST',
        url: '/Components/Service/CountryRegionLocation.asmx/GetRegionNameByCountryName',
        async: false,
        data: JSON.stringify({
          countryName: countryName
        }),
        contentType: 'application/json; charset=utf-8',
        success: function(response) {
          var region = response.d;
          createCookie("RegionBasedOnCountry", region, 1, true);
        },
        error: function(xmlHttpRequest, textStatus, errorThrown) {
          console.log("responseText: " + xmlHttpRequest.responseText);
          console.log("textStatus: " + textStatus);
          console.log("errorThrown: " + errorThrown);
        }
      });
    }

    function GetReionByCountryName(countryName) {
      jQuery.ajax({
        type: 'POST',
        url: '/Components/Service/CountryRegionLocation.asmx/GetRegionNameByCountryName',
        async: false,
        data: JSON.stringify({
          countryName: countryName
        }),
        contentType: 'application/json; charset=utf-8',
        success: function(response) {
          return response.d;
        },
        error: function(xmlHttpRequest, textStatus, errorThrown) {
          console.log("responseText: " + xmlHttpRequest.responseText);
          console.log("textStatus: " + textStatus);
          console.log("errorThrown: " + errorThrown);
        }
      });
    }

    function PushOrderConfirmationToGoogleAnalytics(products, purchase, total) {
      logger.debug("Start of PushOrderConfirmationToGoogleAnalytics");
      try {
        var currencyCode = readCookie("PreferredCurrency");
        var region = readCookie("RegionBasedOnCountry");
        dataLayer.push({
          'ecom-region': region,
          'ecom-currency': currencyCode,
          'ecom-total': total,
          'event': 'ecom-checkout-thankyou',
          'ecommerce': {
            'currencyCode': currencyCode,
            'purchase': {
              'actionField': purchase,
              'products': products
            }
          }
        });
      } catch (e) {
        logger.debug("Error in PushOrderConfirmationToGoogleAnalytics : " + e.message.toString());
      }
      logger.debug("End of PushOrderConfirmationToGoogleAnalytics");
    }

    function PushCartReviewToGoogleAnalytics(products) {
      var currencyCode = readCookie("PreferredCurrency");
      var region = readCookie("RegionBasedOnCountry");
      if (currencyCode == undefined || currencyCode == "") {
        currencyCode = "AUD";
      }
      if (region == "" || region == undefined) {
        region = "APAC";
      }
      dataLayer.push({
        'ecom-region': region,
        'ecom-currency': currencyCode,
        'event': 'ecom-reviewcart',
        'ecommerce': {
          'currencyCode': currencyCode,
          'checkout': {
            'actionField': {
              'step': 1,
              'option': 'infostore'
            },
            'products': products
          }
        }
      });
    }

    function PushCartRemovalToGoogleAnalytics(products) {
      var currencyCode = readCookie("PreferredCurrency");
      var region = readCookie("RegionBasedOnCountry");
      if (currencyCode == undefined || currencyCode == "") {
        currencyCode = "AUD";
      }
      if (region == "" || region == undefined) {
        region = "APAC";
      }
      dataLayer.push({
        'ecom-region': region,
        'ecom-currency': currencyCode,
        'event': 'ecom-reviewcart',
        'ecommerce': {
          'currencyCode': currencyCode,
          'remove': {
            'products': products
          }
        }
      });
    }

    function PushCheckoutStepToGoogleAnalytics(step, action_option) {
      var action = parseInt(step) + parseInt(1);
      var currency = readCookie("PreferredCurrency");
      var region = readCookie("RegionBasedOnCountry");
      dataLayer.push({
        'ecom-region': region,
        'ecom-currency': currency,
        'event': 'ecom-checkout-step' + step,
        'ecommerce': {
          'checkout': {
            'actionField': {
              'step': action,
              'option': action_option
            } //2 guest
          }
        }
      });
    }
  </script>
  <script type="text/javascript" src="/Scripts/responsive-menu.js"></script>
  <script id="Cookiebot" src="https://consent.cookiebot.com/uc.js" data-cbid="8087095a-afcb-454e-affc-70a48eafeb3a" type="text/javascript" async=""></script>
  <script type="text/javascript" src="/Scripts/PublisherDirectoryPage.js"></script>
</form>

Text Content

Powered by Cookiebot
 * Consent
 * Details
 * [#IABV2SETTINGS#]
 * About


OUR WEBSITE USES COOKIES

We use cookies to help manage your preferences, provide statistical analysis and
tailor the information you may see on our products and services. If you are
happy to accept these cookies please click the button below or simply continue
to use our website.
Consent Selection
Necessary

Preferences

Statistics

Marketing

Show details
Necessary 11

Necessary cookies help make a website usable by enabling basic functions like
page navigation and access to secure areas of the website. The website cannot
function properly without these cookies.
Cookiebot
1
Learn more about this provider
CookieConsentStores the user's cookie consent state for the current domain
Expiry: 1 yearType: HTTP
Google
2
Learn more about this provider
rc::aThis cookie is used to distinguish between humans and bots. This is
beneficial for the website, in order to make valid reports on the use of their
website.
Expiry: PersistentType: HTML
rc::cThis cookie is used to distinguish between humans and bots.
Expiry: SessionType: HTML
IBM
1
Learn more about this provider
SESS#Preserves users states across page requests.
Expiry: 1 dayType: HTTP
LinkedIn
1
Learn more about this provider
li_gcStores the user's cookie consent state for the current domain
Expiry: 2 yearsType: HTTP
New Relic
1
Learn more about this provider
JSESSIONIDPreserves users states across page requests.
Expiry: SessionType: HTTP
Sai Global
4
Learn more about this provider
ASP.NET_SessionIdPreserves the visitor's session state across page requests.
Expiry: SessionType: HTTP
AWSELBUsed to distribute traffic to the website on several servers in order to
optimise response times.
Expiry: 1 dayType: HTTP
AWSELBCORSRegisters which server-cluster is serving the visitor. This is used in
context with load balancing, in order to optimize user experience.
Expiry: 1 dayType: HTTP
AKA_A2This cookie is necessary for the cache function. A cache is used by the
website to optimize the response time between the visitor and the website. The
cache is usually stored on the visitor’s browser.
Expiry: 1 dayType: HTTP
s.go-mpulse.net
1
RTThis cookie is used to identify the visitor through an application. This
allows the visitor to login to a website through their LinkedIn application for
example.
Expiry: 6 daysType: HTTP
Preferences 3

Preference cookies enable a website to remember information that changes the way
the website behaves or looks, like your preferred language or the region that
you are in.
LinkedIn
2
Learn more about this provider
lang [x2]Remembers the user's selected language version of a website
Expiry: SessionType: HTTP
cdn.sajari.net
1
i18nextLngDetermines the preferred language of the visitor. Allows the website
to set the preferred language upon the visitor's re-entry.
Expiry: PersistentType: HTML
Statistics 24

Statistic cookies help website owners to understand how visitors interact with
websites by collecting and reporting information anonymously.
Google
7
Learn more about this provider
collectUsed to send data to Google Analytics about the visitor's device and
behavior. Tracks the visitor across devices and marketing channels.
Expiry: SessionType: Pixel
_dc_gtm_UA-# [x2]Used by Google Tag Manager to control the loading of a Google
Analytics script tag.
Expiry: 1 dayType: HTTP
_ga [x2]Registers a unique ID that is used to generate statistical data on how
the visitor uses the website.
Expiry: 2 yearsType: HTTP
_gid [x2]Registers a unique ID that is used to generate statistical data on how
the visitor uses the website.
Expiry: 1 dayType: HTTP
Hotjar
7
Learn more about this provider
_hjIncludedInPageviewSampleUsed to detect whether the user navigation and
interactions are included in the website’s data analytics.
Expiry: 1 dayType: HTTP
_hjIncludedInSessionSampleRegisters data on visitors' website-behaviour. This is
used for internal analysis and website optimization.
Expiry: 1 dayType: HTTP
_hjAbsoluteSessionInProgressThis cookie is used to count how many times a
website has been visited by different visitors - this is done by assigning the
visitor an ID, so the visitor does not get registered twice.
Expiry: 1 dayType: HTTP
_hjFirstSeenThis cookie is used to determine if the visitor has visited the
website before, or if it is a new visitor on the website.
Expiry: 1 dayType: HTTP
_hjSession_#Collects statistics on the visitor's visits to the website, such as
the number of visits, average time spent on the website and what pages have been
read.
Expiry: 1 dayType: HTTP
_hjSessionUser_#Collects statistics on the visitor's visits to the website, such
as the number of visits, average time spent on the website and what pages have
been read.
Expiry: 1 yearType: HTTP
_hjTLDTestRegisters statistical data on users' behaviour on the website. Used
for internal analytics by the website operator.
Expiry: SessionType: HTTP
LinkedIn
1
Learn more about this provider
AnalyticsSyncHistoryUsed in connection with data-synchronization with
third-party analysis service.
Expiry: 29 daysType: HTTP
Microsoft
5
Learn more about this provider
c.gifCollects data on the user’s navigation and behavior on the website. This is
used to compile statistical reports and heatmaps for the website owner.
Expiry: SessionType: Pixel
CLIDCollects data on the user’s navigation and behavior on the website. This is
used to compile statistical reports and heatmaps for the website owner.
Expiry: 1 yearType: HTTP
_cltkRegisters statistical data on users' behaviour on the website. Used for
internal analytics by the website operator.
Expiry: SessionType: HTML
_clckCollects data on the user’s navigation and behavior on the website. This is
used to compile statistical reports and heatmaps for the website owner.
Expiry: 1 yearType: HTTP
_clskRegisters statistical data on users' behaviour on the website. Used for
internal analytics by the website operator.
Expiry: 1 dayType: HTTP
New Relic
2
Learn more about this provider
events/1/#Used to monitor website performance for statistical purposes.
Expiry: SessionType: Pixel
jserrors/1/#Pending
Expiry: SessionType: Pixel
Sai Global
2
Learn more about this provider
_hjRecordingLastActivitySets a unique ID for the session. This allows the
website to obtain data on visitor behaviour for statistical purposes.
Expiry: SessionType: HTML
hjViewportIdSets a unique ID for the session. This allows the website to obtain
data on visitor behaviour for statistical purposes.
Expiry: SessionType: HTML
Marketing 37

Marketing cookies are used to track visitors across websites. The intention is
to display ads that are relevant and engaging for the individual user.
Google
7
Learn more about this provider
IDEUsed by Google DoubleClick to register and report the website user's actions
after viewing or clicking one of the advertiser's ads with the purpose of
measuring the efficacy of an ad and to present targeted ads to the user.
Expiry: 1 yearType: HTTP
pagead/landing [x2]Collects data on visitor behaviour from multiple websites, in
order to present more relevant advertisement - This also allows the website to
limit the number of times that they are shown the same advertisement.
Expiry: SessionType: Pixel
test_cookieUsed to check if the user's browser supports cookies.
Expiry: 1 dayType: HTTP
ads/ga-audiencesUsed by Google AdWords to re-engage visitors that are likely to
convert to customers based on the visitor's online behaviour across websites.
Expiry: SessionType: Pixel
pagead/1p-user-list/#Tracks if the user has shown interest in specific products
or events across multiple websites and detects how the user navigates between
sites. This is used for measurement of advertisement efforts and facilitates
payment of referral-fees between websites.
Expiry: SessionType: Pixel
_gcl_auUsed by Google AdSense for experimenting with advertisement efficiency
across websites using their services.
Expiry: 3 monthsType: HTTP
LinkedIn
4
Learn more about this provider
bcookieUsed by the social networking service, LinkedIn, for tracking the use of
embedded services.
Expiry: 2 yearsType: HTTP
bscookieUsed by the social networking service, LinkedIn, for tracking the use of
embedded services.
Expiry: 2 yearsType: HTTP
lidcUsed by the social networking service, LinkedIn, for tracking the use of
embedded services.
Expiry: 1 dayType: HTTP
UserMatchHistoryUsed to track visitors on multiple websites, in order to present
relevant advertisement based on the visitor's preferences.
Expiry: 29 daysType: HTTP
Microsoft
11
Learn more about this provider
MUID [x2]Used widely by Microsoft as a unique user ID. The cookie enables user
tracking by synchronising the ID across many Microsoft domains.
Expiry: 1 yearType: HTTP
SRM_BTracks the user’s interaction with the website’s search-bar-function. This
data can be used to present the user with relevant products or services.
Expiry: 1 yearType: HTTP
ANONCHKRegisters data on visitors from multiple visits and on multiple websites.
This information is used to measure the efficiency of advertisement on websites.
Expiry: 1 dayType: HTTP
SMRegisters a unique ID that identifies the user's device during return visits
across websites that use the same ad network. The ID is used to allow targeted
ads.
Expiry: SessionType: HTTP
_uetsidUsed to track visitors on multiple websites, in order to present relevant
advertisement based on the visitor's preferences.
Expiry: PersistentType: HTML
_uetsid_expContains the expiry-date for the cookie with corresponding name.
Expiry: PersistentType: HTML
_uetvidUsed to track visitors on multiple websites, in order to present relevant
advertisement based on the visitor's preferences.
Expiry: PersistentType: HTML
_uetvid_expContains the expiry-date for the cookie with corresponding name.
Expiry: PersistentType: HTML
_uetsidCollects data on visitor behaviour from multiple websites, in order to
present more relevant advertisement - This also allows the website to limit the
number of times that they are shown the same advertisement.
Expiry: 1 dayType: HTTP
_uetvidUsed to track visitors on multiple websites, in order to present relevant
advertisement based on the visitor's preferences.
Expiry: 1 yearType: HTTP
Quantcast
1
Learn more about this provider
mcCollects data on the user's visits to the website, such as what pages have
been loaded. The registered data is used for targeted ads.
Expiry: 13 monthsType: HTTP
Sai Global
2
Learn more about this provider
_hjRecordingEnabledThis cookie is used to identify the visitor and optimize
ad-relevance by collecting visitor data from multiple websites – this exchange
of visitor data is normally provided by a third-party data-center or
ad-exchange.
Expiry: SessionType: HTML
EktGUIDThis cookie is used to collect information on a visitor. This information
will become an ID string with information on a specific visitor – ID information
strings can be used to target groups with similar preferences, or can be used by
third-party domains or ad-exchanges.
Expiry: 1 yearType: HTTP
Taboola
1
Learn more about this provider
eng_mtTracks the conversion rate between the user and the advertisement banners
on the website - This serves to optimise the relevance of the advertisements on
the website.
Expiry: PersistentType: HTML
YouTube
10
Learn more about this provider
VISITOR_INFO1_LIVETries to estimate the users' bandwidth on pages with
integrated YouTube videos.
Expiry: 179 daysType: HTTP
YSCRegisters a unique ID to keep statistics of what videos from YouTube the user
has seen.
Expiry: SessionType: HTTP
ytidb::LAST_RESULT_ENTRY_KEYStores the user's video player preferences using
embedded YouTube video
Expiry: PersistentType: HTML
yt-remote-cast-availableStores the user's video player preferences using
embedded YouTube video
Expiry: SessionType: HTML
yt-remote-cast-installedStores the user's video player preferences using
embedded YouTube video
Expiry: SessionType: HTML
yt-remote-connected-devicesStores the user's video player preferences using
embedded YouTube video
Expiry: PersistentType: HTML
yt-remote-device-idStores the user's video player preferences using embedded
YouTube video
Expiry: PersistentType: HTML
yt-remote-fast-check-periodStores the user's video player preferences using
embedded YouTube video
Expiry: SessionType: HTML
yt-remote-session-appStores the user's video player preferences using embedded
YouTube video
Expiry: SessionType: HTML
yt-remote-session-nameStores the user's video player preferences using embedded
YouTube video
Expiry: SessionType: HTML
s.go-mpulse.net
1
_boomr_akamaiXhrRetryCollects information on user preferences and/or interaction
with web-campaign content - This is used on CRM-campaign-platform used by
website owners for promoting events or products.
Expiry: PersistentType: HTML
Unclassified 17
Unclassified cookies are cookies that we are in the process of classifying,
together with the providers of individual cookies.
IBM
9
Learn more about this provider
Silverpop_cookiePending
Expiry: SessionType: HTTP
SP_PAGE_VISIT.18614049Pending
Expiry: 1 dayType: HTTP
SP_PAGE_VISIT.18656219Pending
Expiry: 1 dayType: HTTP
SP_PAGE_VISIT.18705815Pending
Expiry: 1 dayType: HTTP
SP_PAGE_VISIT.18752629Pending
Expiry: 1 dayType: HTTP
SP_PAGE_VISIT.18752633Pending
Expiry: 1 dayType: HTTP
SP_PAGE_VISIT.18754016Pending
Expiry: 1 dayType: HTTP
SP_PAGE_VISIT.18754055Pending
Expiry: 1 dayType: HTTP
VIEWPending
Expiry: 38 monthsType: HTTP
Sai Global
8
Learn more about this provider
checkout_emailPending
Expiry: SessionType: HTTP
currentBrowserUrlPending
Expiry: 1 dayType: HTTP
ecmPending
Expiry: SessionType: HTTP
ek_TimezoneOffsetPending
Expiry: SessionType: HTTP
EkAnalyticsPending
Expiry: 1 yearType: HTTP
GoogleAnalyticsUIDPending
Expiry: 2 yearsType: HTTP
TrackRegisteredUserGACookiePending
Expiry: 1 dayType: HTTP
UrlPreferencePending
Expiry: 1 yearType: HTTP
Cross-domain consent[#BULK_CONSENT_DOMAINS_COUNT#] [#BULK_CONSENT_TITLE#]
List of domains your consent applies to: [#BULK_CONSENT_DOMAINS#]
Cookie declaration last updated on 04.07.22 by Cookiebot


[#IABV2_TITLE#]

[#IABV2_BODY_INTRO#]
[#IABV2_BODY_LEGITIMATE_INTEREST_INTRO#]
[#IABV2_BODY_PREFERENCE_INTRO#]
[#IABV2_LABEL_PURPOSES#]
[#IABV2_BODY_PURPOSES_INTRO#]
[#IABV2_BODY_PURPOSES#]
[#IABV2_LABEL_FEATURES#]
[#IABV2_BODY_FEATURES_INTRO#]
[#IABV2_BODY_FEATURES#]
[#IABV2_LABEL_PARTNERS#]
[#IABV2_BODY_PARTNERS_INTRO#]
[#IABV2_BODY_PARTNERS#]

Cookies are small text files that can be used by websites to make a user's
experience more efficient.


We store cookies on your device if they are strictly necessary for the operation
of this site. For other types of cookies we may need your permission.

 

This site uses different types of cookies. Some cookies are placed by third
party services that help us manage your preferences, provide statistical
analysis and tailor the information you may see on our products and services.

 

You can find out more about our use of cookies in our Privacy Policy. 

[#OOI_PERSONAL_INFORMATION#]
Use necessary cookies only Allow selection Customize

Allow all cookies
Powered by Cookiebot by Usercentrics
Skip to content
Close

- Show main menu navigation below - Close main menu navigation below
Infostore
 *   Find Standards
   * Advanced Search
   * Standards Categories - ICS Codes
   * Popular Publishers
   * Standards by Publisher
   * Standards by Industry
   * Free Standards
   * Free alert service - StandardsWatch
   * Manage your Standards
   Find Standards
 *   Solutions
   * Standards Management - i2i
   * Metals Infobase
   * Materials Infobase
   * Free alert service - StandardsWatch
   * Logicom
   * Managed Content Services
   * Testimonials
   * Log in to i2i
   Solutions
 *   Industry
   * Building & Construction
   * Medical Devices
   * Precision Engineering
   * All Industries
   Industry
 *   Resources
   * All Resources
   Resources
 *   Need Help?
   * Contact Us
   * PDF DRM Information
   * How to Purchase Standards
   * Multi-user PDF Information
   * Frequently Asked Questions
   Need Help?

0 CART


Credit card payment only is accepted for this order because it contains a mix of
both publications and training products.



My Cart
×
There are no items in your cart
×
Promotional code




SUBTOTAL
You have agreed to have read the document license rules.
I have read all course pre-enrolment information

Please Confirm that you have read all course pre-enrolment information
Proceed to Checkout
Login or Create Account

Success! Added to cart
×

SUBTOTAL
Continue Shopping
LOGIN

Log in to Infostore
×
Email Address*

Password*

Keep me signed in
Forgot password?
Please Login or Create an Account so you can add users to your Multi user PDF
Later. More info
Create account

I want to create an account


Invalid username/password. Please try again.




LINKS

Log in to other SAI Global platforms:
 * i2i
 * Standards Online (SOL)
   

 *   Find Standards
   * Advanced Search
   * Standards Categories - ICS Codes
   * Popular Publishers
   * Standards by Publisher
   * Standards by Industry
   * Free Standards
   * Free alert service - StandardsWatch
   * Manage your Standards
   Find Standards
 *   Solutions
   * Standards Management - i2i
   * Metals Infobase
   * Materials Infobase
   * Free alert service - StandardsWatch
   * Logicom
   * Managed Content Services
   * Testimonials
   * Log in to i2i
   Solutions
 *   Industry
   * Building & Construction
   * Medical Devices
   * Precision Engineering
   * All Industries
   Industry
 *   Resources
   * All Resources
   Resources
 *   Need Help?
   * Contact Us
   * PDF DRM Information
   * How to Purchase Standards
   * Multi-user PDF Information
   * Frequently Asked Questions
   Need Help?

We noticed you’re not on the correct regional site. Switch to our EMEA site for
the best experience.
Go to EMEA site X

SAI Global Standards is now part of Intertek, a leading Total Quality Assurance
provider to industries worldwide.
Thanks, don't show me this message
Search
Please enter a keyword to search

 * Please Wait...
   
   
   
   
   
   API STD 521:2020
   
   Current
   Current
   Current The latest, up-to-date edition.
   Add to Watchlist
   This Standard has been added successfully to your Watchlist.
   Please visit My Watchlist to see all standards that you are watching.
   Please log in or create an account to add this standard to your Watchlist.
   We could not add this standard to your Watchlist.
   Please retry or contact support for assistance.
   We could not add this standard to your Watchlist.
   Please retry or contact support for assistance.
   You have already added this standard to your Watchlist.
   Visit My Watchlist to view the full list.
   
   
   Pressure-relieving and Depressuring Systems
   
   : 
   
   Available format(s):  Hardcopy, PDF
   
   Language(s):  English
   
   Published date:  06-01-2020
   
   Publisher:  American Petroleum Institute
   
   Add to Watchlist
   
   
   
   ABSTRACT - (SHOW BELOW) - (HIDE BELOW)
   
   This standard is applicable to pressure-relieving and vapor depressuring
   systems.
   
   
   GENERAL PRODUCT INFORMATION - (SHOW BELOW) - (HIDE BELOW)
   
   Document Type Standard ISBN Pages Product Note This product is unavailable in
   Cuba, Iran, North Korea, Syria THIS STANDARD ALSO REFERES TO : ASTM A515,ISA
   TR84.02,NFPA HAZ01 Published Publisher American Petroleum Institute Status
   Current Supersedes
    * API 521 : 2014
   
   
   CROSS SELL - (SHOW BELOW) - (HIDE BELOW)
   
   
   
   
   CATEGORIES ASSOCIATED WITH THIS STANDARD - (SHOW BELOW) - (HIDE BELOW)
   
   
   
   
   SUB-CATEGORIES ASSOCIATED WITH THIS STANDARD - (SHOW BELOW) - (HIDE BELOW)
   
   
    * Email this page
    * Print
    * Copy quick link to this Standard
   
   
   ADD TO CART
   
   AUD CAD CHF CNY DKK EUR GBP HKD IDR INR JPY KRW MXN NOK NZD SEK SGD USD ZAR
   
   USD
   
   
   
   
   
   US$328.00
   
   Excluding Tax where applicable
   Product Format
   Hardcopy - English
   
   
   Hardcopy - English PDF - English - DRM
   Request Quote
   Quantity
   01
   
   
   01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20
   I agree to the document license rules.
   
   Please confirm that you agree to the document license rules for this
   documents before adding to cart.
   Buy now
   Add to cart
   Please Login or Create an Account so you can add users to your Multi user PDF
   Later.
   Login
   Create account
   
   
   ABSTRACT - (SHOW BELOW) - (HIDE BELOW)
   
   This standard is applicable to pressure-relieving and vapor depressuring
   systems.
   
   
   GENERAL PRODUCT INFORMATION - (SHOW BELOW) - (HIDE BELOW)
   
   Document Type Standard ISBN Pages Product Note This product is unavailable in
   Cuba, Iran, North Korea, Syria THIS STANDARD ALSO REFERES TO : ASTM A515,ISA
   TR84.02,NFPA HAZ01 Published Publisher American Petroleum Institute Status
   Current Supersedes
    * API 521 : 2014
   
   
   CATEGORIES ASSOCIATED WITH THIS STANDARD - (SHOW BELOW) - (HIDE BELOW)
   
   
   
   
   SUB-CATEGORIES ASSOCIATED WITH THIS STANDARD - (SHOW BELOW) - (HIDE BELOW)
   
   
   View more information
   
   Unfortunately, this product is not available for purchase in your region.
   
   
   
   
    * ACCESS YOUR STANDARDS ONLINE WITH A SUBSCRIPTION
      
      Features
      
      * Simple online access to standards, technical information and regulations
      * Critical updates of standards and customisable alerts and notifications
      * Multi - user online standards collection: secure, flexibile and cost
        effective
      
      Learn more on subscription solutions
      
      Or
      
      Get in touch with us
   
   ×
   
   HARDCOPY - ENGLISH FORMAT
   
   Loading..
   
   ×
   
   PRODUCT FORMATS
   
   PDF 1 User
   Print 2 copies, save a backup to USB or network,
   locked to one computer.
   Software installation required may be required
   Printed
   Spiral or Perfect (glued along the spine) Bound
   - depending on the standard
   ×
   
   STANDARDSWATCH
   
   A free alerting service to track changes to standards.
   
   Learn more
   
   
   ×
   
   STANDARDSWATCH
   
   
   ×
   
   
   
   
   
   ×
   
   PLEASE SELECT YOUR OPTION.
   
   It seems you are away from your “home” country. Do you wish to be re-directed
   to your “home” store? If you choose “YES”, you will see product, taxation,
   and shipping information relevant to your country. If you select “NO”, the
   current store's conditions will apply. 
   
   

×



×

LOG IN TO ADD USERS TO YOUR PDF

Once you've completed your purchase you'll get a link to My Orders on:
-the Confirmation page of check out
-and by email

You'll be able to access your Multi User Orders to add Users.


×

ALERT!

You have selected more than three (3) participants. Please contact our Customer
Service team.

×

ALERT!

You have already added this product in the cart.  If you would like to add
additional copies of this product please adjust the quantity in the cart.  

For more than 20 copies, please contact our  Customer Support team
on 201-986-1131 / 888-454-2688.



×

ALERT!

You have selected more than three (3) trainings. Please contact our Customer
Service team.
Please contact our Customer Service team on Email: sales@saiglobal.com Phone:
131 242 (Within Australia)



×

ALERT!

You have already added a product with different Currency. Please change the
currency.



×

DOCUMENT LICENSE RULE:


×

DOCUMENT LICENSE RULE:


×

ALERT!

This product cannot be added to your cart right now.

Please contact our Customer Service team on Email: uspubsales@saiglobal.com

Phone: +1 201-986-1131 / +1 888-454-2688



×

ALERT!

You have already saved 6 Quotes. Please contact our Customer Service Team.



Corporate WebsiteCompany DetailsAbout UsCorporate Governance
STANDARDS
Standards ManagementSearch StandardsPublishersPublisher DirectoryCategories
SUBSCRIPTIONS
Content Management SoftwareStandards ManagementStandardsWatchLog In to
i2iEurolawMetals InfobaseMaterials InfobaseLogicomOpportunity ManagerPublisher
ServicesSolutionsTestimonials
KEY STANDARDS
ManagementSafetyMedical DevicesBuilding & ConstructionPrecision
EngineeringMiningElectricalEnvironmental
LEGAL
Standards Terms & ConditionsPrivacy PolicyWeb Privacy & SecurityReturns Policy
CUSTOMER SUPPORT
Frequently Asked QuestionsDRM InformationContact UsContact Other SAI Global
Businesses
STANDARDSSUBSCRIPTIONSKEY STANDARDSLEGALCUSTOMER SUPPORT
Standards ManagementSearch StandardsPublishers
Publisher DirectoryCategories
Content Management SoftwareStandards ManagementStandardsWatchLog In to
i2iEurolawMetals Infobase
Materials InfobaseLogicomOpportunity ManagerPublisher
ServicesSolutionsTestimonials
ManagementSafetyMedical DevicesBuilding & Construction
Precision EngineeringMiningElectricalEnvironmental
Standards Terms & ConditionsPrivacy Policy
Web Privacy & SecurityReturns Policy
Frequently Asked QuestionsDRM Information
Contact UsContact Other SAI Global Businesses
CONNECT WITH SAI GLOBAL

SAI Global Standards, 205 West Wacker Drive, Suite 1800 Chicago, IL 60606
Call: +1 416 401 8730

© 2022 SAI Global Australia Pty Ltd ABN 14 144 974 087