It looks like this is a web page, not a feed. I looked for a feed associated with this page, but couldn't find one. Please enter the address of your feed to validate.

Source: http://beta-doterra.myvoffice.com/Application/index.cfm?EnrollerID=458046&Theme=DefaultTheme&ReturnURL=www.vpesports.com/how-to-acquire-the-complimentary-call-of-duty-x-monster-energy-operator-skin-in-modern-warfare-3-and-warzone/

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
  2. <html>
  3. <head>
  4. <meta property="og:title" content="Essential Oils Pure and Natural | dōTERRA">
  5. <meta property="og:description" content="Discover how essential oils can transform the way you manage your health.">
  6. <meta property="og:type" content="website">
  7. <meta property="og:image" content="https://beta-doterra.myvoffice.com/pdf/en/Instagram_Image.png">
  8. <meta property="og:image:width" content="1200">
  9. <meta property="og:image:height" content="630">
  10. <meta property="og:url" content="https://beta-doterra.myvoffice.com/Application/index.cfm">
  11. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  12. <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0"/>
  13. <!-- Google Tag Manager -->
  14. <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
  15. new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
  16. j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
  17. 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
  18. })(window,document,'script','dataLayer','GTM-KKCSWT4');</script>
  19. <!-- End Google Tag Manager -->
  20. <link rel="stylesheet" href="/semantic/semantic.min.css" type="text/css">
  21. <script language="JavaScript" type="text/javascript" src="https://beta-doterra.myvoffice.com/evo/scripts/jquery-3.6.0.min.js"></script>
  22. <script src="/semantic/semantic.min.js"></script>
  23. <script language="JavaScript" type="text/javascript" src="https://beta-doterra.myvoffice.com/evo/scripts/evo_events_popup.js"></script>
  24. <script language="JavaScript" type="text/javascript" src="https://beta-doterra.myvoffice.com/evo/scripts/evo.js"></script>
  25. <script language="JavaScript" type="text/javascript" src="https://beta-doterra.myvoffice.com/evo/scripts/global.js?v=1.4"></script>
  26. <script language="JavaScript" type="text/javascript" src="https://beta-doterra.myvoffice.com/scripts/header.js"></script>
  27. <script language="JavaScript" type="text/javascript" src="https://beta-doterra.myvoffice.com/scripts/ajax.js?v=1.0"></script>
  28. <script language="JavaScript" type="text/javascript" src="https://beta-doterra.myvoffice.com/evo/scripts/xregexp-all.js?v=1.5"></script>
  29. <script src="https://beta-doterra.myvoffice.com/scripts/functions.js" language="JavaScript" type="text/javascript"></script>
  30. <script language="JavaScript" type="text/javascript" src="https://beta-doterra.myvoffice.com/scripts/copyaddress.js?v=3"></script>
  31. <link rel="stylesheet" type="text/css" href="/skins/skin01/css/fonts.css">
  32. <link rel="stylesheet" type="text/css" href="/skins/skin01/css/corporate.css">
  33. <link rel="stylesheet" type="text/css" href="/skins/skin01/css/application.css">
  34. <link rel="stylesheet" type="text/css" href="/skins/skin01/css/language.css">
  35. <link rel="stylesheet" type="text/css" href="/skins/skin01/customcss/header.css">
  36. <title>dōTERRA</title>
  37. <script language="JavaScript">
  38. function popUp(url, width, height) {
  39. sealWin=window.open(url,"win",'toolbar=0,location=0,directories=0,status=1,menubar=1,scrollbars=1,resizable=1,width=' + width + ',height=' + height);
  40. self.name = "mainWin";
  41. }
  42. //Used in ApplicationForm
  43. function reveal(className, obj) {
  44. var $input = $(obj);
  45. if ($input.prop('checked')) $(className).show();
  46. else $(className).hide();
  47. }
  48. function checkKanji(elem) {
  49. //only allow double byte characters
  50. var str = elem.value; /*WF167214*/
  51. for (var i=0; i < str.length; i++) {
  52. if (str.charCodeAt(i) <= 255 && !str[i].match(/\s/)) {
  53. elem.value = ''; /*WF167214*/
  54. alert('No Roman Characters');
  55. return false;
  56. }
  57. }
  58. return true;
  59. }
  60. function checkRoman(el) {
  61. //only allow roman characters
  62. var str=el.value;
  63. for (var i=0; i < str.length; i++) {
  64. if (str.charCodeAt(i) > 255) {
  65. el.value='';
  66. alert('No Native Characters');
  67. return false;
  68. }
  69. }
  70. return true;
  71. }
  72. function checkSingleByte(el){
  73. //only allow roman characters
  74. var str=el.value;
  75. for (var i=0; i < str.length; i++) {
  76. if (str.charCodeAt(i) > 255 && str.charCodeAt(i) < 65377 || str.charCodeAt(i) > 65439) {
  77. el.value='';
  78. alert('No Full Width Characters');
  79. return false;
  80. }
  81. }
  82. return true;
  83. }
  84. function checkAccent(el) {
  85. //do not allow accent characters
  86. var str=el.value;
  87. for (var i=0; i < str.length; i++) {
  88. if (str.charCodeAt(i) > 191 && str.charCodeAt(i) < 592) {
  89. el.value='';
  90. alert('No Accented Characters Allowed');
  91. return false;
  92. }
  93. }
  94. return true;
  95. }
  96. function checkCyrillic(el) {
  97. //only allow cyrillic characters
  98. var str=el.value;
  99. for (var i=0; i < str.length; i++) {
  100. //START:WF138249
  101. if (str.charCodeAt(i) == 40 || str.charCodeAt(i) == 41 || str.charCodeAt(i) == 47 || str.charCodeAt(i) == 44 || str.charCodeAt(i) == 45) // allow the following (/,-)
  102. {
  103. }
  104. else if (!(str.charCodeAt(i) >= 1024 && str.charCodeAt(i) <= 1279) && !str.charAt(i).match(/[\s0-9,\.]/)) { //END:WF138249 //WF156505 - Chris H - allow (.)
  105. el.value='';
  106. alert('Cyrillic Characters Only');
  107. return false;
  108. }
  109. }
  110. return true;
  111. }
  112. function checkNumeric(el) {
  113. var str=el.value;
  114. if (isNaN(str)) {
  115. alert('Numeric Characters Only');
  116. return false;
  117. }
  118. }
  119. function isValidAddressChar(evt,modifier) {
  120. const country = 'USA';
  121. if (typeof modifier !== 'undefined' && modifier == 'lettersOnly') {
  122. var pattern = /^[A-Za-zÀ-ü \/\-\u0400-\u04FF\u3040\u309f\u30a0-\u30ff\uff00-\uff9f\u4e00-\u9faf\u3400-\u4dbf\u017D-\u017E\u0176-\u0178\u00FD\u00FF\u0160-\u0161\u0E00-\u0E7F]+$/;
  123. } else if (country == 'KOR') {
  124. var pattern = '^[A-Za-zÀ-ü 0-9\\p{Hangul}]+$';
  125. var useXRegExp = true;
  126. } else {
  127. var pattern = /^[A-Za-zÀ-ü 0-9\/\,\.\-\^\`\u0400-\u04FF\u3040\u309f\u30a0-\u30ff\uff00-\uff9f\u4e00-\u9faf\u3400-\u4dbf\u017D-\u017E\u0176-\u0178\u00FD\u00FF\u0160-\u0161\u0E00-\u0E7F]+$/;
  128. }
  129. var charCode = (evt.which) ? evt.which : event.keyCode
  130. var charString = String.fromCharCode(charCode);
  131. if (typeof useXRegExp !== 'undefined' && useXRegExp) {
  132. var unicodeWord = XRegExp(pattern);
  133. if(!(unicodeWord.test(charString)))
  134. {
  135. return false;
  136. } else {
  137. return true;
  138. }
  139. } else {
  140. if (!(charString.match(pattern))) {
  141. return false;
  142. } else {
  143. return true;
  144. }
  145. }
  146. }
  147. function isValidAddressCharValue(elem,modifier) {
  148. const country = 'USA';
  149. if (typeof modifier !== 'undefined' && modifier == 'lettersOnly') {
  150. var pattern = /^[A-Za-zÀ-ü \/\-\u0400-\u04FF\u3040\u309f\u30a0-\u30ff\uff00-\uff9f\u4e00-\u9faf\u3400-\u4dbf\u017D-\u017E\u0176-\u0178\u00FD\u00FF\u0160-\u0161\u0E00-\u0E7F]+$/;
  151. } else if (country == 'KOR') {
  152. var pattern = '^[A-Za-zÀ-ü 0-9\\p{Hangul}]+$';
  153. var useXRegExp = true;
  154. } else {
  155. var pattern = /^[A-Za-zÀ-ü 0-9\/\,\.\-\^\`\u0400-\u04FF\u3040\u309f\u30a0-\u30ff\uff00-\uff9f\u4e00-\u9faf\u3400-\u4dbf\u017D-\u017E\u0176-\u0178\u00FD\u00FF\u0160-\u0161\u0E00-\u0E7F]+$/;
  156. }
  157. var elVal = elem.value;
  158. var valid = 1;
  159. if (typeof useXRegExp !== 'undefined' && useXRegExp) {
  160. var unicodeWord = XRegExp(pattern);
  161. if(!(unicodeWord.test(elVal)))
  162. {
  163. valid = 0;
  164. err = "Invalid Bill Info";
  165. $(elem).closest('div.field').addClass('error');
  166. } else if (elem) {
  167. $(elem).closest('div.field').removeClass('error');
  168. }
  169. } else {
  170. if (!(elVal.match(pattern))) {
  171. valid = 0;
  172. err = "Invalid Bill Info";
  173. $(elem).closest('div.field').addClass('error');
  174. } else if (elem) {
  175. $(elem).closest('div.field').removeClass('error');
  176. }
  177. }
  178. if (!valid) {
  179. $('#errormessage').html(err);
  180. $('#errormessage').show();
  181. $('html, body').animate({
  182. scrollTop: $('#errormessage').offset().top
  183. }, 500);
  184. return;
  185. return false;
  186. }
  187. else {
  188. $('#errormessage').hide();
  189. return true;
  190. }
  191. }
  192. </script>
  193. <div id="teconsent" style="display: none;"></div>
  194. <script class="trustecm" trackertype="functional" type="text/plain">
  195. window['_fs_debug'] = false;
  196. window['_fs_host'] = 'fullstory.com';
  197. window['_fs_script'] = 'edge.fullstory.com/s/fs.js';
  198. window['_fs_org'] = '11MSMR';
  199. window['_fs_namespace'] = 'FS';
  200. (function(m,n,e,t,l,o,g,y){
  201. if (e in m) {if(m.console && m.console.log) { m.console.log('FullStory namespace conflict. Please set window["_fs_namespace"].');} return;}
  202. g=m[e]=function(a,b,s){g.q?g.q.push([a,b,s]):g._api(a,b,s);};g.q=[];
  203. o=n.createElement(t);o.async=1;o.crossOrigin='anonymous';o.src='https://'+_fs_script;
  204. y=n.getElementsByTagName(t)[0];y.parentNode.insertBefore(o,y);
  205. g.identify=function(i,v,s){g(l,{uid:i},s);if(v)g(l,v,s)};g.setUserVars=function(v,s){g(l,v,s)};g.event=function(i,v,s){g('event',{n:i,p:v},s)};
  206. g.anonymize=function(){g.identify(!!0)};
  207. g.shutdown=function(){g("rec",!1)};g.restart=function(){g("rec",!0)};
  208. g.log = function(a,b){g("log",[a,b])};
  209. g.consent=function(a){g("consent",!arguments.length||a)};
  210. g.identifyAccount=function(i,v){o='account';v=v||{};v.acctId=i;g(o,v)};
  211. g.clearUserCookie=function(){};
  212. g.setVars=function(n, p){g('setVars',[n,p]);};
  213. g._w={};y='XMLHttpRequest';g._w[y]=m[y];y='fetch';g._w[y]=m[y];
  214. if(m[y])m[y]=function(){return g._w[y].apply(this,arguments)};
  215. g._v="1.3.0";
  216. })(window,document,window['_fs_namespace'],'script','user');
  217. </script>
  218. </head>
  219. <body>
  220. <!-- Google Tag Manager (noscript) -->
  221. <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-KKCSWT4"
  222. height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
  223. <!-- End Google Tag Manager (noscript) -->
  224. <div id="consent_blackbar"></div>
  225. <script>
  226. //This is your domain, as in, how you who are calling the API wish to be identified.
  227. var MY_DOMAIN = "doterra-cm1.com";
  228. var REQUIRE_USER_EXPRESSED_PERMISSION = true;
  229. var _STATE = {};
  230. /**
  231. * Different pages add the Consent Manager in different locations, so all callers of the API must wait till
  232. * the API is loaded. The API is loaded in two stages:
  233. * 1) The first stage is where the "PrivacyManagerAPI" object exists on the page and where default and
  234. * page/domain specific settings can be obtained. If your requirements demand user consent, you must wait
  235. * for the second stage load, but it is always recommended to wait for the second stage no matter what.
  236. * The "loading" parameter will be added to all API responses when the API is in this state.
  237. * 2) The second stage loads the user preferences and the domain specific information. If you made a
  238. * postMessage API call during the first stage, then the API will automatically send you another, updated,
  239. * response if the result has changed.
  240. */
  241. function runOnce(){
  242. // If notice behaviour is 'none' activate all 'trustcm' scripts
  243. window.addEventListener("DOMContentLoaded", function(e){
  244. try{
  245. if(!_STATE.hasRunOnce){
  246. var isNone = /.*(,|)none/i.test(getBehavior());
  247. if (isNone) {
  248. if( !_STATE.hasLoadedRequired ){
  249. activateElement(document.querySelectorAll(".trustecm"));
  250. _STATE.hasLoadedRequired = true;
  251. }
  252. }
  253. _STATE.hasRunOnce = true;
  254. _STATE.i && clearInterval(_STATE.i);
  255. }
  256. }catch(e){
  257. e.name != 'SyntaxError' && console.log(e);
  258. }
  259. }, false);
  260. //CHECK: for API exists on the page
  261. if(!_STATE.hasRunOnce && window.PrivacyManagerAPI){
  262. console.log("doing run once");
  263. //Register with the API for automatic updates of user preferences (for the settings you care about)
  264. //--OR-- if the API is loading, then this will send an update when the API is done and has loaded the user preferences.
  265. window.addEventListener("message", function(e){
  266. try{
  267. var json = JSON.parse(e.data);
  268. json.PrivacyManagerAPI && handleAPIResponse(json.PrivacyManagerAPI);
  269. }catch(e){
  270. e.name != 'SyntaxError' && console.log(e);
  271. }
  272. }, false);
  273. var apiObject = {PrivacyManagerAPI: { self: MY_DOMAIN, action: "getConsent" , timestamp: new Date().getTime(), type: "functional" }};
  274. window.top.postMessage(JSON.stringify(apiObject),"*");
  275. apiObject = {PrivacyManagerAPI: { self: MY_DOMAIN, action: "getConsent" , timestamp: new Date().getTime(), type: "advertising" }};
  276. window.top.postMessage(JSON.stringify(apiObject),"*");
  277. _STATE.hasRunOnce = true;
  278. _STATE.i && clearInterval(_STATE.i);
  279. }
  280. }
  281. /**
  282. * This function returns value of notice_behavior cookie to determine location and behavior manager based on domain.
  283. * When no notice_behavior cookie exists, this returns a blank string.
  284. */
  285. function getBehavior() {
  286. var result = "";
  287. var rx = new RegExp("\\s*notice_behavior\\s*=\\s*([^;]*)").exec(document.cookie);
  288. if(rx&&rx.length>1){
  289. result = rx[1];
  290. }
  291. return result;
  292. }
  293. /**
  294. * This function is called whenever a user preference is initially set, is retrieved for the first time on this page, or is updated.
  295. * This is the gateway function which should be customized by each client (you) to determine when and how to handle the API response.
  296. *
  297. * The second half of the function determines settings from the CM API, and decides which elements on the page should be "activated" based upon those settings.
  298. * Elements can only be activated once. Elements can not be deactivated, once activated.
  299. */
  300. function handleAPIResponse(response){
  301. //CHECK: make sure this response is to YOU. You will actually get the messages to all API callers on this page, not just to you.
  302. if(!response.source || response.self != MY_DOMAIN ) return;
  303. console.log("user decision",response);
  304. //Required trackers/cookies are always allowed, no need to ask permission.
  305. if( !_STATE.hasLoadedRequired ){
  306. activateElement(document.querySelectorAll(".trustecm[trackertype=required]"));
  307. _STATE.hasLoadedRequired = true;
  308. }
  309. // Check if behavior manager is EU
  310. var isEU = /.*(,|)eu/i.test(getBehavior());
  311. //Case where we don't want to do anything till the user has made a preference.
  312. if(isEU && REQUIRE_USER_EXPRESSED_PERMISSION && response.source != "asserted" ) return;
  313. //Step 1) Get Consent Manager settings (user prefs)
  314. // These API calls are DIFFERENT than the original API call ("response" parameter) so they must be called separately.
  315. //Step 2) Apply the settings after checking if approved
  316. var setting = null;
  317. if( !_STATE.hasLoadedAdvertising ){
  318. setting = PrivacyManagerAPI.callApi("getConsent", MY_DOMAIN , null ,null, "advertising");
  319. if( setting.consent=="approved" ){
  320. activateElement(document.querySelectorAll(".trustecm[trackertype=advertising]"));
  321. _STATE.hasLoadedAdvertising = true;
  322. }console.log(setting);
  323. }
  324. if( !_STATE.hasLoadedFunctional ){
  325. setting = PrivacyManagerAPI.callApi("getConsent", MY_DOMAIN , null ,null, "functional");
  326. if( setting.consent=="approved" ){
  327. activateElement(document.querySelectorAll(".trustecm[trackertype=functional]"));
  328. _STATE.hasLoadedFunctional = true;
  329. }console.log(setting);
  330. }
  331. // No additional checking, this always fires, but only after a user has consented
  332. if( !_STATE.hasLoadedAnyConsent ){
  333. activateElement(document.querySelectorAll(".trustecm[trackertype=any]"));
  334. _STATE.hasLoadedAnyConsent = true;
  335. }
  336. //check of vendor domain and fires if that domain is approved, which is based on how that domain was categorized on the backend
  337. var vendors = document.querySelectorAll(".trustecm[trackertype=vendor]");
  338. for (var i=0; i < vendors.length; i++) {
  339. var currentVendor = vendors[i];
  340. var vDomain = currentVendor.getAttribute("vsrc");
  341. if (vDomain && !_STATE['hasLoaded'+vDomain]) {
  342. setting = PrivacyManagerAPI.callApi("getConsent", MY_DOMAIN, vDomain);
  343. if( setting.consent=="approved" ){
  344. activateElement(document.querySelectorAll(".trustecm[trackertype=vendor][vsrc='"+ vDomain +"']"));
  345. _STATE['hasLoaded'+vDomain] = true;
  346. }console.log(setting);
  347. }
  348. }
  349. }
  350. /**
  351. * Activates (runs, loads, or displays) an element based upon element node name.
  352. * @param {Array.<HTMLElement>} list
  353. */
  354. function activateElement(list){
  355. if(!(list instanceof Array || list instanceof NodeList)) throw "Illegal argument - must be an array";
  356. console.log("activating", list);
  357. for(var item,i=list.length;i-- >0;){
  358. item = list[i];
  359. item.class = "trustecm_done";
  360. switch(item.nodeName.toLowerCase()){
  361. case "script":
  362. var z = item.getAttribute("thesrc");
  363. if(z){
  364. var y = document.createElement("script");
  365. y.src = z;
  366. y.async = item.async;
  367. item.parentNode.insertBefore(y,item);
  368. }else eval(item.text || item.textContent || item.innerText);
  369. }
  370. }
  371. }
  372. _STATE.i = setInterval(runOnce,10);
  373. </script>
  374. <div id="chatJavaScriptAlertHeader" style="display: none;">If you see this, then either you have disabled JavaScript, or there is a syntax error in the Avaya WebChat files.</div>
  375. <div id="cobrowseJavaScriptAlertHeader" style="display: none;">If you see this, then either you have disabled JavaScript, or there is a syntax error in the Avaya CoBrowsing files.</div>
  376. <div id="Header" class="ui primary raised segment nomargin">
  377. <div class="ui basic segment">
  378. <div class="ui stackable grid">
  379. <div id="logo" class="three wide column">
  380. <a href="http://doterra.myvoffice.com"><img src="/skins/skin01/images/logo.svg" class="ui small image logo" alt="dōTERRA" border="0"/></a>
  381. </div>
  382. <div class="computer only ten wide tablet only ten wide column nopadding">
  383. <div id="bc">
  384. <table id="appprogresstable" cellspacing="0" cellpadding="0" border="0">
  385. <tbody>
  386. <tr>
  387. <td class="tertiary2">
  388. ENROLLMENT OPTIONS
  389. </td>
  390. <td >
  391. ABOUT YOU
  392. </td>
  393. <td >
  394. 1ST ORDER SETUP
  395. </td>
  396. <td >
  397. Complete registration
  398. </td>
  399. </tr>
  400. <tr>
  401. <td><div id="step" class="active"></div><div id="inactivelineright"></div></td>
  402. <td><div id="step" class="inactive"></div><div id="inactivelineleft"></div><div id="inactivelineright"></div></td>
  403. <td><div id="step" class="inactive"></div><div id="inactivelineleft"></div><div id="inactivelineright"></div></td>
  404. <td><div id="step" class="inactive"></div><div id="inactivelineleft"></div></td>
  405. </tr>
  406. </tbody>
  407. </table>
  408. </div>
  409. </div>
  410. <div class="computer only three wide tablet only three wide column nopadding">
  411. </div>
  412. </div>
  413. </div>
  414. </div>
  415. <div class="ui container hebrew">
  416. <div class="MainContent">
  417. <style>
  418. #Header { display:none;}
  419. .MainContent { display:none;}
  420. </style>
  421. <script>
  422. $(document).ready(function() {
  423. $('#Header').show();
  424. $('.MainContent').show();
  425. });
  426. </script>
  427. <form id="MemberTypeForm" method="post" action="index.cfm" class="ui form">
  428. <input type='hidden' name='c_token' value='3yeug5mjhl6994qrn4e49r2vmk3m65213n90kig7'><input type='hidden' name='f_cd' value='05/20/2024 12:11:38'>
  429. <input type="hidden" name="Fuseaction" value="ApplicationType.ProcessType">
  430. <input type="hidden" id="DistID" name="DistID" value="">
  431. <input type="hidden" id="MemberTypeStatus" name="MemberTypeStatus" value="">
  432. <input type="hidden" id="OTGSELECTED" name="OTGSELECTED" value="1">
  433. <input type="hidden" id="ChangeMyLanguage" name="ChangeMyLanguage" value="en_dot">
  434. <input type="hidden" name="ByPassOrderSelection" value="1">
  435. <div id="ApplicationTypeHeader" class="ui center aligned basic segment nopadding">
  436. <h2 class="ui secondary header">
  437. <span class="OA_Selecthow">
  438. Select How You Would Like to Purchase Products
  439. <ul><b>Please note these options have changed
  440. </span>
  441. </h2>
  442. </div>
  443. <div id="PleaseNotText" class="ui center aligned basic segment nomargin" style="display:none;">
  444. <h4 class="ui secondary header">
  445. Please note these options have changed
  446. </h4>
  447. </div>
  448. <input type="Hidden" id="HomeCountry" name="HomeCountry" value="">
  449. <input type="Hidden" id="EOHomeCountry" name="EOHomeCountry" value="">
  450. <input type="Hidden" id="GACHomeCountry" name="GACHomeCountry" value="">
  451. <input type="Hidden" id="RUSHomeCountry" name="RUSHomeCountry" value="">
  452. <input type="Hidden" id="ZAFHomeCountry" name="ZAFHomeCountry" value="">
  453. <input type="Hidden" id="WarehouseID" name="WarehouseID" value="">
  454. <input type="Hidden" id="SetGovernmentID" name="SetGovernmentID" value="">
  455. <div id="MemberTypeWholesaleBubble" class="ui segment nopadding" onclick="SelectType('WholesaleType');">
  456. <div class="ui stackable grid nomargin">
  457. <div id="WholesaleCustomerSelectDiv" class="six wide column nopadding">
  458. <img id="TypeCustomer" class="ui fluid image" src="skins/skin01/images/TypeCustomer.png">
  459. <div id="WholesaleCustomerSelect" class="inline field hebrew">
  460. <div class="ui radio checkbox">
  461. <input type="Radio" name="MemberType" value="W" id="WholesaleType">
  462. <label for="WholesaleType"><h2>Wholesale<br>Customer</h2></label>
  463. </div>
  464. </div>
  465. </div>
  466. <div id="WholesaleCustomerInfoDiv" class="ten wide middle aligned column nopadding">
  467. <div class="ui basic segment nomargin hebrew">
  468. <div class="ui list">
  469. <div class="item">
  470. <i class="primary check icon"></i>
  471. <div class="content">
  472. No monthly order required
  473. </div>
  474. </div>
  475. <div
  476. <div class="item">
  477. <i class="primary check icon"></i>
  478. <div class="content">
  479. Option to receive 10-30% of your total purchase back in FREE product points
  480. </div>
  481. </div>
  482. <div class="item">
  483. <i class="primary check icon"></i>
  484. <div class="content">
  485. Eligibility to receive dōTERRA's FREE Product of the Month
  486. </div>
  487. </div>
  488. </div>
  489. </div>
  490. </div>
  491. </div>
  492. </div>
  493. <div id="MemberTypeDistributorBubble" class="ui segment nopadding" onclick="SelectType('DistributorMemberType');">
  494. <div class="ui stackable grid nomargin">
  495. <div id="DistributorSelectDiv" class="six wide column nopadding">
  496. <img id="TypeDistributor" class="ui fluid image" src="skins/skin01/images/TypeDistributor.png">
  497. <div id="DistributorSelect" class="inline field hebrew">
  498. <div class="ui radio checkbox">
  499. <input type="Radio" id="DistributorMemberType" name="MemberType" value="D" checked>
  500. <label for="DistributorMemberType"><h2>Wellness Advocate</h2></label>
  501. </div>
  502. </div>
  503. </div>
  504. <div id="DistributorInfoDiv" class="ten wide middle aligned column nopadding">
  505. <div class="ui basic segment nomargin hebrew">
  506. <div class="ui list">
  507. <div class="item">
  508. <i class="primary check icon"></i>
  509. <div class="content">
  510. No monthly order required
  511. </div>
  512. </div>
  513. <div
  514. <div class="content">
  515. </div>
  516. <div class="item">
  517. <i class="primary check icon"></i>
  518. <div class="content">
  519. Option to receive 10-30% of your total purchase back in FREE product points
  520. </div>
  521. </div>
  522. <div class="item">
  523. <i class="primary check icon"></i>
  524. <div class="content">
  525. Eligibility to receive dōTERRA's FREE Product of the Month
  526. </div>
  527. </div>
  528. <div class="item">
  529. <i class="primary check icon"></i>
  530. <div class="content">
  531. Ability to earn compensation and bonuses
  532. </div>
  533. </div>
  534. <div class="item">
  535. <i class="primary check icon"></i>
  536. <div class="content">
  537. Ability to sign up new Wholesale Customers and Wellness Advocates
  538. </div>
  539. </div>
  540. </div>
  541. </div>
  542. </div>
  543. </div>
  544. </div>
  545. <div id="MemberTypeCustomerBubble" class="ui segment nopadding" onclick="SelectType('CustomerType');">
  546. <div class="ui stackable grid nomargin">
  547. <div id="CustomerSelectDiv" class="six wide column nopadding">
  548. <div id="CustomerSelect" class="inline field">
  549. <div class="ui radio checkbox">
  550. <input type="Radio" name="MemberType" value="P" id="CustomerType">
  551. <label for="CustomerType"><h2>Preferred<br>Member<br>Prices</h2></label>
  552. </div>
  553. </div>
  554. </div>
  555. <div id="CustomerInfoDiv" class="ten wide column nopadding">
  556. <ul>
  557. <li>Receive special pricing (20% discount) on all product purchases </li>
  558. <li>No monthly order required</li>
  559. <li>Option to receive 10-30% of your total purchase back in FREE product points</li>
  560. <li>One-time enrollment fee -- no annual renewal fee</li>
  561. </ul>
  562. </div>
  563. </div>
  564. </div>
  565. <div id="AdditionalInfoDiv" class="ui basic segment nopadding">
  566. According to the Immigration Control Act, foreigners can only register for documents (store visits, e-mail or fax). For more information, contact the Customer Support Department TEL.
  567. Please contact us at 1600-5105.
  568. </div>
  569. <div class="ui center aligned basic segment hebrew">
  570. <input type="button" id="CONTINUEBTN" name="NextButton" class="avcobrowse-block ui basic primary button continuebutton" OnClick="SubmitTypeForm();" value='CONTINUE'>
  571. </div>
  572. </form>
  573. <script>
  574. function SelectType(id) {
  575. document.getElementById(id).checked=true;
  576. $('#MemberTypeDistributorBubble').removeClass('disabled');
  577. $('#MemberTypeWholesaleBubble').removeClass('disabled');
  578. $('#MemberTypeCustomerBubble').removeClass('disabled');
  579. switch(id) {
  580. case "DistributorMemberType":
  581. /* START WF159613 - Chris H */
  582. if (document.getElementById('EOCountries').value=='ITA'){
  583. document.getElementById('CONTINUEBTN').style.display='none';
  584. $('#divItalyPopup').modal('show');
  585. }
  586. /* END WF159613 */
  587. /* START WF167925 */
  588. if (document.getElementById('SelectHomeCountry').value=='TWN'){
  589. document.getElementById('CONTINUEBTN').style.display='none';
  590. $('#divTWNPopup').modal('show');
  591. }
  592. /* END WF167925 */
  593. $('#MemberTypeWholesaleBubble').addClass('disabled');
  594. $('#MemberTypeCustomerBubble').addClass('disabled');
  595. break;
  596. case "WholesaleType":
  597. $('#MemberTypeDistributorBubble').addClass('disabled');
  598. $('#MemberTypeCustomerBubble').addClass('disabled');
  599. document.getElementById('CONTINUEBTN').style.display='inline-block'; /* WF159613 - Chris H */
  600. break;
  601. case "CustomerType":
  602. $('#MemberTypeWholesaleBubble').addClass('disabled');
  603. $('#MemberTypeDistributorBubble').addClass('disabled');
  604. document.getElementById('CONTINUEBTN').style.display='inline-block'; /* WF159613 - Chris H */
  605. break;
  606. }
  607. }
  608. function SubmitTypeForm() {
  609. if (document.getElementById('HomeCountry').value == 'AUS') {
  610. document.getElementById('ChangeMyLanguage').value = 'en_aus';
  611. }
  612. else {
  613. document.getElementById('ChangeMyLanguage').value = 'en_dot';
  614. }
  615. document.getElementById('MemberTypeForm').submit();
  616. }
  617. function UpgradeSubmitTypeForm() {
  618. if (document.getElementById('HomeCountry').value == "USA") {
  619. var nonDistType = "WholesaleType";
  620. }
  621. else {
  622. var nonDistType = "CustomerType";
  623. }
  624. if (document.getElementById("DistributorMemberType").checked){
  625. var checkedStatus = document.getElementById("DistributorMemberType").value;
  626. }
  627. else if (document.getElementById(nonDistType).checked){
  628. var checkedStatus = document.getElementById(nonDistType).value;
  629. }
  630. document.getElementById("MemberTypeStatus").value = checkedStatus;
  631. document.getElementById("DistributorMemberType").value = "U";
  632. document.getElementById(nonDistType).value = "U";
  633. if (document.getElementById('HomeCountry').value == 'AUS') {
  634. document.getElementById('ChangeMyLanguage').value = 'en_aus';
  635. }
  636. else {
  637. document.getElementById('ChangeMyLanguage').value = 'en_dot';
  638. }
  639. document.getElementById('MemberTypeForm').submit();
  640. }
  641. </script>
  642. <script>
  643. $( "#DistributorMemberType" ).click(function() {
  644. if (document.getElementById('HomeCountry').value == "KOR") {
  645. SubmitTypeForm();
  646. }
  647. });
  648. $( "#WholesaleType" ).click(function() {
  649. if (document.getElementById('HomeCountry').value == "KOR") {
  650. SubmitTypeForm();
  651. }
  652. });
  653. function setByPassFlag() {
  654. if (document.getElementById("TWNbypassGovID").checked){
  655. document.getElementById("TWNbypassGovID").value = "Y";
  656. }
  657. else{
  658. document.getElementById("TWNbypassGovID").value = "";
  659. }
  660. }
  661. </script>
  662. </div>
  663. </div>
  664. </div>
  665. <div id="overlay2" class="OA_overlay2"> </div>
  666. </body>
  667. </html>
  668. <script>
  669. $('.AppHelp').popup();
  670. /*if(/Android/i.test(navigator.userAgent)){
  671. setTimeout(function(){startingwindowheight = screen.height;},50);
  672. $('input').on('focus', function(event){
  673. setTimeout(function(){
  674. var newwindowheight = screen.height;
  675. var heightdiff = startingwindowheight - newwindowheight;
  676. var spacediv = document.createElement("DIV");
  677. document.body.appendChild(spacediv);
  678. $(spacediv).css('height', heightdiff);
  679. $(spacediv).attr('id','spacediv');
  680. },500);
  681. });
  682. $('input').on('blur', function(event){
  683. var spacediv = document.getElementById('spacediv');
  684. if (typeof spacediv != 'undefined' && spacediv != null)
  685. {
  686. spacediv.parentNode.removeChild(spacediv);
  687. }
  688. });
  689. }*/
  690. </script>
  691. <style type="text/css">
  692. /*WF112739*/
  693. .costaOffAddress {
  694. font-size:12px;
  695. margin-bottom: 1em;
  696. color: #333333;
  697. }
  698. </style>
  699. <script>
  700. function CheckLanguage(languageselected) {
  701. addDimmer();
  702. if (document.getElementById('SelectHomeCountry')) {
  703. var sel = document.getElementById('SelectHomeCountry');
  704. var opt = sel.options[sel.selectedIndex];
  705. thisvalue=opt.value;
  706. ThisLanguageForm=document.LanguageForm2;
  707. $(ThisLanguageForm).append("<input type='hidden' id='SelectedCountryCode' name='SelectedCountryCode' value='" + thisvalue + "'>");
  708. }
  709. else {
  710. thisvalue='';
  711. }
  712. document.cookie = "Language=" + $('#AppChangeMyLanguage').val();
  713. document.LanguageForm2.submit();
  714. }
  715. </script>
  716. <div id="PopUp">
  717. <div id="PopUpHeader" class="ui primary raised segment nomargin">
  718. <div class="ui container">
  719. <div class="ui stackable grid">
  720. <div id="logo" class="sixteen wide column">
  721. <a href="http://doterra.myvoffice.com"><img src="/skins/skin01/images/logo.svg" class="ui small image logo" alt="dōTERRA" border="0"/></a>
  722. </div>
  723. </div>
  724. </div>
  725. </div>
  726. <div class="ui container">
  727. <div id="PopUpBanner" class="ui basic segment nopadding nomargin">
  728. <img src="skins/skin01/images/App_Banner.png" alt="App Banner">
  729. </div>
  730. <div class="ui one column centered grid">
  731. <div class="sixteen wide mobile twelve wide tablet eight wide computer column">
  732. <div class="ui center aligned basic segment">
  733. <img src="/skins/skin01/images/World_sm.png" alt="World">
  734. </div>
  735. <div class="ui basic segment nomargin">
  736. </div>
  737. <div class="ui basic segment nomargin">
  738. <form id="SelectMarketPopUp" method="post" action="index.cfm" class="ui form hebrew">
  739. <input type="hidden" name="HidePopup" value="1">
  740. <input type="hidden" name="FuseAction" value="ApplicationType.SelectMemberType">
  741. <div class="field">
  742. <label><div class="hebrew2">Market:</div></label>
  743. <select id="SelectHomeCountry" name="HomeCountry" onChange="reloadCountry(this.value);">
  744. <option value="">Select Country</option>
  745. <option value="ZAF" >Africa</option>
  746. <option value="AUS" >Australia</option>
  747. <option value="BRA" >Brasil</option>
  748. <option value="CAN" >Canada</option>
  749. <option value="CHL" >Chile</option>
  750. <option value="COL" >Colombia</option>
  751. <option value="CRI" >Costa Rica</option>
  752. <option value="ECU" >Ecuador</option>
  753. <option value="SLV" >El Salvador</option>
  754. <option value="EO" >Europe</option>
  755. <option value="PYF" >French Polynesia</option>
  756. <option value="GUA" >Guatemala</option>
  757. <option value="HKG" >Hong Kong/Macau 香港/澳門</option>
  758. <option value="IND" >India</option>
  759. <option value="ISR" >Israel</option>
  760. <option value="JPN" >Japan</option>
  761. <option value="MYS" >Malaysia</option>
  762. <option value="MEX" >Mexico</option>
  763. <option value="NZL" >New Zealand</option>
  764. <option value="GAC" >Other (Global Access Country)</option>
  765. <option value="PHL" >Philippines</option>
  766. <option value="RUS" >Russia (EAEU)</option>
  767. <option value="SGP" >Singapore</option>
  768. <option value="KOR" >South Korea</option>
  769. <option value="TWN" >Taiwan</option>
  770. <option value="THA" >Thailand</option>
  771. <option value="ARE" >United Arab Emirates</option>
  772. <option value="USA" >United States</option>
  773. </select>
  774. </div>
  775. <div id="PleaseChooseCountry" style="color:red;display:none;padding-top:5px;">Please choose a country</div>
  776. <div id="EO" class="field" style="display:none;">
  777. <select id="EOCountries" name="EOHomeCountry" onchange=" {$('#divPopupNorway').modal('hide');}reloadCountry(this.value);">
  778. <option value="" selected>Choose Market</option>
  779. <option value="EO_Andorra"
  780. >
  781. Andorra
  782. </option>
  783. <option value="EO_Austria"
  784. >
  785. Austria
  786. </option>
  787. <option value="EO_Belgium"
  788. >
  789. Belgium
  790. </option>
  791. <option value="EO_Bulgaria"
  792. >
  793. Bulgaria
  794. </option>
  795. <option value="EO_Croatia"
  796. >
  797. Croatia
  798. </option>
  799. <option value="EO_Cyprus"
  800. >
  801. Cyprus
  802. </option>
  803. <option value="EO_Czech Republic"
  804. >
  805. Czech Republic
  806. </option>
  807. <option value="EO_Denmark"
  808. >
  809. Denmark
  810. </option>
  811. <option value="EO_Estonia"
  812. >
  813. Estonia
  814. </option>
  815. <option value="EO_Finland"
  816. >
  817. Finland
  818. </option>
  819. <option value="EO_France"
  820. >
  821. France
  822. </option>
  823. <option value="DEU"
  824. >
  825. Germany
  826. </option>
  827. <option value="EO_Greece"
  828. >
  829. Greece
  830. </option>
  831. <option value="EO_Hungary"
  832. >
  833. Hungary
  834. </option>
  835. <option value="EO_Iceland"
  836. >
  837. Iceland
  838. </option>
  839. <option value="EO_Ireland"
  840. >
  841. Ireland
  842. </option>
  843. <option value="EO_Israel"
  844. >
  845. Israel
  846. </option>
  847. <option value="ITA"
  848. >
  849. Italy
  850. </option>
  851. <option value="EO_Latvia"
  852. >
  853. Latvia
  854. </option>
  855. <option value="EO_Liechtenstein"
  856. >
  857. Liechtenstein
  858. </option>
  859. <option value="EO_Lithuania"
  860. >
  861. Lithuania
  862. </option>
  863. <option value="EO_Luxembourg"
  864. >
  865. Luxembourg
  866. </option>
  867. <option value="EO_Malta"
  868. >
  869. Malta
  870. </option>
  871. <option value="EO_Moldova"
  872. >
  873. Moldova
  874. </option>
  875. <option value="EO_Monaco"
  876. >
  877. Monaco
  878. </option>
  879. <option value="EO_Netherlands"
  880. >
  881. Netherlands
  882. </option>
  883. <option value="EO_Norway"
  884. >
  885. Norway
  886. </option>
  887. <option value="EO_Poland"
  888. >
  889. Poland
  890. </option>
  891. <option value="EO_Portugal"
  892. >
  893. Portugal
  894. </option>
  895. <option value="EO_Romania"
  896. >
  897. Romania
  898. </option>
  899. <option value="EO_Slovakia"
  900. >
  901. Slovakia
  902. </option>
  903. <option value="EO_Slovenia"
  904. >
  905. Slovenia
  906. </option>
  907. <option value="EO_Spain"
  908. >
  909. Spain
  910. </option>
  911. <option value="EO_Sweden"
  912. >
  913. Sweden
  914. </option>
  915. <option value="EO_Switzerland"
  916. >
  917. Switzerland
  918. </option>
  919. <option value="GBR"
  920. >
  921. United Kingdom
  922. </option>
  923. </select>
  924. </div>
  925. <div id="GAC" class="field" style="display:none;">
  926. <select id="GACCountries" name="GACHomeCountry">
  927. <option value="" selected>Choose Market</option>
  928. <option value="GAC_Albania" >Albania</option>
  929. <option value="GAC_Algeria" >Algeria</option>
  930. <option value="GAC_Angola" >Angola</option>
  931. <option value="GAC_Anguilla" >Anguilla</option>
  932. <option value="GAC_Argentina" >Argentina</option>
  933. <option value="GAC_Armenia" >Armenia</option>
  934. <option value="GAC_Aruba" >Aruba</option>
  935. <option value="GAC_Azerbaijan" >Azerbaijan</option>
  936. <option value="GAC_Bahamas" >Bahamas</option>
  937. <option value="GAC_Bahrain" >Bahrain</option>
  938. <option value="GAC_Bangladesh" >Bangladesh</option>
  939. <option value="GAC_Barbados" >Barbados</option>
  940. <option value="GAC_Barbuda and Antigua" >Barbuda and Antigua</option>
  941. <option value="GAC_Belarus" >Belarus</option>
  942. <option value="GAC_Belize" >Belize</option>
  943. <option value="GAC_Benin" >Benin</option>
  944. <option value="GAC_Bermuda" >Bermuda</option>
  945. <option value="GAC_Bolivia" >Bolivia</option>
  946. <option value="GAC_Bonaire" >Bonaire</option>
  947. <option value="GAC_Bosnia and Herzegovina" >Bosnia and Herzegovina</option>
  948. <option value="GAC_Botswana" >Botswana</option>
  949. <option value="GAC_British Virgin Islands" >Virgin Islands (British)</option>
  950. <option value="GAC_Brunei Darussalam" >Brunei Darussalam</option>
  951. <option value="GAC_Cabo Verde" >Cabo Verde</option>
  952. <option value="GAC_Cambodia" >Cambodia</option>
  953. <option value="GAC_Cameroon" >Cameroon</option>
  954. <option value="GAC_Cayman Islands" >Cayman Islands</option>
  955. <option value="GAC_Chad" >Chad</option>
  956. <option value="GAC_Channel Islands" >Channel Islands</option>
  957. <option value="GAC_Comoros" >Comoros</option>
  958. <option value="GAC_Curacao" >Curacao</option>
  959. <option value="GAC_Cyprus" >Cyprus</option>
  960. <option value="GAC_Democratic Republic of Congo" >Democratic Republic of Congo</option>
  961. <option value="GAC_Djibouti" >Djibouti</option>
  962. <option value="GAC_Dominican Republic" >Dominican Republic</option>
  963. <option value="GAC_Egypt" >Egypt</option>
  964. <option value="GAC_El Salvador" >El Salvador</option>
  965. <option value="GAC_Equatorial Guinea" >Equatorial Guinea</option>
  966. <option value="GAC_Ethiopia" >Ethiopia</option>
  967. <option value="GAC_Falkland Islands" >Falkland Islands</option>
  968. <option value="GAC_Fiji" >Fiji</option>
  969. <option value="GAC_French Guiana" >French Guiana</option>
  970. <option value="GAC_Gabon" >Gabon</option>
  971. <option value="GAC_Gambia" >Gambia</option>
  972. <option value="GAC_Georgia" >Georgia</option>
  973. <option value="GAC_Ghana" >Ghana</option>
  974. <option value="GAC_Greenland" >Greenland</option>
  975. <option value="GAC_Grenada" >Grenada</option>
  976. <option value="GAC_Guadeloupe (of Caribbean Islands)" >Guadeloupe (of Caribbean Islands)</option>
  977. <option value="GAC_Guam" >Guam</option>
  978. <option value="GAC_Guernsey" >Guernsey</option>
  979. <option value="GAC_Guinea" >Guinea</option>
  980. <option value="GAC_Guinea-Bissau" >Guinea-Bissau</option>
  981. <option value="GAC_Guyana" >Guyana</option>
  982. <option value="GAC_Haiti" >Haiti</option>
  983. <option value="GAC_Holy See" >Holy See</option>
  984. <option value="GAC_Honduras" >Honduras</option>
  985. <option value="GAC_Indonesia" >Indonesia</option>
  986. <option value="GAC_Ivory Coast (Cote d'Ivoire)" >Ivory Coast (Cote d'Ivoire)</option>
  987. <option value="GAC_Jamaica" >Jamaica</option>
  988. <option value="GAC_Jersey" >Jersey</option>
  989. <option value="GAC_Jordan" >Jordan</option>
  990. <option value="GAC_Kazakhstan" >Kazakhstan</option>
  991. <option value="GAC_Kenya" >Kenya</option>
  992. <option value="GAC_Kiribati" >Kiribati</option>
  993. <option value="GAC_Kosovo" >Kosovo</option>
  994. <option value="GAC_Kuwait" >Kuwait</option>
  995. <option value="GAC_Kyrgyzstan" >Kyrgyzstan</option>
  996. <option value="GAC_Lao PDR" >Lao PDR</option>
  997. <option value="GAC_Lebanon" >Lebanon</option>
  998. <option value="GAC_Lesotho" >Lesotho</option>
  999. <option value="GAC_Liberia" >Liberia</option>
  1000. <option value="GAC_Macau" >Macau</option>
  1001. <option value="GAC_Macedonia" >Macedonia</option>
  1002. <option value="GAC_Madagascar" >Madagascar</option>
  1003. <option value="GAC_Malaysia" >Malaysia</option>
  1004. <option value="GAC_Maldives" >Maldives</option>
  1005. <option value="GAC_Marshall Islands" >Marshall Islands</option>
  1006. <option value="GAC_Martinique" >Martinique</option>
  1007. <option value="GAC_Mauritania" >Mauritania</option>
  1008. <option value="GAC_Mauritius" >Mauritius</option>
  1009. <option value="GAC_Micronesia" >Micronesia</option>
  1010. <option value="GAC_Moldova" >Moldova</option>
  1011. <option value="GAC_Mongolia" >Mongolia</option>
  1012. <option value="GAC_Montenegro" >Montenegro</option>
  1013. <option value="GAC_Montserrat" >Montserrat</option>
  1014. <option value="GAC_Morocco" >Morocco</option>
  1015. <option value="GAC_Mozambique" >Mozambique</option>
  1016. <option value="GAC_Myanmar" >Myanmar</option>
  1017. <option value="GAC_Namibia" >Namibia</option>
  1018. <option value="GAC_Nepal" >Nepal</option>
  1019. <option value="GAC_New Caledonia" >New Caledonia</option>
  1020. <option value="GAC_Nicaragua" >Nicaragua</option>
  1021. <option value="GAC_Niger" >Niger</option>
  1022. <option value="GAC_Nigeria" >Nigeria</option>
  1023. <option value="GAC_Oman" >Oman</option>
  1024. <option value="GAC_Other various Caribbean Islands near the area of Antigua and Barbuda" >Other various Caribbean Islands near the area of Antigua and Barbuda</option>
  1025. <option value="GAC_Pakistan" >Pakistan</option>
  1026. <option value="GAC_Panama" >Panama</option>
  1027. <option value="GAC_Papua New Guinea" >Papua New Guinea</option>
  1028. <option value="GAC_Paraguay" >Paraguay</option>
  1029. <option value="GAC_Peru" >Peru</option>
  1030. <option value="GAC_Qatar" >Qatar</option>
  1031. <option value="GAC_Rwanda" >Rwanda</option>
  1032. <option value="GAC_Saba" >Saba</option>
  1033. <option value="GAC_Saint Lucia" >Saint Lucia</option>
  1034. <option value="GAC_Saint Vincent and the Grenadines" >Saint Vincent and the Grenadines</option>
  1035. <option value="GAC_Saint-Martin" >Saint-Martin</option>
  1036. <option value="GAC_Samoa" >Samoa</option>
  1037. <option value="GAC_San Marino" >San Marino</option>
  1038. <option value="GAC_Sao Tome and Principe" >Sao Tome and Principe</option>
  1039. <option value="GAC_Saudi Arabia" >Saudi Arabia</option>
  1040. <option value="GAC_Senegal" >Senegal</option>
  1041. <option value="GAC_Serbia" >Serbia</option>
  1042. <option value="GAC_Seychelles" >Seychelles</option>
  1043. <option value="GAC_Sierra Leone" >Sierra Leone</option>
  1044. <option value="GAC_Sint Eustatius" >Sint Eustatius</option>
  1045. <option value="GAC_Sint Maarten" >Sint Maarten</option>
  1046. <option value="GAC_Slovak Republic" >Slovak Republic</option>
  1047. <option value="GAC_Solomon Islands" >Solomon Islands</option>
  1048. <option value="GAC_South Africa" >South Africa</option>
  1049. <option value="GAC_South Sudan" >South Sudan</option>
  1050. <option value="GAC_Sri Lanka" >Sri Lanka</option>
  1051. <option value="GAC_Sudan" >Sudan</option>
  1052. <option value="GAC_Suriname" >Suriname</option>
  1053. <option value="GAC_Swaziland" >Swaziland</option>
  1054. <option value="GAC_Syria" >Syria</option>
  1055. <option value="GAC_Tajikistan" >Tajikistan</option>
  1056. <option value="GAC_Tanzania" >Tanzania</option>
  1057. <option value="GAC_Thailand" >Thailand</option>
  1058. <option value="GAC_Timor-Leste" >Timor-Leste</option>
  1059. <option value="GAC_Togo" >Togo</option>
  1060. <option value="GAC_Tonga" >Tonga</option>
  1061. <option value="GAC_Trinidad and Tobago" >Trinidad and Tobago</option>
  1062. <option value="GAC_Tunisia" >Tunisia</option>
  1063. <option value="GAC_Turkey" >Turkey</option>
  1064. <option value="GAC_Uganda" >Uganda</option>
  1065. <option value="GAC_Ukraine" >Ukraine</option>
  1066. <option value="GAC_United Arab Emirates" >United Arab Emirates</option>
  1067. <option value="GAC_Uruguay" >Uruguay</option>
  1068. <option value="GAC_Uzbekistan" >Uzbekistan</option>
  1069. <option value="GAC_Vanuatu" >Vanuatu</option>
  1070. <option value="GAC_Vatican City" >Vatican City</option>
  1071. <option value="GAC_Venezuela" >Venezuela</option>
  1072. <option value="GAC_Vietnam" >Vietnam</option>
  1073. <option value="GAC_Yemen" >Yemen</option>
  1074. <option value="GAC_Zambia" >Zambia</option>
  1075. <option value="GAC_Zimbabwe" >Zimbabwe</option>
  1076. </select>
  1077. </div>
  1078. <div id="RUS" class="field" style="display:none;">
  1079. <select id="RUSCountries" name="RUSHomeCountry">
  1080. <option value="RUS_Russia">Russia</option>
  1081. <option value="RUS_Belarus">Belarus</option>
  1082. <option value="RUS_Kazakhstan">Kazakhstan</option>
  1083. </select>
  1084. </div>
  1085. <div id="ZAF" class="field" style="display:none;">
  1086. <select id="ZAFCountries" name="ZAFHomeCountry" onchange="reloadCountry(this.value);">
  1087. <option value="" selected>Choose Country</option>
  1088. <option value="ZAF_Algeria"
  1089. >
  1090. Algeria
  1091. </option>
  1092. <option value="ZAF_Angola"
  1093. >
  1094. Angola
  1095. </option>
  1096. <option value="ZAF_Benin"
  1097. >
  1098. Benin
  1099. </option>
  1100. <option value="ZAF_Botswana"
  1101. >
  1102. Botswana
  1103. </option>
  1104. <option value="ZAF_Cameroon"
  1105. >
  1106. Cameroon
  1107. </option>
  1108. <option value="ZAF_Democratic Republic of Congo"
  1109. >
  1110. Democratic Republic of Congo
  1111. </option>
  1112. <option value="ZAF_Egypt"
  1113. >
  1114. Egypt
  1115. </option>
  1116. <option value="ZAF_Equatorial Guinea"
  1117. >
  1118. Equatorial Guinea
  1119. </option>
  1120. <option value="ZAF_Eswanti"
  1121. >
  1122. Eswanti
  1123. </option>
  1124. <option value="ZAF_Ethiopia"
  1125. >
  1126. Ethiopia
  1127. </option>
  1128. <option value="ZAF_Gabon"
  1129. >
  1130. Gabon
  1131. </option>
  1132. <option value="ZAF_Gambia"
  1133. >
  1134. Gambia
  1135. </option>
  1136. <option value="ZAF_Ghana"
  1137. >
  1138. Ghana
  1139. </option>
  1140. <option value="ZAF_Ivory Coast (Cote d'Ivoire)"
  1141. >
  1142. Ivory Coast (Cote d'Ivoire)
  1143. </option>
  1144. <option value="ZAF_Kenya"
  1145. >
  1146. Kenya
  1147. </option>
  1148. <option value="ZAF_Lesotho"
  1149. >
  1150. Lesotho
  1151. </option>
  1152. <option value="ZAF_Liberia"
  1153. >
  1154. Liberia
  1155. </option>
  1156. <option value="ZAF_Madagascar"
  1157. >
  1158. Madagascar
  1159. </option>
  1160. <option value="ZAF_Mauritius"
  1161. >
  1162. Mauritius
  1163. </option>
  1164. <option value="ZAF_Morocco"
  1165. >
  1166. Morocco
  1167. </option>
  1168. <option value="ZAF_Mozambique"
  1169. >
  1170. Mozambique
  1171. </option>
  1172. <option value="ZAF_Namibia"
  1173. >
  1174. Namibia
  1175. </option>
  1176. <option value="ZAF_Nigeria"
  1177. >
  1178. Nigeria
  1179. </option>
  1180. <option value="ZAF_Senegal"
  1181. >
  1182. Senegal
  1183. </option>
  1184. <option value="ZAF_South Africa"
  1185. >
  1186. South Africa
  1187. </option>
  1188. <option value="ZAF_South Sudan"
  1189. >
  1190. South Sudan
  1191. </option>
  1192. <option value="ZAF_Tanzania"
  1193. >
  1194. Tanzania
  1195. </option>
  1196. <option value="ZAF_Togo"
  1197. >
  1198. Togo
  1199. </option>
  1200. <option value="ZAF_Zambia"
  1201. >
  1202. Zambia
  1203. </option>
  1204. <option value="ZAF_Zimbabwe"
  1205. >
  1206. Zimbabwe
  1207. </option>
  1208. </select>
  1209. </div>
  1210. </form>
  1211. </div>
  1212. <div class="ui basic segment nomargin">
  1213. <form method="Post" action="index.cfm?" name="LanguageForm2" class="ui form">
  1214. <input type="hidden" name="EnrollerID_ATP" value="458046">
  1215. <input type="hidden" name="EnrollerID" value="458046">
  1216. <div class="field hebrew">
  1217. <label><div class="hebrew2">Language Preference</div></label>
  1218. <select name="ChangeMyLanguage" id="AppChangeMyLanguage" size="1" OnChange="CheckLanguage(this.value);">
  1219. <option value="Select" selected>Select a Language</option>
  1220. <option value="ar">Arabic</option>
  1221. <option value="ms">Bahasa Malaysia</option>
  1222. <option value="zh_can">Chinese - 中文 </option>
  1223. <option value="zh_hkg">Chinese - 中文(香港)</option>
  1224. <option value="zh_cn">Chinese - 中文(简体)</option>
  1225. <option value="zh_tw">Chinese - 中文(台灣)</option>
  1226. <option value="zh_usa">Chinese - 中文(繁體)</option>
  1227. <option value="de">German - Deutsch</option>
  1228. <option value="nl">Dutch</option>
  1229. <option value="en_dot" selected>English</option>
  1230. <option value="en_aus">English - Australia & New Zealand</option>
  1231. <option value="en_uk">English - Europe</option>
  1232. <option value="en_in">English-India</option>
  1233. <option value="es_chl">Español - Chile</option>
  1234. <option value="fr">French - Français</option>
  1235. <option value="he">Hebrew</option>
  1236. <option value="hu">Hungarian</option>
  1237. <option value="it">Italian</option>
  1238. <option value="ja">Japanese - 日本語</option>
  1239. <option value="ko">Korean</option>
  1240. <option value="pl">Polish</option>
  1241. <option value="pt">Portuguese</option>
  1242. <option value="pt_bra">Portuguese - Brazil</option>
  1243. <option value="ro">Romanian</option>
  1244. <option value="ru">Russian</option>
  1245. <option value="ru_eeo">Russian EEO</option>
  1246. <option value="ru_uk">Russian-Ukraine</option>
  1247. <option value="sk">Slovak</option>
  1248. <option value="es">Spanish - ESPAÑOL</option>
  1249. <option value="es_col">Spanish</option>
  1250. <option value="es_mex">Spanish - Español (Mexico)</option>
  1251. <option value="sv">Swedish</option>
  1252. <option value="th">Thai - ภาษาไทย</option>
  1253. <option value="zh_sgp">Chinese - 中文(新加坡)</option>
  1254. <option value="zh_my">中文 (马来西亚)</option>
  1255. <option value="zh_aus">Chinese - 中文-澳大利亚</option>
  1256. </select>
  1257. </div>
  1258. </form>
  1259. </div>
  1260. </div>
  1261. </div>
  1262. </div>
  1263. </div>
  1264. <div id="divPopupNorway" class="ui small modal">
  1265. <div class="ui basic segment nomargin">
  1266. Please note that orders shipping to Norway must contain approved products or the order will not ship. To find a list of the approved products please click on the following link or contact customer service for further details.
  1267. </div>
  1268. <div class="ui basic segment nomargin">
  1269. <a href = "http://doterraeveryday.eu/approved-norway-products/" target="blank" onClick="$('#divPopupNorway').modal('hide');">List of Approved Products for Norway</a>
  1270. </div>
  1271. <div class="ui center aligned basic segment nomargin">
  1272. <input type="button" class="ui primary button" value="OK" onClick="$('#divPopupNorway').modal('hide');">
  1273. </div>
  1274. </div>
  1275. <script>
  1276. function CloseNFROTG() {
  1277. if (document.getElementById('OTGRadio').checked) {
  1278. document.getElementById('OTGSELECTED').value='1';
  1279. if (document.getElementById('SelectHomeCountry').value == 'EO')
  1280. {
  1281. if ($('#EOCountries').val().split('_').length > 1)
  1282. {
  1283. var thisCou = $('#EOCountries').val().split('_')[1];
  1284. }
  1285. else
  1286. {
  1287. var thisCou = $('#EOCountries').val();
  1288. }
  1289. } else if (document.getElementById('SelectHomeCountry').value == 'GAC')
  1290. {
  1291. if ($('#GACCountries').val().split('_').length > 1)
  1292. {
  1293. var thisCou = $('#GACCountries').val().split('_')[1];
  1294. }
  1295. else
  1296. {
  1297. var thisCou = $('#GACCountries').val();
  1298. }
  1299. } else if (document.getElementById('SelectHomeCountry').value == 'RUS')
  1300. {
  1301. if ($('#RUSCountries').val().split('_').length > 1)
  1302. {
  1303. var thisCou = $('#RUSCountries').val().split('_')[1];
  1304. }
  1305. else
  1306. {
  1307. var thisCou = $('#RUSCountries').val();
  1308. }
  1309. } else if (document.getElementById('SelectHomeCountry').value == 'ZAF')
  1310. {
  1311. if ($('#ZAFCountries').val().split('_').length > 1)
  1312. {
  1313. var thisCou = $('#ZAFCountries').val().split('_')[1];
  1314. }
  1315. else
  1316. {
  1317. var thisCou = $('#ZAFCountries').val();
  1318. }
  1319. }
  1320. else
  1321. {
  1322. var thisCou = document.getElementById('SelectHomeCountry').value;
  1323. }
  1324. if (listFind("AUS,BRA,DEU,Andorra,Austria,Belgium,Bulgaria,Croatia,Cyprus,Czech Republic,Denmark,Estonia,Finland,France,Greece,Hungary,Iceland,Ireland,Latvia,Liechtenstein,Lithuania,Luxembourg,Malta,Moldova,Monaco,Netherlands,Norway,Poland,Portugal,Romania,Slovakia,Slovenia,Spain,Sweden,Switzerland,FRA,GBR,ITA,NZL,POL,ZAF",thisCou)) {
  1325. var getBuildURL=getShopURL(thisCou,document.getElementById('AppChangeMyLanguage').value);
  1326. if (getBuildURL != '') {
  1327. window.location.href="https://shop.doterra.com/"+getBuildURL+"/create-account?EnrollerID=458046";
  1328. return;
  1329. }
  1330. }
  1331. }
  1332. else if (document.getElementById('NFRRadio').checked) {
  1333. document.getElementById('OTGSELECTED').value='0';
  1334. if(document.getElementById('HomeCountry').value == "MEX") {
  1335. var input = document.createElement('input');
  1336. input.setAttribute('type','hidden');
  1337. input.setAttribute("name", "SecondAddressCountry");
  1338. input.setAttribute("value", "USA");
  1339. document.getElementById("MemberTypeForm").appendChild(input);
  1340. }
  1341. if(document.getElementById('HomeCountry').value == "ISR") {
  1342. var input = document.createElement('input');
  1343. input.setAttribute('type','hidden');
  1344. input.setAttribute("name", "SecondAddressCountry");
  1345. input.setAttribute("value", "ISRR");
  1346. document.getElementById("MemberTypeForm").appendChild(input);
  1347. }
  1348. }
  1349. document.getElementById('overlay2').style.display = 'none';
  1350. document.getElementById('APPNFROTG').style.display = 'none';
  1351. document.body.scrollTop = document.documentElement.scrollTop = 0;
  1352. }
  1353. </script>
  1354. <div id="APPNFROTG">
  1355. <div id="PopUpHeader" class="ui primary raised segment nomargin">
  1356. <div class="ui container">
  1357. <div class="ui stackable grid">
  1358. <div id="logo" class="sixteen wide column">
  1359. <a href="http://doterra.myvoffice.com"><img src="/skins/skin01/images/logo.svg" class="ui small image logo" alt="dōTERRA" border="0"/></a>
  1360. </div>
  1361. </div>
  1362. </div>
  1363. </div>
  1364. <div class="ui container">
  1365. <div id="NFROTGHeader" class="ui center aligned basic segment nopadding">
  1366. <h2 class="nomargin">Type of Order</h2>
  1367. </div>
  1368. <br clear="all">
  1369. <div class="ui equal width stackable grid">
  1370. <div class="column">
  1371. <img id="NFROGTImg" src="skins/skin01/images/NFROTG.png" alt="NFROTG" title="NFG">
  1372. </div>
  1373. <div class="column hebrew">
  1374. <div class="ui basic segment nomargin">
  1375. <div id="OA_PurchasingChoiceText" class="ui basic segment nomargin" lang="en_dot">
  1376. Please select your purchasing order choice between receiving products from <span id='CountryName' style="color:#000000;font-size:17px"></span> or receiving products from USA.
  1377. </div>
  1378. <div class="ui basic segment nomargin">
  1379. <div id="OA_PurchasingChoiceSelections" class="ui form">
  1380. <div id="OTGContainer" class="field">
  1381. <div class="ui radio checkbox">
  1382. <input type="radio" name="NFROTGRadio" id="OTGRadio" value="OTG" checked="checked">
  1383. <label id="OTGRadioNZLL" for="OTGRadio" style="display:none;">
  1384. New Zealand products: Select this option if you wish to order your items from an New Zealand warehouse in New Zealand Dollars.
  1385. </label>
  1386. <label for="OTGRadio" id="OTGRadioRest">
  1387. <span class="OA_PurchasingChoiceOptionHeader">
  1388. Local (OTG) Order
  1389. </span><br>
  1390. Select this option if you wish to order your items from an <span id='CountryName2' class="extrabold"></span> <span class="extrabold">Warehouse</span> in <span id='CountryCurrency' class="extrabold"></span>
  1391. </label>
  1392. </div>
  1393. </div>
  1394. <div class="field">
  1395. <div class="ui radio checkbox">
  1396. <input type="radio" name="NFROTGRadio" id="NFRRadio" value="NFR">
  1397. <label id="NFRRadioNZLL" for="NFRRadio" style="display:none;">
  1398. USA Products: Select this option if you wish to order your items from a USA warehouse in US Dollars
  1399. </label>
  1400. <label for="NFRRadio" id="NFRRadioRest">
  1401. <span class="OA_PurchasingChoiceOptionHeader">
  1402. International (NFR)
  1403. </span><br>
  1404. Select this option if you wish to order your items from a <span class="extrabold">USA Warehouse</span> in <span class="extrabold">US Dollars</span>
  1405. </label>
  1406. </div>
  1407. </div>
  1408. </div>
  1409. </div>
  1410. </div>
  1411. </div>
  1412. </div>
  1413. <div class="ui center aligned basic segment hebrew">
  1414. <input type="button" OnClick="CloseNFROTG()" class="avcobrowse-block ui basic primary button continuebutton" value='CONTINUE'>
  1415. </div>
  1416. </div>
  1417. </div>
  1418. <div id="TWNPOPUP" class="ui small modal">
  1419. <div class="ui basic segment nomargin">
  1420. <div class="ui basic segment nomargin">
  1421. <h3 class="TWNCheckHeader">Join as a new Wellness Advocate</h3>
  1422. </div>
  1423. <div class="ui basic segment nomargin">
  1424. Please contact our <a href="http://www.doterra.com/#/en/international/asia/taiwan">Taiwan office</a> to find out more information
  1425. </div>
  1426. <div class="ui basic segment nomargin">
  1427. Phone number: 886-4-2210-7105; Email: taiwanservice@doterra.com
  1428. </div>
  1429. <div class="ui center aligned basic segment nomargin">
  1430. <a href="http://www.doterra.com" class="ui basic tertiary button">
  1431. Return Home
  1432. </a>
  1433. </div>
  1434. </div>
  1435. </div>
  1436. <div id="divItalyPopup" class="ui small modal">
  1437. <div class="ui basic segment nomargin">
  1438. <h3>Welcome to dōTERRA!</h3>
  1439. </div>
  1440. <div class="ui basic segment nomargin">
  1441. The Incaricati enrollment process includes a few simple steps:
  1442. <ul class="nomargin">
  1443. <li>You willbe asked to enter your personal information, your enroller and sponsor ID numbers (if applicable), and to place your enrollment order.</li>
  1444. <li>You will also be asked to fill out a form, detailing Italian income tax and social contribution withholdings, and agreeing to the data processing policy.</li>
  1445. <li>Once these steps are completed you will be asked to print, review, sign and date the form where indicated, and submit your signed form to dōTERRA.</li>
  1446. <li>Finally, you will be asked to create your Incaricati identification card by uploading a picture of yourself.</li>
  1447. <ul>
  1448. <li>To assist an email will be sent to you explaining how to print your form and create your identification card.</li>
  1449. <li>Please note, that until these steps are completed, your account willbe limited to that of a wholesale customer.</li>
  1450. </ul>
  1451. </ul>
  1452. </div>
  1453. <div class="ui basic segment nomargin">
  1454. We are pleased to have you join dōTERRA!Should you have any questions please contact us at: +39 0426270026 orassistenzaclienti@doterra.com.
  1455. </div>
  1456. <div class="ui center aligned basic segment nomargin">
  1457. <input type="button" class="ui basic primary button" onclick="$('#divItalyPopup').modal('hide');" value="Close">
  1458. <input type="button" class="ui primary button" onclick="SubmitTypeForm();" value="Continue">
  1459. </div>
  1460. </div>
  1461. <div id="divTWNPopup" class="ui small modal">
  1462. <div class="ui basic segment nomargin">
  1463. <h3>Welcome to dōTERRA!</h3>
  1464. </div>
  1465. <div class="ui basic segment nomargin">
  1466. Welcome to the ranks of doTERRA Wellness Advocate. After completing your enrollment, please remember to send back the signed agreement within 30 days. Thank you!
  1467. </div>
  1468. <div class="ui center aligned basic segment nomargin">
  1469. <input type="button" class="ui basic primary button" onclick="$('#divTWNPopup').modal('hide');" value=" Close ">
  1470. <input type="button" class="ui primary button" onclick="SubmitTypeForm();" value=" Continue ">
  1471. </div>
  1472. </div>
  1473. <div id="JPNStillTime" align="center" class="popup_layer" style="margin: 0px auto; position: absolute; top: 424px; left: 458px; background-color: transparent; overflow: visible; border: 0px; z-index: 5000; padding: 5px; display: none;">
  1474. <style>
  1475. .stilltime {
  1476. background-color:#DAE8F0;
  1477. }
  1478. </style>
  1479. <div class="save-changes-popup stilltime" style="width:400px;position:absoulte;">
  1480. <div style="text-align:left;width:350px;position:relative;float:center">
  1481. <p style="font-size:24px;font-weight:bold">Hey there night owl.</p> <p style="font-size:12px;font-weight:normal">It's not too late to place an order that counts for what is technically now last month. </p> <p style="font-size:12px;font-weight:normal">The commission period hasn't switched to a new month yet. Any orders placed at this time will still count towards <span style="font-weight:bold;font-style:italic">last month's</span> volume.</p>
  1482. </div>
  1483. <div style="position:relative;float:center;padding-bottom:20px">
  1484. <input type="button" class="savebutt" name="OKButton" onClick="parent.removeDiv('overlay');parent.removeDiv('JPNStillTime')" style="width:50px;" value="OK">
  1485. </div>
  1486. </div>
  1487. </div>
  1488. <script>
  1489. document.getElementById('AppChangeMyLanguage').onchange = function(){
  1490. if(this.value == 'ko') {
  1491. var country = document.getElementById('SelectHomeCountry');
  1492. var countries = country.options;
  1493. for(var index = 0;index < countries.length;index ++) {
  1494. if(countries[index].value == 'KOR') {
  1495. country.selectedIndex = index;
  1496. break;
  1497. }
  1498. }
  1499. }
  1500. CheckLanguage(this.value);
  1501. };
  1502. function ShowHideEO() {
  1503. var sel = document.getElementById('SelectHomeCountry');
  1504. var opt = sel.options[sel.selectedIndex];
  1505. if (opt.value == "EO") {
  1506. document.getElementById('EO').style.display = "block";
  1507. document.getElementById('GAC').style.display = "none";
  1508. document.getElementById('ZAF').style.display = "none";
  1509. }
  1510. else if (opt.value == "GAC") {
  1511. document.getElementById('GAC').style.display = "block";
  1512. document.getElementById('EO').style.display = "none";
  1513. document.getElementById('ZAF').style.display = "none";
  1514. }
  1515. else if (opt.value == "ZAF") {
  1516. document.getElementById('ZAF').style.display = "block";
  1517. document.getElementById('EO').style.display = "none";
  1518. document.getElementById('GAC').style.display = "none";
  1519. }
  1520. else {
  1521. document.getElementById('EO').style.display = "none";
  1522. document.getElementById('GAC').style.display = "none";
  1523. document.getElementById('ZAF').style.display = "none";
  1524. }
  1525. CheckTradChinese();
  1526. }
  1527. function reloadCountry(cou) {
  1528. addDimmer();
  1529. var dmd = "";
  1530. /* START WF171402 Megan D: Adding URL for EO subcountries on reload */
  1531. if(cou.substring(0, 2) == 'EO' || cou == 'DEU' || cou == 'ITA' || cou == 'GBR'){
  1532. var buildurl = "https://beta-doterra.myvoffice.com/Application/index.cfm?Country=EO&SubCountry="+cou+dmd;
  1533. } else if(cou.substring(0, 3) == 'ZAF'){
  1534. var buildurl = "https://beta-doterra.myvoffice.com/Application/index.cfm?Country=ZAF&SubCountry="+cou+dmd;
  1535. } else{
  1536. var buildurl = "https://beta-doterra.myvoffice.com/Application/index.cfm?Country="+cou+dmd;
  1537. }
  1538. /* END WF171402 MD */
  1539. buildurl+="&EnrollerID=458046";
  1540. var allNativeLang="{\"JPN\":\"ja\",\"KOR\":\"ko\",\"EO_France\":\"fr\",\"ISR\":\"he\",\"EO_Ireland\":\"en_uk\",\"PYF\":\"en_dot\",\"THA\":\"th\",\"FRA\":\"fr\",\"CHNN\":\"zh_tw\",\"MEXX\":\"en_dot\",\"EO_Slovenia\":\"sl\",\"ISRR\":\"zh_tw\",\"NZLA\":\"zh_tw\",\"KAZ\":\"ru\",\"EO_Romania\":\"ro\",\"USA\":\"en_dot\",\"PNT\":\"zh_tw\",\"CRI\":\"es\",\"EO_Czech Republic\":\"en_uk\",\"CHL\":\"es_chl\",\"EO_Liechtenstein\":\"de\",\"EO_Cyprus\":\"en_uk\",\"HKG\":\"zh_hkg\",\"ARE\":\"en_uk\",\"BRA\":\"pt_bra\",\"EO_Israel\":\"he\",\"SGPP\":\"zh_tw\",\"EO_Belgium\":\"en_uk\",\"EO_Hungary\":\"hu\",\"EO_Greenland\":\"en_uk\",\"MYSS\":\"zh_tw\",\"UKR\":\"ru_uk\",\"JPNN\":\"zh_tw\",\"POL\":\"en_uk\",\"EO_Greece\":\"en_uk\",\"EO_Bulgaria\":\"en_uk\",\"ZAF\":\"en_uk\",\"SGP\":\"en_dot\",\"EO_Netherlands\":\"nl\",\"PYFF\":\"zh_tw\",\"RUSN\":\"en_dot\",\"EO_Denmark\":\"en_uk\",\"IND\":\"en_in\",\"NZL\":\"en_aus\",\"CHN\":\"zh_cn\",\"CANN\":\"zh_tw\",\"TWN\":\"zh_tw\",\"MYS\":\"en_dot\",\"CAN\":\"en_dot\",\"SLV\":\"es\",\"COL\":\"es_col\",\"GUA\":\"es\",\"IDN\":\"id\",\"EO_Norway\":\"en_uk\",\"CAO\":\"es\",\"EO_Malta\":\"en_uk\",\"EO_Austria\":\"en_uk\",\"EO_Finland\":\"en_uk\",\"EO_Spain\":\"es\",\"EO_Latvia\":\"en_uk\",\"MEX\":\"es_mex\",\"EO_Poland\":\"en_uk\",\"EO\":\"en_uk\",\"EO_Slovakia\":\"sk\",\"CRII\":\"es\",\"EO_Andorra\":\"en_uk\",\"EO_Moldova\":\"ro\",\"PHL\":\"en_dot\",\"UKRR\":\"ru_uk\",\"EO_Estonia\":\"en_uk\",\"EO_Croatia\":\"en_uk\",\"TWNN\":\"zh_tw\",\"EO_Sweden\":\"sv\",\"AUSN\":\"zh_tw\",\"EO_Monaco\":\"en_uk\",\"EO_Portugal\":\"pt\",\"EO_Switzerland\":\"de\",\"GBR\":\"en_uk\",\"GTM\":\"es\",\"ECU\":\"es\",\"EO_Eastern European Other\":\"en_uk\",\"NZLL\":\"en_aus\",\"EO_Lithuania\":\"en_uk\",\"ITA\":\"it\",\"HKGG\":\"zh_tw\",\"RUS\":\"ru\",\"KORR\":\"zh_tw\",\"AUS\":\"en_aus\",\"EO_Luxembourg\":\"de\",\"GAC\":\"en_dot\",\"EO_Faroe Islands\":\"en_uk\",\"MDA\":\"ro\",\"DEU\":\"de\",\"EO_Iceland\":\"en_uk\"}";;
  1541. console.log(allNativeLang);
  1542. var allNativeLang = JSON.parse(allNativeLang);
  1543. console.log(allNativeLang);
  1544. var i;
  1545. console.log(cou);
  1546. console.log(allNativeLang);
  1547. for( i in allNativeLang){
  1548. if (i == cou) {
  1549. console.log(allNativeLang[i]);
  1550. document.cookie = "Language=" + allNativeLang[i];
  1551. }
  1552. }
  1553. window.location.href = buildurl;
  1554. }
  1555. function GoToTradChineseCountry() {
  1556. var sel = document.getElementById('SelectHomeCountry');
  1557. var opt = sel.options[sel.selectedIndex];
  1558. if ($("#AppChangeMyLanguage")) {
  1559. if ($("#AppChangeMyLanguage").val() == 'trad_chinese') {
  1560. if (opt.value != 'HKG' && 'en_dot' == 'zh_hkg') {
  1561. $(document.LanguageForm2).append("<input type='hidden' id='SelectedCountryCode' name='SelectedCountryCode' value='HKG'>");
  1562. $("#AppChangeMyLanguage").append($("<option>Chinese - 中文</option>").attr("value", "zh_hkg").text("Chinese - 中文"));
  1563. $("#AppChangeMyLanguage").val('zh_hkg');
  1564. $(".blu_butt").each(function(index){
  1565. $(this).hide()
  1566. });
  1567. document.LanguageForm2.submit();
  1568. }
  1569. else
  1570. if (opt.value != 'SGP' && 'en_dot' == 'zh_sgp') {
  1571. $(document.LanguageForm2).append("<input type='hidden' id='SelectedCountryCode' name='SelectedCountryCode' value='SGP'>");
  1572. $("#AppChangeMyLanguage").append($("<option>Chinese - 中文</option>").attr("value", "zh_sgp").text("Chinese - 中文"));
  1573. $("#AppChangeMyLanguage").val('zh_sgp');
  1574. $(".blu_butt").each(function(index){
  1575. $(this).hide()
  1576. });
  1577. document.LanguageForm2.submit();
  1578. }
  1579. else
  1580. if (opt.value != 'TWN' && 'en_dot' == 'zh_tw') {
  1581. $(document.LanguageForm2).append("<input type='hidden' id='SelectedCountryCode' name='SelectedCountryCode' value='TWN'>");
  1582. $("#AppChangeMyLanguage").append($("<option>Chinese - 中文</option>").attr("value", "zh_tw").text("Chinese - 中文"));
  1583. $("#AppChangeMyLanguage").val('zh_tw');
  1584. $(".blu_butt").each(function(index){
  1585. $(this).hide()
  1586. });
  1587. document.LanguageForm2.submit();
  1588. }
  1589. else
  1590. if (opt.value != 'CHN' && 'en_dot' == 'zh_cn') {
  1591. $(document.LanguageForm2).append("<input type='hidden' id='SelectedCountryCode' name='SelectedCountryCode' value='CHN'>");
  1592. $("#AppChangeMyLanguage").append($("<option>Chinese - 中文</option>").attr("value", "zh_cn").text("Chinese - 中文"));
  1593. $("#AppChangeMyLanguage").val('zh_cn');
  1594. $(".blu_butt").each(function(index){
  1595. $(this).hide()
  1596. });
  1597. document.LanguageForm2.submit();
  1598. }
  1599. else
  1600. if (opt.value != 'MYS' && 'en_dot' == 'zh_my') {
  1601. $(document.LanguageForm2).append("<input type='hidden' id='SelectedCountryCode' name='SelectedCountryCode' value='MYS'>");
  1602. $("#AppChangeMyLanguage").append($("<option>Chinese - 中文</option>").attr("value", "zh_my").text("Chinese - 中文"));
  1603. $("#AppChangeMyLanguage").val('zh_my');
  1604. $(".blu_butt").each(function(index){
  1605. $(this).hide()
  1606. });
  1607. document.LanguageForm2.submit();
  1608. }
  1609. else
  1610. if (opt.value != 'CAN' && 'en_dot' == 'zh_can') {
  1611. $(document.LanguageForm2).append("<input type='hidden' id='SelectedCountryCode' name='SelectedCountryCode' value='CAN'>");
  1612. $("#AppChangeMyLanguage").append($("<option>Chinese (Canada) - 中文 - 加拿大</option>").attr("value", "zh_can").text("Chinese (Canada) - 中文 - 加拿大"));
  1613. $("#AppChangeMyLanguage").val('zh_can');
  1614. $(".blu_butt").each(function(index){
  1615. $(this).hide()
  1616. });
  1617. document.LanguageForm2.submit();
  1618. }
  1619. else
  1620. if (opt.value != 'AUS' && 'en_dot' == 'zh_aus') {
  1621. $(document.LanguageForm2).append("<input type='hidden' id='SelectedCountryCode' name='SelectedCountryCode' value='AUS'>");
  1622. $("#AppChangeMyLanguage").append($("<option>Chinese - Australia</option>").attr("value", "zh_aus").text("Chinese - Australia"));
  1623. $("#AppChangeMyLanguage").val('zh_aus');
  1624. $(".blu_butt").each(function(index){
  1625. $(this).hide()
  1626. });
  1627. document.LanguageForm2.submit();
  1628. }
  1629. /*alert($("#AppChangeMyLanguage").val());*/
  1630. }
  1631. }
  1632. }
  1633. function CheckTradChinese() {
  1634. var sel = document.getElementById('SelectHomeCountry');
  1635. var opt = sel.options[sel.selectedIndex];
  1636. if ($("#AppChangeMyLanguage")) {
  1637. if ($("#AppChangeMyLanguage").val() == 'trad_chinese') {
  1638. if (opt.value == 'MYS' && 'en_dot' != 'zh_my') {
  1639. $(document.LanguageForm2).append("<input type='hidden' id='SelectedCountryCode' name='SelectedCountryCode' value='" + opt.value + "'>");
  1640. $("#AppChangeMyLanguage").append($("<option>Chinese - 中文</option>").attr("value", "zh_my").text("Chinese - 中文"));
  1641. $("#AppChangeMyLanguage").val('zh_my');
  1642. $(".blu_butt").each(function(index){
  1643. $(this).hide()
  1644. });
  1645. document.LanguageForm2.submit();
  1646. }
  1647. else if (opt.value == 'HKG' && 'en_dot' != 'zh_hkg') {
  1648. $(document.LanguageForm2).append("<input type='hidden' id='SelectedCountryCode' name='SelectedCountryCode' value='" + opt.value + "'>");
  1649. $("#AppChangeMyLanguage").append($("<option>Chinese - 中文</option>").attr("value", "zh_hkg").text("Chinese - 中文"));
  1650. $("#AppChangeMyLanguage").val('zh_hkg');
  1651. $(".blu_butt").each(function(index){
  1652. $(this).hide()
  1653. });
  1654. document.LanguageForm2.submit();
  1655. }
  1656. else
  1657. if (opt.value == 'SGP' && 'en_dot' != 'zh_sgp') {
  1658. $(document.LanguageForm2).append("<input type='hidden' id='SelectedCountryCode' name='SelectedCountryCode' value='" + opt.value + "'>");
  1659. $("#AppChangeMyLanguage").append($("<option>Chinese - 中文</option>").attr("value", "zh_sgp").text("Chinese - 中文"));
  1660. $("#AppChangeMyLanguage").val('zh_sgp');
  1661. $(".blu_butt").each(function(index){
  1662. $(this).hide()
  1663. });
  1664. document.LanguageForm2.submit();
  1665. }
  1666. else
  1667. if (opt.value == 'TWN' && 'en_dot' != 'zh_tw') {
  1668. $(document.LanguageForm2).append("<input type='hidden' id='SelectedCountryCode' name='SelectedCountryCode' value='" + opt.value + "'>");
  1669. $("#AppChangeMyLanguage").append($("<option>Chinese - 中文</option>").attr("value", "zh_tw").text("Chinese - 中文"));
  1670. $("#AppChangeMyLanguage").val('zh_tw');
  1671. $(".blu_butt").each(function(index){
  1672. $(this).hide()
  1673. });
  1674. document.LanguageForm2.submit();
  1675. }
  1676. else
  1677. if (opt.value == 'CHN' && 'en_dot' != 'zh_cn') {
  1678. $(document.LanguageForm2).append("<input type='hidden' id='SelectedCountryCode' name='SelectedCountryCode' value='" + opt.value + "'>");
  1679. $("#AppChangeMyLanguage").append($("<option>Chinese - 中文</option>").attr("value", "zh_cn").text("Chinese - 中文"));
  1680. $("#AppChangeMyLanguage").val('zh_cn');
  1681. $(".blu_butt").each(function(index){
  1682. $(this).hide()
  1683. });
  1684. document.LanguageForm2.submit();
  1685. }
  1686. else
  1687. if (opt.value == 'CAN' && 'en_dot' != 'zh_can') {
  1688. $(document.LanguageForm2).append("<input type='hidden' id='SelectedCountryCode' name='SelectedCountryCode' value='" + opt.value + "'>");
  1689. $("#AppChangeMyLanguage").append($("<option>Chinese (Canada) - 中文 - 加拿大</option>").attr("value", "zh_can").text("Chinese (Canada) - 中文 - 加拿大"));
  1690. $("#AppChangeMyLanguage").val('zh_can');
  1691. $(".blu_butt").each(function(index){
  1692. $(this).hide()
  1693. });
  1694. document.LanguageForm2.submit();
  1695. }
  1696. else
  1697. if (opt.value == 'AUS' && 'en_dot' != 'zh_aus') {
  1698. $(document.LanguageForm2).append("<input type='hidden' id='SelectedCountryCode' name='SelectedCountryCode' value='" + opt.value + "'>");
  1699. $("#AppChangeMyLanguage").append($("<option>Chinese - Australia</option>").attr("value", "zh_aus").text("Chinese - Australia"));
  1700. $("#AppChangeMyLanguage").val('zh_aus');
  1701. $(".blu_butt").each(function(index){
  1702. $(this).hide()
  1703. });
  1704. document.LanguageForm2.submit();
  1705. }
  1706. else
  1707. if ('en_dot' != 'zh_usa' && opt.value != 'TWN' && opt.value != 'HKG' && opt.value != 'SGP' && opt.value != 'MYS' && opt.value != 'CAN' && opt.value != 'AUS') {
  1708. $(document.LanguageForm2).append("<input type='hidden' id='SelectedCountryCode' name='SelectedCountryCode' value='" + opt.value + "'>");
  1709. $("#AppChangeMyLanguage").append($("<option>Chinese - 中文</option>").attr("value", "zh_usa").text("Chinese - 中文"));
  1710. $("#AppChangeMyLanguage").val('zh_usa');
  1711. $(".blu_butt").each(function(index){
  1712. $(this).hide()
  1713. });
  1714. document.LanguageForm2.submit();
  1715. }
  1716. }
  1717. }
  1718. }
  1719. function getShopURL(cou,lng) {
  1720. shCou=new Object();shCou["mys"]="MY";shCou["jpn"]="JP";shCou["france"]="FR";shCou["lithuania"]="LT";shCou["spain"]="ES";shCou["switzerland"]="CH";shCou["poland"]="PL";shCou["norway"]="NO";shCou["hungary"]="HU";shCou["portugal"]="PT";shCou["luxembourg"]="LU";shCou["fra"]="FR";shCou["andorra"]="AD";shCou["croatia"]="HR";shCou["iceland"]="IS";shCou["monaco"]="MC";shCou["chl"]="CL";shCou["netherlands"]="NL";shCou["moldova"]="MD";shCou["slovakia"]="SK";shCou["finland"]="FI";shCou["latvia"]="LV";shCou["liechtenstein"]="LI";shCou["bra"]="BR";shCou["bulgaria"]="BG";shCou["estonia"]="EE";shCou["phl"]="PH";shCou["belgium"]="BE";shCou["greece"]="GR";shCou["sweden"]="SE";shCou["austria"]="AT";shCou["pol"]="PL";shCou["zaf"]="ZA";shCou["gbr"]="GB";shCou["malta"]="MT";shCou["cyprus"]="CY";shCou["ita"]="IT";shCou["romania"]="RO";shCou["ireland"]="IE";shCou["denmark"]="DK";shCou["aus"]="AU";shCou["deu"]="DE";shCou["czech republic"]="CZ";shCou["slovenia"]="SI";shCou["nzl"]="NZ";shCou["ind"]="IN";
  1721. shLng=new Object();shLng["es_eo"]="es";shLng["sl"]="sl";shLng["ja"]="ja";shLng["sv"]="sv";shLng["en_uk"]="en";shLng["es_chl"]="es";shLng["ru"]="ru";shLng["hu"]="hu";shLng["zh_usa"]="zh";shLng["da"]="da";shLng["ru_uk"]="ru";shLng["ro"]="ro";shLng["no"]="no";shLng["zh_can"]="zh";shLng["zh_cn"]="zh";shLng["pt_bra"]="pt";shLng["fr_eo"]="fr";shLng["ms"]="ms";shLng["de"]="de";shLng["cs"]="cs";shLng["fr"]="fr";shLng["et"]="et";shLng["bg"]="bg";shLng["ko"]="ko";shLng["es_mex"]="es";shLng["fi"]="fi";shLng["lv"]="lv";shLng["sk"]="sk";shLng["en_dot"]="en";shLng["zh_tw"]="zh";shLng["es_col"]="es";shLng["th"]="th";shLng["es"]="es";shLng["nl"]="nl";shLng["en_aus"]="en";shLng["zh_hkg"]="zh";shLng["zh_sgp"]="zh";shLng["zh_aus"]="zh";shLng["he"]="he";shLng["pt"]="pt";shLng["uk"]="uk";shLng["it"]="it";shLng["zh_my"]="zh";
  1722. shCouLng=new Object();shCouLng["si"]="en,sl";shCouLng["cy"]="en";shCouLng["at"]="de,en";shCouLng["cl"]="en,es";shCouLng["lt"]="en,lt,ru";shCouLng["be"]="de,enfr,nl";shCouLng["jp"]="ja";shCouLng["ph"]="en";shCouLng["my"]="en,ms,zh";shCouLng["mt"]="en";shCouLng["hu"]="en,hu";shCouLng["ro"]="en,hu,ro";shCouLng["no"]="en,no";shCouLng["au"]="en,es,fr,pt";shCouLng["is"]="en";shCouLng["de"]="de,en,es";shCouLng["fr"]="en,fr,pt";shCouLng["bg"]="bg,en";shCouLng["fi"]="en,fi";shCouLng["ie"]="en";shCouLng["za"]="en";shCouLng["sk"]="en,sl,hu,sk,cs";shCouLng["lv"]="en,lv,ru";shCouLng["lu"]="de,en,fr";shCouLng["pl"]="en,pl";shCouLng["nz"]="en";shCouLng["ch"]="de,en,es,fr,it";shCouLng["mc"]="en,fr";shCouLng["in"]="en";shCouLng["dk"]="da,de,en";shCouLng["gr"]="en";shCouLng["es"]="en,es,pt";shCouLng["ad"]="en,es,fr,pt";shCouLng["nl"]="en,nl";shCouLng["hr"]="en";shCouLng["cz"]="cs,cz,en,ru,sk";shCouLng["se"]="en,no,sv";shCouLng["gb"]="en";shCouLng["li"]="de,en";shCouLng["pt"]="en,es,pt";shCouLng["it"]="en,it";shCouLng["ee"]="en,et,ru";shCouLng["br"]="pt";
  1723. var myCou=shCou[cou.toLowerCase()];
  1724. if (myCou == undefined) {
  1725. return '';
  1726. } else {
  1727. /* START WF172382 Megan D: Updating js to use myLng or lng based on what Hybris has avaible */
  1728. var myLng=shLng[lng.toLowerCase()];
  1729. var myCouLngList=shCouLng[myCou.toLowerCase()];
  1730. if (myLng != undefined && myCouLngList != undefined && myCouLngList.includes(myLng)) {
  1731. return myCou+"/"+myLng+"_"+myCou;
  1732. } else if(myCouLngList != undefined && myCouLngList.includes(lng)) {
  1733. return myCou+"/"+lng+"_"+myCou;
  1734. }
  1735. else {
  1736. return myCou+"/en_"+myCou;
  1737. }
  1738. /* END WF172382 MD */
  1739. }
  1740. }
  1741. function ChangeMarket() {
  1742. var marketModel = {
  1743. cou: document.getElementById("SelectHomeCountry").value,
  1744. lang: $('#AppChangeMyLanguage').val()
  1745. };
  1746. console.log(marketModel);
  1747. document.cookie = "Language=" + $('#AppChangeMyLanguage').val(); /*WF171402 Megan D: Adding this to set the Cookie.Langueage*/
  1748. if (document.getElementById('SelectHomeCountry').value == 'EO') {
  1749. if ($('#EOCountries').val().split('_').length > 1) {
  1750. var thisCou = $('#EOCountries').val().split('_')[1];
  1751. } else {
  1752. var thisCou = $('#EOCountries').val();
  1753. }
  1754. } else if (document.getElementById('SelectHomeCountry').value == 'GAC') {
  1755. if ($('#GACCountries').val().split('_').length > 1) {
  1756. var thisCou = $('#GACCountries').val().split('_')[1];
  1757. } else {
  1758. var thisCou = $('#GACCountries').val();
  1759. }
  1760. } else if (document.getElementById('SelectHomeCountry').value == 'RUS') {
  1761. if ($('#RUSCountries').val().split('_').length > 1) {
  1762. var thisCou = $('#RUSCountries').val().split('_')[1];
  1763. } else {
  1764. var thisCou = $('#RUSCountries').val();
  1765. }
  1766. } else {
  1767. var thisCou = document.getElementById('SelectHomeCountry').value;
  1768. }
  1769. if (listFind("AUS,BRA,DEU,Andorra,Austria,Belgium,Bulgaria,Croatia,Cyprus,Czech Republic,Denmark,Estonia,Finland,France,Greece,Hungary,Iceland,Ireland,Latvia,Liechtenstein,Lithuania,Luxembourg,Malta,Moldova,Monaco,Netherlands,Norway,Poland,Portugal,Romania,Slovakia,Slovenia,Spain,Sweden,Switzerland,FRA,GBR,ITA,NZL,POL,ZAF",thisCou)) {
  1770. var getBuildURL=getShopURL(thisCou,document.getElementById('AppChangeMyLanguage').value);
  1771. if (getBuildURL != '') {
  1772. var element = document.getElementById('DiamondID');
  1773. var dmdID = ""
  1774. if (typeof(element) != 'undefined' && element != null)
  1775. {
  1776. dmdID = "diamondID="+document.getElementById('DiamondID').value;
  1777. console.log(dmdID);
  1778. window.location.href="https://shop.doterra.com/"+getBuildURL+"/create-account?"+dmdID+"&EnrollerID=458046";
  1779. }
  1780. else
  1781. {
  1782. window.location.href="https://shop.doterra.com/"+getBuildURL+"/create-account?EnrollerID=458046";
  1783. }
  1784. return;
  1785. }
  1786. }
  1787. //mike
  1788. if (document.getElementById('SelectHomeCountry').value == 'CAN') {
  1789. var redirecturl = "/index.cfm?Fuse=public/DisplayPage&Page=OnlineAppRedirect&noheader=1&nofooter=1&country="+document.getElementById('SelectHomeCountry').value+"&language="+document.getElementById('AppChangeMyLanguage').value;
  1790. window.location.href = redirecturl;
  1791. return;
  1792. }
  1793. //mike
  1794. if (document.getElementById('SelectHomeCountry').value == 'USA') {
  1795. var redirecturl = "/index.cfm?Fuse=public/DisplayPage&Page=OnlineAppRedirect&noheader=1&nofooter=1&country="+document.getElementById('SelectHomeCountry').value+"&language="+document.getElementById('AppChangeMyLanguage').value;
  1796. window.location.href = redirecturl;
  1797. return;
  1798. }
  1799. var thisLanguage = $('#AppChangeMyLanguage').val();
  1800. var repimga=document.getElementById("NFROGTImg");
  1801. var repimgb=document.getElementById("TypeDistributor");
  1802. var repimgc=document.getElementById("TypeCustomer");
  1803. if(document.getElementById("SelectHomeCountry").value == 'HKG'){
  1804. repimga.src='skins/skin01/images/A.jpg';
  1805. repimgb.src='skins/skin01/images/C.jpg';
  1806. repimgc.src='skins/skin01/images/B.jpg';
  1807. }
  1808. else
  1809. {
  1810. repimga.src='skins/skin01/images/NFROTG.png';
  1811. repimgb.src='skins/skin01/images/TypeDistributor.png';
  1812. repimgc.src='skins/skin01/images/TypeCustomer.png';
  1813. }
  1814. var localidcheck = (typeof arguments[0] == 'undefined' || arguments[0] == '') ? 1:arguments[0];
  1815. document.getElementById('PleaseChooseCountry').style.display='none';
  1816. var sel = document.getElementById('SelectHomeCountry');
  1817. var opt = sel.options[sel.selectedIndex];
  1818. document.getElementById('HomeCountry').value=opt.value;
  1819. if ('AUS,CAN,CRII,CRI,EO,GBR,DEU,PYF,GUA,HKG,KOR,MEX,NZL,TWN,USA,GAC,ITA,ZAF,ISR'.indexOf(opt.value) >= 0) {
  1820. oldapp = document.getElementById('divGotoOldApp');
  1821. if (oldapp) {
  1822. oldapp.parentNode.removeChild(oldapp);
  1823. }
  1824. }
  1825. if (opt.value == "EO") {
  1826. var sel = document.getElementById('EOCountries');
  1827. var opt2 = sel.options[sel.selectedIndex];
  1828. document.getElementById('EOHomeCountry').value=opt2.value;
  1829. if (document.getElementById('EOHomeCountry').value == '')
  1830. throw new Error(document.getElementById('PleaseChooseCountry').style.display='');
  1831. if (opt2.value == "EO" || opt2.value == "GBR" || opt2.value == "DEU" || opt2.value == "ITA") {
  1832. $('#livechat').hide();
  1833. }
  1834. }
  1835. if (opt.value == "GAC") {
  1836. var sel = document.getElementById('GACCountries');
  1837. var opt2 = sel.options[sel.selectedIndex];
  1838. document.getElementById('GACHomeCountry').value=opt2.value;
  1839. if (document.getElementById('GACHomeCountry').value == '')
  1840. throw new Error(document.getElementById('PleaseChooseCountry').style.display='');
  1841. }
  1842. if (opt.value == "RUS") {
  1843. var sel = document.getElementById('RUSCountries');
  1844. var opt2 = sel.options[sel.selectedIndex];
  1845. document.getElementById('RUSHomeCountry').value=opt2.value;
  1846. if (document.getElementById('RUSHomeCountry').value == '')
  1847. throw new Error(document.getElementById('PleaseChooseCountry').style.display='');
  1848. }
  1849. if (opt.value == "ZAF") {
  1850. var sel = document.getElementById('ZAFCountries');
  1851. var opt2 = sel.options[sel.selectedIndex];
  1852. document.getElementById('ZAFHomeCountry').value=opt2.value;
  1853. if (document.getElementById('ZAFHomeCountry').value == '')
  1854. throw new Error(document.getElementById('PleaseChooseCountry').style.display='');
  1855. }
  1856. if ('USA,CAN,AUS,EO,GBR,DEU,NZLL,NZL,KOR,RUS,ITA,CRI,CRII,GUA,MEX,HKG,JPN,SGP,MYS,BRA,ECU,GAC,COL,ZAF,PHL,ISR,UKR,PYF,THA,FRA,POL,CHL,IND,IDN,ARE,SLV,KAZ'.indexOf(opt.value) > -1) {
  1857. $('#MemberTypeCustomerBubble').hide();
  1858. if ( opt.value != "KOR" && opt.value != "PHL" && opt.value != "THA") {
  1859. $('#WholesaleType').prop('checked', true);
  1860. $('#MemberTypeDistributorBubble').addClass('disabled');
  1861. }
  1862. else {
  1863. $('#MemberTypeWholesaleBubble').addClass('disabled');
  1864. }
  1865. }
  1866. else if ('CRII,CRI,RUS,UKR'.indexOf(opt.value) > -1) {
  1867. document.getElementById('MemberTypeCustomerBubble').style.display = 'none';
  1868. $('#MemberTypeWholesaleBubble').hide();
  1869. }
  1870. else {
  1871. $('#MemberTypeWholesaleBubble').hide();
  1872. }
  1873. if ('MYS,SGP'.indexOf(opt.value) > -1) {
  1874. SelectType('DistributorMemberType');
  1875. }
  1876. if ((opt.value == "ZAF") && $('#ZAFCountries').val() != 'ZAF_South Africa') {
  1877. if (localidcheck == 1) {
  1878. console.log($('#ZAFCountries').val());
  1879. ZAFAlertText = " \n\tNew disclaimer screen between Country/Language selection and Enrollment Options that will let the user know that they can only ship within South Africa. \n";
  1880. alert(ZAFAlertText);
  1881. }
  1882. }
  1883. if (document.getElementById('SelectWarehouseID')) {
  1884. var sel = document.getElementById('SelectWarehouseID');
  1885. var opt = sel.options[sel.selectedIndex];
  1886. document.getElementById('WarehouseID').value = opt.value;
  1887. }
  1888. else {
  1889. document.getElementById('WarehouseID').value = '';
  1890. }
  1891. closeoverlay=1;
  1892. var noCloseOverlayCou='';
  1893. var noCloseOverlayCou = new Set(['MEX','AUS','SGP','HKG','CAN','NZLL','NZL','RUS','ISR','UKR']);
  1894. if (noCloseOverlayCou.has(document.getElementById('HomeCountry').value)) {
  1895. closeoverlay = 0;
  1896. }
  1897. if (0) {
  1898. }
  1899. else if (localidcheck == 1 && document.getElementById('HomeCountry').value == 'GAC' && document.getElementById('GACHomeCountry').value == 'GAC_China') {
  1900. LocalIDPopUp();
  1901. }
  1902. else if (localidcheck == 0 && document.getElementById('HomeCountry').value == 'GAC' && document.getElementById('GACHomeCountry').value == 'GAC_China') {
  1903. document.getElementById('MemberTypeForm').submit();
  1904. }
  1905. else if (document.getElementById('HomeCountry').value == 'TWN') {
  1906. document.getElementById('overlay2').style.display = 'none';
  1907. $('#MemberTypeCustomerBubble').hide();
  1908. $('#MemberTypeWholesaleBubble').show();
  1909. $('#MemberTypeDistributorBubble').show();
  1910. $('#WholesaleType').attr('checked', true);
  1911. }
  1912. else if (document.getElementById('HomeCountry').value == 'KOR'){
  1913. document.getElementById('overlay2').style.display = 'none';
  1914. $('#WholesaleType').hide();
  1915. $('#DistributorMemberType').hide();
  1916. $('#DistributorMemberType').css('cursor','pointer');
  1917. $('#WholesaleType').css('cursor','pointer');
  1918. if ($('#NICESim')) {
  1919. $('#NICESim').show();
  1920. }
  1921. if ($('#AdditionalInfoDiv')) {
  1922. $('#AdditionalInfoDiv').show();
  1923. }
  1924. }
  1925. else if (document.getElementById('HomeCountry').value == 'MYS') {
  1926. //MYSPopUp();
  1927. document.getElementById('overlay2').style.display = 'none';
  1928. $('#MemberTypeCustomerBubble').hide();
  1929. $('#MemberTypeWholesaleBubble').show();
  1930. $('#MemberTypeDistributorBubble').show();
  1931. }
  1932. else if (document.getElementById('HomeCountry').value == 'EO'){
  1933. document.getElementById('overlay2').style.display = 'none';
  1934. $('#PleaseNotText').show();
  1935. }
  1936. else if (document.getElementById('HomeCountry').value == 'MEX'){
  1937. $('#OTGRadio').attr('checked', 'checked');
  1938. CloseNFROTG();
  1939. }
  1940. else if (document.getElementById('HomeCountry').value == 'UKR'){
  1941. $('#NFRRadio').attr('checked', 'checked');
  1942. CloseNFROTG();
  1943. }
  1944. else if (document.getElementById('HomeCountry').value == 'RUS'){
  1945. var sel = document.getElementById('RUSCountries');
  1946. var opt = sel.options[sel.selectedIndex];
  1947. if (!document.getElementById('RUSCountries') || opt.value == 'RUS_Russia') {
  1948. NFROTGPopUp();
  1949. } else {
  1950. document.getElementById('overlay2').style.display = 'none';
  1951. $('#PleaseNotText').show();
  1952. }
  1953. }
  1954. else if (document.getElementById('HomeCountry').value == 'ZAF'){
  1955. var sel = document.getElementById('ZAFCountries');
  1956. var opt = sel.options[sel.selectedIndex];
  1957. document.getElementById('overlay2').style.display = 'none';
  1958. $('#PleaseNotText').show();
  1959. }
  1960. else if (closeoverlay) {
  1961. document.getElementById('overlay2').style.display = 'none';
  1962. }
  1963. else {
  1964. NFROTGPopUp();
  1965. }
  1966. document.getElementById('PopUp').style.display = 'none';
  1967. if (document.getElementById('divGotoOldApp')) {
  1968. document.getElementById('divGotoOldApp').style.display = 'block';
  1969. }
  1970. document.body.scrollTop = document.documentElement.scrollTop = 0;
  1971. if (document.getElementById('SelectHomeCountry').value == 'JPN') {
  1972. }
  1973. }
  1974. function NFROTGPopUp(){
  1975. var HomeCountry = document.getElementById('HomeCountry').value;
  1976. var CountryName = document.getElementById('CountryName');
  1977. var CountryName2 = document.getElementById('CountryName2');
  1978. var CountryCurrency = document.getElementById('CountryCurrency');
  1979. document.getElementById('APPNFROTG').style.display = 'block';
  1980. $('#OTGRadioNZLL').hide();
  1981. $('#NFRRadioNZLL').hide();
  1982. $('#OTGRadioNZL').hide();
  1983. $('#NFRRadioNZL').hide();
  1984. $('#OTGRadioRest').show();
  1985. $('#NFRRadioRest').show();
  1986. if (HomeCountry == 'AUS') {
  1987. if (CountryName != null) {CountryName.innerHTML = 'Australia';}
  1988. if (CountryName2 != null) {CountryName2.innerHTML = 'Australian';}
  1989. if (CountryCurrency != null) {CountryCurrency.innerHTML = 'Australian Dollars';}
  1990. }
  1991. if (HomeCountry == 'MEX') {
  1992. if (CountryName != null) {CountryName.innerHTML = 'Mexico';}
  1993. if (CountryName2 != null) {CountryName2.innerHTML = 'Mexico';}
  1994. if (CountryCurrency != null) {CountryCurrency.innerHTML = 'Mexican Pesos';}
  1995. }
  1996. if (HomeCountry == 'HKG') {
  1997. if (CountryName != null) {CountryName.innerHTML = 'Hong Kong';}
  1998. if (CountryName2 != null) {CountryName2.innerHTML = 'Hong Kong';}
  1999. if (CountryCurrency != null) {CountryCurrency.innerHTML = 'Hong Kong Dollars';}
  2000. }
  2001. if (HomeCountry == 'JPN') {
  2002. if (CountryName != null) {CountryName.innerHTML = 'Japan';}
  2003. if (CountryName2 != null) {CountryName2.innerHTML = '';}
  2004. if (CountryCurrency != null) {CountryCurrency.innerHTML = 'Japan';}
  2005. }
  2006. if (HomeCountry == 'SGP') {
  2007. if (CountryName != null) {CountryName.innerHTML = 'Singapore';}
  2008. if (CountryName2 != null) {CountryName2.innerHTML = 'Singapore';}
  2009. if (CountryCurrency != null) {CountryCurrency.innerHTML = 'Singapore Dollars';}
  2010. }
  2011. if (HomeCountry == 'NZLL' || HomeCountry == 'NZL') {
  2012. if (CountryName != null) {CountryName.innerHTML = 'New Zealand';}
  2013. if (CountryName2 != null) {CountryName2.innerHTML = 'United States';}
  2014. if (CountryCurrency != null) {CountryCurrency.innerHTML = 'Dollars';}
  2015. $('#OTGRadioNZLL').show();
  2016. $('#NFRRadioNZLL').show();
  2017. $('#OTGRadioNZL').show();
  2018. $('#NFRRadioNZL').show();
  2019. $('#OTGRadioRest').hide();
  2020. $('#NFRRadioRest').hide();
  2021. }
  2022. if (HomeCountry == 'MYS') {
  2023. if (CountryName != null) {CountryName.innerHTML = 'Malaysia';}
  2024. if (CountryName2 != null) {CountryName2.innerHTML = 'Malaysia';}
  2025. if (CountryCurrency != null) {CountryCurrency.innerHTML = 'Malaysia Ringgit';}
  2026. $('#OTGRadio').attr('checked', 'checked');
  2027. }
  2028. if (HomeCountry == 'ISR') {
  2029. if (CountryName != null) {CountryName.innerHTML = 'Israel';}
  2030. if (CountryName2 != null) {CountryName2.innerHTML = 'Israel';}
  2031. if (CountryCurrency != null) {CountryCurrency.innerHTML = 'Israeli Shekels';}
  2032. $('#OTGRadio').attr('checked', 'checked');
  2033. }
  2034. if (HomeCountry == 'CAN') {
  2035. if (CountryName != null) {CountryName.innerHTML = 'Canada';}
  2036. if (CountryName2 != null) {CountryName2.innerHTML = 'Canadian';}
  2037. if (CountryCurrency != null) {CountryCurrency.innerHTML = 'Canadian Dollars';}
  2038. $('#OTGRadio').attr('checked', 'checked');
  2039. }
  2040. }
  2041. function LocalIDPopUp(){
  2042. document.getElementById('LOCALIDPOPUP').style.display = 'block';
  2043. }
  2044. function TWNPopUp() {
  2045. $('#TWNPOPUP').modal('show');
  2046. }
  2047. function GotoOldApp() {
  2048. var sel = document.getElementById('SelectHomeCountry');
  2049. var opt = sel.options[sel.selectedIndex];
  2050. document.getElementById('HomeCountry').value=opt.value;
  2051. if (opt.value != 'MEX') {
  2052. var str = "http://doterra-nt.myvoffice.com/doterra/Application/Apply.cfm&EnrollerID=458046";
  2053. var str = str.replace("?","&");
  2054. var str = str.replace("/re.cfm&re","/re.cfm?re");
  2055. str += "&LNG=en_dot";
  2056. var res = str.replace("Apply.cfm","Apply.cfm?OAbypass=1&Country=" + opt.value);
  2057. var res = str.replace("Apply%2Ecfm%3F","Apply%2Ecfm%3FOAbypass%3D1%26Country%3D" + opt.value + '%26');
  2058. if (document.getElementById('DiamondID')) {
  2059. var res = res.replace("Apply.cfm?","Apply.cfm?DiamondID=" + document.getElementById('DiamondID').value + "&");
  2060. }
  2061. if (document.getElementById('SilverID')) {
  2062. var res = res.replace("Apply.cfm?","Apply.cfm?SilverID=" + document.getElementById('SilverID').value + "&");
  2063. }
  2064. if(res.indexOf('Apply.cfm&') != -1) res = res.replace('Apply.cfm&','Apply.cfm?');
  2065. window.location.href = res;
  2066. }
  2067. }
  2068. showPopUp('overlay2','#ffffff');
  2069. GoToTradChineseCountry();
  2070. if ($('#NICESim')) {
  2071. $('#NICESim').hide();
  2072. }
  2073. if ($('#AdditionalInfoDiv')) {
  2074. $('#AdditionalInfoDiv').hide();
  2075. }
  2076. </script>
  2077. <script>
  2078. </script>
  2079.  
Copyright © 2002-9 Sam Ruby, Mark Pilgrim, Joseph Walton, and Phil Ringnalda