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-PHX657');</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-PHX657"
  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='asiwtkdylx0reifj7y35y9dnakrdufvg8gs236jt'><input type='hidden' name='f_cd' value='07/26/2024 19:58:00'>
  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">Region:</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="KAZ" >Kazakhstan</option>
  762. <option value="MYS" >Malaysia</option>
  763. <option value="MEX" >Mexico</option>
  764. <option value="NZL" >New Zealand</option>
  765. <option value="GAC" >Other (Global Access Country)</option>
  766. <option value="PHL" >Philippines</option>
  767. <option value="RUS" >Russia (EAEU)</option>
  768. <option value="SGP" >Singapore</option>
  769. <option value="KOR" >South Korea</option>
  770. <option value="TWN" >Taiwan</option>
  771. <option value="THA" >Thailand</option>
  772. <option value="ARE" >United Arab Emirates</option>
  773. <option value="USA" >United States</option>
  774. </select>
  775. </div>
  776. <div id="PleaseChooseCountry" style="color:red;display:none;padding-top:5px;">Please choose a country</div>
  777. <div id="EO" class="field" style="display:none;">
  778. <select id="EOCountries" name="EOHomeCountry" onchange=" {$('#divPopupNorway').modal('hide');}reloadCountry(this.value);">
  779. <option value="" selected>Choose Market</option>
  780. <option value="EO_Andorra"
  781. >
  782. Andorra
  783. </option>
  784. <option value="EO_Austria"
  785. >
  786. Austria
  787. </option>
  788. <option value="EO_Belgium"
  789. >
  790. Belgium
  791. </option>
  792. <option value="EO_Bulgaria"
  793. >
  794. Bulgaria
  795. </option>
  796. <option value="EO_Croatia"
  797. >
  798. Croatia
  799. </option>
  800. <option value="EO_Cyprus"
  801. >
  802. Cyprus
  803. </option>
  804. <option value="EO_Czech Republic"
  805. >
  806. Czech Republic
  807. </option>
  808. <option value="EO_Denmark"
  809. >
  810. Denmark
  811. </option>
  812. <option value="EO_Estonia"
  813. >
  814. Estonia
  815. </option>
  816. <option value="EO_Finland"
  817. >
  818. Finland
  819. </option>
  820. <option value="EO_France"
  821. >
  822. France
  823. </option>
  824. <option value="DEU"
  825. >
  826. Germany
  827. </option>
  828. <option value="EO_Greece"
  829. >
  830. Greece
  831. </option>
  832. <option value="EO_Hungary"
  833. >
  834. Hungary
  835. </option>
  836. <option value="EO_Iceland"
  837. >
  838. Iceland
  839. </option>
  840. <option value="EO_Ireland"
  841. >
  842. Ireland
  843. </option>
  844. <option value="EO_Israel"
  845. >
  846. Israel
  847. </option>
  848. <option value="ITA"
  849. >
  850. Italy
  851. </option>
  852. <option value="EO_Latvia"
  853. >
  854. Latvia
  855. </option>
  856. <option value="EO_Liechtenstein"
  857. >
  858. Liechtenstein
  859. </option>
  860. <option value="EO_Lithuania"
  861. >
  862. Lithuania
  863. </option>
  864. <option value="EO_Luxembourg"
  865. >
  866. Luxembourg
  867. </option>
  868. <option value="EO_Malta"
  869. >
  870. Malta
  871. </option>
  872. <option value="EO_Moldova"
  873. >
  874. Moldova
  875. </option>
  876. <option value="EO_Monaco"
  877. >
  878. Monaco
  879. </option>
  880. <option value="EO_Netherlands"
  881. >
  882. Netherlands
  883. </option>
  884. <option value="EO_Norway"
  885. >
  886. Norway
  887. </option>
  888. <option value="EO_Poland"
  889. >
  890. Poland
  891. </option>
  892. <option value="EO_Portugal"
  893. >
  894. Portugal
  895. </option>
  896. <option value="EO_Romania"
  897. >
  898. Romania
  899. </option>
  900. <option value="EO_Slovakia"
  901. >
  902. Slovakia
  903. </option>
  904. <option value="EO_Slovenia"
  905. >
  906. Slovenia
  907. </option>
  908. <option value="EO_Spain"
  909. >
  910. Spain
  911. </option>
  912. <option value="EO_Sweden"
  913. >
  914. Sweden
  915. </option>
  916. <option value="EO_Switzerland"
  917. >
  918. Switzerland
  919. </option>
  920. <option value="GBR"
  921. >
  922. United Kingdom
  923. </option>
  924. </select>
  925. </div>
  926. <div id="GAC" class="field" style="display:none;">
  927. <select id="GACCountries" name="GACHomeCountry">
  928. <option value="" selected>Choose Market</option>
  929. <option value="GAC_Albania" >Albania</option>
  930. <option value="GAC_Algeria" >Algeria</option>
  931. <option value="GAC_Angola" >Angola</option>
  932. <option value="GAC_Anguilla" >Anguilla</option>
  933. <option value="GAC_Argentina" >Argentina</option>
  934. <option value="GAC_Armenia" >Armenia</option>
  935. <option value="GAC_Aruba" >Aruba</option>
  936. <option value="GAC_Azerbaijan" >Azerbaijan</option>
  937. <option value="GAC_Bahamas" >Bahamas</option>
  938. <option value="GAC_Bahrain" >Bahrain</option>
  939. <option value="GAC_Bangladesh" >Bangladesh</option>
  940. <option value="GAC_Barbados" >Barbados</option>
  941. <option value="GAC_Barbuda and Antigua" >Barbuda and Antigua</option>
  942. <option value="GAC_Belarus" >Belarus</option>
  943. <option value="GAC_Belize" >Belize</option>
  944. <option value="GAC_Benin" >Benin</option>
  945. <option value="GAC_Bermuda" >Bermuda</option>
  946. <option value="GAC_Bolivia" >Bolivia</option>
  947. <option value="GAC_Bonaire" >Bonaire</option>
  948. <option value="GAC_Bosnia and Herzegovina" >Bosnia and Herzegovina</option>
  949. <option value="GAC_Botswana" >Botswana</option>
  950. <option value="GAC_British Virgin Islands" >Virgin Islands (British)</option>
  951. <option value="GAC_Brunei Darussalam" >Brunei Darussalam</option>
  952. <option value="GAC_Cabo Verde" >Cabo Verde</option>
  953. <option value="GAC_Cambodia" >Cambodia</option>
  954. <option value="GAC_Cameroon" >Cameroon</option>
  955. <option value="GAC_Cayman Islands" >Cayman Islands</option>
  956. <option value="GAC_Chad" >Chad</option>
  957. <option value="GAC_Channel Islands" >Channel Islands</option>
  958. <option value="GAC_Comoros" >Comoros</option>
  959. <option value="GAC_Curacao" >Curacao</option>
  960. <option value="GAC_Cyprus" >Cyprus</option>
  961. <option value="GAC_Democratic Republic of Congo" >Democratic Republic of Congo</option>
  962. <option value="GAC_Djibouti" >Djibouti</option>
  963. <option value="GAC_Dominican Republic" >Dominican Republic</option>
  964. <option value="GAC_Egypt" >Egypt</option>
  965. <option value="GAC_El Salvador" >El Salvador</option>
  966. <option value="GAC_Equatorial Guinea" >Equatorial Guinea</option>
  967. <option value="GAC_Ethiopia" >Ethiopia</option>
  968. <option value="GAC_Falkland Islands" >Falkland Islands</option>
  969. <option value="GAC_Fiji" >Fiji</option>
  970. <option value="GAC_French Guiana" >French Guiana</option>
  971. <option value="GAC_Gabon" >Gabon</option>
  972. <option value="GAC_Gambia" >Gambia</option>
  973. <option value="GAC_Georgia" >Georgia</option>
  974. <option value="GAC_Ghana" >Ghana</option>
  975. <option value="GAC_Greenland" >Greenland</option>
  976. <option value="GAC_Grenada" >Grenada</option>
  977. <option value="GAC_Guadeloupe (of Caribbean Islands)" >Guadeloupe (of Caribbean Islands)</option>
  978. <option value="GAC_Guam" >Guam</option>
  979. <option value="GAC_Guernsey" >Guernsey</option>
  980. <option value="GAC_Guinea" >Guinea</option>
  981. <option value="GAC_Guinea-Bissau" >Guinea-Bissau</option>
  982. <option value="GAC_Guyana" >Guyana</option>
  983. <option value="GAC_Haiti" >Haiti</option>
  984. <option value="GAC_Holy See" >Holy See</option>
  985. <option value="GAC_Honduras" >Honduras</option>
  986. <option value="GAC_Indonesia" >Indonesia</option>
  987. <option value="GAC_Ivory Coast (Cote d'Ivoire)" >Ivory Coast (Cote d'Ivoire)</option>
  988. <option value="GAC_Jamaica" >Jamaica</option>
  989. <option value="GAC_Jersey" >Jersey</option>
  990. <option value="GAC_Jordan" >Jordan</option>
  991. <option value="GAC_Kazakhstan" >Kazakhstan</option>
  992. <option value="GAC_Kenya" >Kenya</option>
  993. <option value="GAC_Kiribati" >Kiribati</option>
  994. <option value="GAC_Kosovo" >Kosovo</option>
  995. <option value="GAC_Kuwait" >Kuwait</option>
  996. <option value="GAC_Kyrgyzstan" >Kyrgyzstan</option>
  997. <option value="GAC_Lao PDR" >Lao PDR</option>
  998. <option value="GAC_Lebanon" >Lebanon</option>
  999. <option value="GAC_Lesotho" >Lesotho</option>
  1000. <option value="GAC_Liberia" >Liberia</option>
  1001. <option value="GAC_Macau" >Macau</option>
  1002. <option value="GAC_Macedonia" >Macedonia</option>
  1003. <option value="GAC_Madagascar" >Madagascar</option>
  1004. <option value="GAC_Malaysia" >Malaysia</option>
  1005. <option value="GAC_Maldives" >Maldives</option>
  1006. <option value="GAC_Marshall Islands" >Marshall Islands</option>
  1007. <option value="GAC_Martinique" >Martinique</option>
  1008. <option value="GAC_Mauritania" >Mauritania</option>
  1009. <option value="GAC_Mauritius" >Mauritius</option>
  1010. <option value="GAC_Micronesia" >Micronesia</option>
  1011. <option value="GAC_Moldova" >Moldova</option>
  1012. <option value="GAC_Mongolia" >Mongolia</option>
  1013. <option value="GAC_Montenegro" >Montenegro</option>
  1014. <option value="GAC_Montserrat" >Montserrat</option>
  1015. <option value="GAC_Morocco" >Morocco</option>
  1016. <option value="GAC_Mozambique" >Mozambique</option>
  1017. <option value="GAC_Myanmar" >Myanmar</option>
  1018. <option value="GAC_Namibia" >Namibia</option>
  1019. <option value="GAC_Nepal" >Nepal</option>
  1020. <option value="GAC_New Caledonia" >New Caledonia</option>
  1021. <option value="GAC_Nicaragua" >Nicaragua</option>
  1022. <option value="GAC_Niger" >Niger</option>
  1023. <option value="GAC_Nigeria" >Nigeria</option>
  1024. <option value="GAC_Oman" >Oman</option>
  1025. <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>
  1026. <option value="GAC_Pakistan" >Pakistan</option>
  1027. <option value="GAC_Panama" >Panama</option>
  1028. <option value="GAC_Papua New Guinea" >Papua New Guinea</option>
  1029. <option value="GAC_Paraguay" >Paraguay</option>
  1030. <option value="GAC_Peru" >Peru</option>
  1031. <option value="GAC_Qatar" >Qatar</option>
  1032. <option value="GAC_Rwanda" >Rwanda</option>
  1033. <option value="GAC_Saba" >Saba</option>
  1034. <option value="GAC_Saint Lucia" >Saint Lucia</option>
  1035. <option value="GAC_Saint Vincent and the Grenadines" >Saint Vincent and the Grenadines</option>
  1036. <option value="GAC_Saint-Martin" >Saint-Martin</option>
  1037. <option value="GAC_Samoa" >Samoa</option>
  1038. <option value="GAC_San Marino" >San Marino</option>
  1039. <option value="GAC_Sao Tome and Principe" >Sao Tome and Principe</option>
  1040. <option value="GAC_Saudi Arabia" >Saudi Arabia</option>
  1041. <option value="GAC_Senegal" >Senegal</option>
  1042. <option value="GAC_Serbia" >Serbia</option>
  1043. <option value="GAC_Seychelles" >Seychelles</option>
  1044. <option value="GAC_Sierra Leone" >Sierra Leone</option>
  1045. <option value="GAC_Sint Eustatius" >Sint Eustatius</option>
  1046. <option value="GAC_Sint Maarten" >Sint Maarten</option>
  1047. <option value="GAC_Slovak Republic" >Slovak Republic</option>
  1048. <option value="GAC_Solomon Islands" >Solomon Islands</option>
  1049. <option value="GAC_South Africa" >South Africa</option>
  1050. <option value="GAC_South Sudan" >South Sudan</option>
  1051. <option value="GAC_Sri Lanka" >Sri Lanka</option>
  1052. <option value="GAC_Sudan" >Sudan</option>
  1053. <option value="GAC_Suriname" >Suriname</option>
  1054. <option value="GAC_Swaziland" >Swaziland</option>
  1055. <option value="GAC_Syria" >Syria</option>
  1056. <option value="GAC_Tajikistan" >Tajikistan</option>
  1057. <option value="GAC_Tanzania" >Tanzania</option>
  1058. <option value="GAC_Thailand" >Thailand</option>
  1059. <option value="GAC_Timor-Leste" >Timor-Leste</option>
  1060. <option value="GAC_Togo" >Togo</option>
  1061. <option value="GAC_Tonga" >Tonga</option>
  1062. <option value="GAC_Trinidad and Tobago" >Trinidad and Tobago</option>
  1063. <option value="GAC_Tunisia" >Tunisia</option>
  1064. <option value="GAC_Turkey" >Turkey</option>
  1065. <option value="GAC_Uganda" >Uganda</option>
  1066. <option value="GAC_Ukraine" >Ukraine</option>
  1067. <option value="GAC_United Arab Emirates" >United Arab Emirates</option>
  1068. <option value="GAC_Uruguay" >Uruguay</option>
  1069. <option value="GAC_Uzbekistan" >Uzbekistan</option>
  1070. <option value="GAC_Vanuatu" >Vanuatu</option>
  1071. <option value="GAC_Vatican City" >Vatican City</option>
  1072. <option value="GAC_Venezuela" >Venezuela</option>
  1073. <option value="GAC_Vietnam" >Vietnam</option>
  1074. <option value="GAC_Yemen" >Yemen</option>
  1075. <option value="GAC_Zambia" >Zambia</option>
  1076. <option value="GAC_Zimbabwe" >Zimbabwe</option>
  1077. </select>
  1078. </div>
  1079. <div id="RUS" class="field" style="display:none;">
  1080. <select id="RUSCountries" name="RUSHomeCountry">
  1081. <option value="RUS_Russia">Russia</option>
  1082. <option value="RUS_Belarus">Belarus</option>
  1083. <option value="RUS_Kazakhstan">Kazakhstan</option>
  1084. </select>
  1085. </div>
  1086. <div id="ZAF" class="field" style="display:none;">
  1087. <select id="ZAFCountries" name="ZAFHomeCountry" onchange="reloadCountry(this.value);">
  1088. <option value="" selected>Choose Country</option>
  1089. <option value="ZAF_Algeria"
  1090. >
  1091. Algeria
  1092. </option>
  1093. <option value="ZAF_Angola"
  1094. >
  1095. Angola
  1096. </option>
  1097. <option value="ZAF_Benin"
  1098. >
  1099. Benin
  1100. </option>
  1101. <option value="ZAF_Botswana"
  1102. >
  1103. Botswana
  1104. </option>
  1105. <option value="ZAF_Cameroon"
  1106. >
  1107. Cameroon
  1108. </option>
  1109. <option value="ZAF_Democratic Republic of Congo"
  1110. >
  1111. Democratic Republic of Congo
  1112. </option>
  1113. <option value="ZAF_Egypt"
  1114. >
  1115. Egypt
  1116. </option>
  1117. <option value="ZAF_Equatorial Guinea"
  1118. >
  1119. Equatorial Guinea
  1120. </option>
  1121. <option value="ZAF_Eswanti"
  1122. >
  1123. Eswanti
  1124. </option>
  1125. <option value="ZAF_Ethiopia"
  1126. >
  1127. Ethiopia
  1128. </option>
  1129. <option value="ZAF_Gabon"
  1130. >
  1131. Gabon
  1132. </option>
  1133. <option value="ZAF_Gambia"
  1134. >
  1135. Gambia
  1136. </option>
  1137. <option value="ZAF_Ghana"
  1138. >
  1139. Ghana
  1140. </option>
  1141. <option value="ZAF_Ivory Coast (Cote d'Ivoire)"
  1142. >
  1143. Ivory Coast (Cote d'Ivoire)
  1144. </option>
  1145. <option value="ZAF_Kenya"
  1146. >
  1147. Kenya
  1148. </option>
  1149. <option value="ZAF_Lesotho"
  1150. >
  1151. Lesotho
  1152. </option>
  1153. <option value="ZAF_Liberia"
  1154. >
  1155. Liberia
  1156. </option>
  1157. <option value="ZAF_Madagascar"
  1158. >
  1159. Madagascar
  1160. </option>
  1161. <option value="ZAF_Mauritius"
  1162. >
  1163. Mauritius
  1164. </option>
  1165. <option value="ZAF_Morocco"
  1166. >
  1167. Morocco
  1168. </option>
  1169. <option value="ZAF_Mozambique"
  1170. >
  1171. Mozambique
  1172. </option>
  1173. <option value="ZAF_Namibia"
  1174. >
  1175. Namibia
  1176. </option>
  1177. <option value="ZAF_Nigeria"
  1178. >
  1179. Nigeria
  1180. </option>
  1181. <option value="ZAF_Senegal"
  1182. >
  1183. Senegal
  1184. </option>
  1185. <option value="ZAF_South Africa"
  1186. >
  1187. South Africa
  1188. </option>
  1189. <option value="ZAF_South Sudan"
  1190. >
  1191. South Sudan
  1192. </option>
  1193. <option value="ZAF_Tanzania"
  1194. >
  1195. Tanzania
  1196. </option>
  1197. <option value="ZAF_Togo"
  1198. >
  1199. Togo
  1200. </option>
  1201. <option value="ZAF_Zambia"
  1202. >
  1203. Zambia
  1204. </option>
  1205. <option value="ZAF_Zimbabwe"
  1206. >
  1207. Zimbabwe
  1208. </option>
  1209. </select>
  1210. </div>
  1211. </form>
  1212. </div>
  1213. <div class="ui basic segment nomargin">
  1214. <form method="Post" action="index.cfm?" name="LanguageForm2" class="ui form">
  1215. <input type="hidden" name="EnrollerID_ATP" value="458046">
  1216. <input type="hidden" name="EnrollerID" value="458046">
  1217. <div class="field hebrew">
  1218. <label><div class="hebrew2">Language Preference</div></label>
  1219. <select name="ChangeMyLanguage" id="AppChangeMyLanguage" size="1" OnChange="CheckLanguage(this.value);">
  1220. <option value="Select" selected>Select a Language</option>
  1221. <option value="ar">Arabic</option>
  1222. <option value="ms">Bahasa Malaysia</option>
  1223. <option value="zh_can">Chinese - 中文 </option>
  1224. <option value="zh_hkg">Chinese - 中文(香港)</option>
  1225. <option value="zh_cn">Chinese - 中文(简体)</option>
  1226. <option value="zh_tw">Chinese - 中文(台灣)</option>
  1227. <option value="zh_usa">Chinese - 中文(繁體)</option>
  1228. <option value="de">German - Deutsch</option>
  1229. <option value="nl">Dutch</option>
  1230. <option value="en_dot" selected>English</option>
  1231. <option value="en_aus">English - Australia & New Zealand</option>
  1232. <option value="en_uk">English - Europe</option>
  1233. <option value="en_in">English-India</option>
  1234. <option value="es_chl">Español - Chile</option>
  1235. <option value="fr">French - Français</option>
  1236. <option value="he">Hebrew</option>
  1237. <option value="hu">Hungarian</option>
  1238. <option value="it">Italian</option>
  1239. <option value="ja">Japanese - 日本語</option>
  1240. <option value="ko">Korean</option>
  1241. <option value="pl">Polish</option>
  1242. <option value="pt">Portuguese</option>
  1243. <option value="pt_bra">Portuguese - Brazil</option>
  1244. <option value="ro">Romanian</option>
  1245. <option value="ru">Russian</option>
  1246. <option value="ru_eeo">Russian EEO</option>
  1247. <option value="ru_uk">Russian-Ukraine</option>
  1248. <option value="sk">Slovak</option>
  1249. <option value="es">Spanish - ESPAÑOL</option>
  1250. <option value="es_col">Spanish</option>
  1251. <option value="es_mex">Spanish - Español (Mexico)</option>
  1252. <option value="sv">Swedish</option>
  1253. <option value="th">Thai - ภาษาไทย</option>
  1254. <option value="zh_sgp">Chinese - 中文(新加坡)</option>
  1255. <option value="zh_my">中文 (马来西亚)</option>
  1256. <option value="zh_aus">Chinese - 中文-澳大利亚</option>
  1257. </select>
  1258. </div>
  1259. </form>
  1260. </div>
  1261. </div>
  1262. </div>
  1263. </div>
  1264. </div>
  1265. <div id="divPopupNorway" class="ui small modal">
  1266. <div class="ui basic segment nomargin">
  1267. 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.
  1268. </div>
  1269. <div class="ui basic segment nomargin">
  1270. <a href = "http://doterraeveryday.eu/approved-norway-products/" target="blank" onClick="$('#divPopupNorway').modal('hide');">List of Approved Products for Norway</a>
  1271. </div>
  1272. <div class="ui center aligned basic segment nomargin">
  1273. <input type="button" class="ui primary button" value="OK" onClick="$('#divPopupNorway').modal('hide');">
  1274. </div>
  1275. </div>
  1276. <script>
  1277. function CloseNFROTG() {
  1278. if (document.getElementById('OTGRadio').checked) {
  1279. document.getElementById('OTGSELECTED').value='1';
  1280. if (document.getElementById('SelectHomeCountry').value == 'EO')
  1281. {
  1282. if ($('#EOCountries').val().split('_').length > 1)
  1283. {
  1284. var thisCou = $('#EOCountries').val().split('_')[1];
  1285. }
  1286. else
  1287. {
  1288. var thisCou = $('#EOCountries').val();
  1289. }
  1290. } else if (document.getElementById('SelectHomeCountry').value == 'GAC')
  1291. {
  1292. if ($('#GACCountries').val().split('_').length > 1)
  1293. {
  1294. var thisCou = $('#GACCountries').val().split('_')[1];
  1295. }
  1296. else
  1297. {
  1298. var thisCou = $('#GACCountries').val();
  1299. }
  1300. } else if (document.getElementById('SelectHomeCountry').value == 'RUS')
  1301. {
  1302. if ($('#RUSCountries').val().split('_').length > 1)
  1303. {
  1304. var thisCou = $('#RUSCountries').val().split('_')[1];
  1305. }
  1306. else
  1307. {
  1308. var thisCou = $('#RUSCountries').val();
  1309. }
  1310. } else if (document.getElementById('SelectHomeCountry').value == 'ZAF')
  1311. {
  1312. if ($('#ZAFCountries').val().split('_').length > 1)
  1313. {
  1314. var thisCou = $('#ZAFCountries').val().split('_')[1];
  1315. }
  1316. else
  1317. {
  1318. var thisCou = $('#ZAFCountries').val();
  1319. }
  1320. }
  1321. else
  1322. {
  1323. var thisCou = document.getElementById('SelectHomeCountry').value;
  1324. }
  1325. 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,KOR,NZL,POL,ZAF",thisCou)) {
  1326. var getBuildURL=getShopURL(thisCou,document.getElementById('AppChangeMyLanguage').value);
  1327. if (getBuildURL != '') {
  1328. window.location.href="https://shop.doterra.com/"+getBuildURL+"/create-account?EnrollerID=458046";
  1329. return;
  1330. }
  1331. }
  1332. }
  1333. else if (document.getElementById('NFRRadio').checked) {
  1334. document.getElementById('OTGSELECTED').value='0';
  1335. if(document.getElementById('HomeCountry').value == "MEX") {
  1336. var input = document.createElement('input');
  1337. input.setAttribute('type','hidden');
  1338. input.setAttribute("name", "SecondAddressCountry");
  1339. input.setAttribute("value", "USA");
  1340. document.getElementById("MemberTypeForm").appendChild(input);
  1341. }
  1342. if(document.getElementById('HomeCountry').value == "ISR") {
  1343. var input = document.createElement('input');
  1344. input.setAttribute('type','hidden');
  1345. input.setAttribute("name", "SecondAddressCountry");
  1346. input.setAttribute("value", "ISRR");
  1347. document.getElementById("MemberTypeForm").appendChild(input);
  1348. }
  1349. }
  1350. document.getElementById('overlay2').style.display = 'none';
  1351. document.getElementById('APPNFROTG').style.display = 'none';
  1352. document.body.scrollTop = document.documentElement.scrollTop = 0;
  1353. }
  1354. </script>
  1355. <div id="APPNFROTG">
  1356. <div id="PopUpHeader" class="ui primary raised segment nomargin">
  1357. <div class="ui container">
  1358. <div class="ui stackable grid">
  1359. <div id="logo" class="sixteen wide column">
  1360. <a href="http://doterra.myvoffice.com"><img src="/skins/skin01/images/logo.svg" class="ui small image logo" alt="dōTERRA" border="0"/></a>
  1361. </div>
  1362. </div>
  1363. </div>
  1364. </div>
  1365. <div class="ui container">
  1366. <div id="NFROTGHeader" class="ui center aligned basic segment nopadding">
  1367. <h2 class="nomargin">Type of Order</h2>
  1368. </div>
  1369. <br clear="all">
  1370. <div class="ui equal width stackable grid">
  1371. <div class="column">
  1372. <img id="NFROGTImg" src="skins/skin01/images/NFROTG.png" alt="NFROTG" title="NFG">
  1373. </div>
  1374. <div class="column hebrew">
  1375. <div class="ui basic segment nomargin">
  1376. <div id="OA_PurchasingChoiceText" class="ui basic segment nomargin" lang="en_dot">
  1377. 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.
  1378. </div>
  1379. <div class="ui basic segment nomargin">
  1380. <div id="OA_PurchasingChoiceSelections" class="ui form">
  1381. <div id="OTGContainer" class="field">
  1382. <div class="ui radio checkbox">
  1383. <input type="radio" name="NFROTGRadio" id="OTGRadio" value="OTG" checked="checked">
  1384. <label id="OTGRadioNZLL" for="OTGRadio" style="display:none;">
  1385. New Zealand products: Select this option if you wish to order your items from an New Zealand warehouse in New Zealand Dollars.
  1386. </label>
  1387. <label for="OTGRadio" id="OTGRadioRest">
  1388. <span class="OA_PurchasingChoiceOptionHeader">
  1389. Local (OTG) Order
  1390. </span><br>
  1391. 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>
  1392. </label>
  1393. </div>
  1394. </div>
  1395. <div class="field">
  1396. <div class="ui radio checkbox">
  1397. <input type="radio" name="NFROTGRadio" id="NFRRadio" value="NFR">
  1398. <label id="NFRRadioNZLL" for="NFRRadio" style="display:none;">
  1399. USA Products: Select this option if you wish to order your items from a USA warehouse in US Dollars
  1400. </label>
  1401. <label for="NFRRadio" id="NFRRadioRest">
  1402. <span class="OA_PurchasingChoiceOptionHeader">
  1403. International (NFR)
  1404. </span><br>
  1405. 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>
  1406. </label>
  1407. </div>
  1408. </div>
  1409. </div>
  1410. </div>
  1411. </div>
  1412. </div>
  1413. </div>
  1414. <div class="ui center aligned basic segment hebrew">
  1415. <input type="button" OnClick="CloseNFROTG()" class="avcobrowse-block ui basic primary button continuebutton" value='CONTINUE'>
  1416. </div>
  1417. </div>
  1418. </div>
  1419. <div id="TWNPOPUP" class="ui small modal">
  1420. <div class="ui basic segment nomargin">
  1421. <div class="ui basic segment nomargin">
  1422. <h3 class="TWNCheckHeader">Join as a new Wellness Advocate</h3>
  1423. </div>
  1424. <div class="ui basic segment nomargin">
  1425. Please contact our <a href="http://www.doterra.com/#/en/international/asia/taiwan">Taiwan office</a> to find out more information
  1426. </div>
  1427. <div class="ui basic segment nomargin">
  1428. Phone number: 886-4-2210-7105; Email: taiwanservice@doterra.com
  1429. </div>
  1430. <div class="ui center aligned basic segment nomargin">
  1431. <a href="http://www.doterra.com" class="ui basic tertiary button">
  1432. Return Home
  1433. </a>
  1434. </div>
  1435. </div>
  1436. </div>
  1437. <div id="divItalyPopup" class="ui small modal">
  1438. <div class="ui basic segment nomargin">
  1439. <h3>Welcome to dōTERRA!</h3>
  1440. </div>
  1441. <div class="ui basic segment nomargin">
  1442. The Incaricati enrollment process includes a few simple steps:
  1443. <ul class="nomargin">
  1444. <li>You willbe asked to enter your personal information, your enroller and sponsor ID numbers (if applicable), and to place your enrollment order.</li>
  1445. <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>
  1446. <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>
  1447. <li>Finally, you will be asked to create your Incaricati identification card by uploading a picture of yourself.</li>
  1448. <ul>
  1449. <li>To assist an email will be sent to you explaining how to print your form and create your identification card.</li>
  1450. <li>Please note, that until these steps are completed, your account willbe limited to that of a wholesale customer.</li>
  1451. </ul>
  1452. </ul>
  1453. </div>
  1454. <div class="ui basic segment nomargin">
  1455. We are pleased to have you join dōTERRA!Should you have any questions please contact us at: +39 0426270026 orassistenzaclienti@doterra.com.
  1456. </div>
  1457. <div class="ui center aligned basic segment nomargin">
  1458. <input type="button" class="ui basic primary button" onclick="$('#divItalyPopup').modal('hide');" value="Close">
  1459. <input type="button" class="ui primary button" onclick="SubmitTypeForm();" value="Continue">
  1460. </div>
  1461. </div>
  1462. <div id="divTWNPopup" class="ui small modal">
  1463. <div class="ui basic segment nomargin">
  1464. <h3>Welcome to dōTERRA!</h3>
  1465. </div>
  1466. <div class="ui basic segment nomargin">
  1467. 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!
  1468. </div>
  1469. <div class="ui center aligned basic segment nomargin">
  1470. <input type="button" class="ui basic primary button" onclick="$('#divTWNPopup').modal('hide');" value=" Close ">
  1471. <input type="button" class="ui primary button" onclick="SubmitTypeForm();" value=" Continue ">
  1472. </div>
  1473. </div>
  1474. <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;">
  1475. <style>
  1476. .stilltime {
  1477. background-color:#DAE8F0;
  1478. }
  1479. </style>
  1480. <div class="save-changes-popup stilltime" style="width:400px;position:absoulte;">
  1481. <div style="text-align:left;width:350px;position:relative;float:center">
  1482. <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>
  1483. </div>
  1484. <div style="position:relative;float:center;padding-bottom:20px">
  1485. <input type="button" class="savebutt" name="OKButton" onClick="parent.removeDiv('overlay');parent.removeDiv('JPNStillTime')" style="width:50px;" value="OK">
  1486. </div>
  1487. </div>
  1488. </div>
  1489. <script>
  1490. document.getElementById('AppChangeMyLanguage').onchange = function(){
  1491. if(this.value == 'ko') {
  1492. var country = document.getElementById('SelectHomeCountry');
  1493. var countries = country.options;
  1494. for(var index = 0;index < countries.length;index ++) {
  1495. if(countries[index].value == 'KOR') {
  1496. country.selectedIndex = index;
  1497. break;
  1498. }
  1499. }
  1500. }
  1501. CheckLanguage(this.value);
  1502. };
  1503. function ShowHideEO() {
  1504. var sel = document.getElementById('SelectHomeCountry');
  1505. var opt = sel.options[sel.selectedIndex];
  1506. if (opt.value == "EO") {
  1507. document.getElementById('EO').style.display = "block";
  1508. document.getElementById('GAC').style.display = "none";
  1509. document.getElementById('ZAF').style.display = "none";
  1510. }
  1511. else if (opt.value == "GAC") {
  1512. document.getElementById('GAC').style.display = "block";
  1513. document.getElementById('EO').style.display = "none";
  1514. document.getElementById('ZAF').style.display = "none";
  1515. }
  1516. else if (opt.value == "ZAF") {
  1517. document.getElementById('ZAF').style.display = "block";
  1518. document.getElementById('EO').style.display = "none";
  1519. document.getElementById('GAC').style.display = "none";
  1520. }
  1521. else {
  1522. document.getElementById('EO').style.display = "none";
  1523. document.getElementById('GAC').style.display = "none";
  1524. document.getElementById('ZAF').style.display = "none";
  1525. }
  1526. CheckTradChinese();
  1527. }
  1528. function reloadCountry(cou) {
  1529. addDimmer();
  1530. var dmd = "";
  1531. /* START WF171402 Megan D: Adding URL for EO subcountries on reload */
  1532. if(cou.substring(0, 2) == 'EO' || cou == 'DEU' || cou == 'ITA' || cou == 'GBR'){
  1533. var buildurl = "https://beta-doterra.myvoffice.com/Application/index.cfm?Country=EO&SubCountry="+cou+dmd;
  1534. } else if(cou.substring(0, 3) == 'ZAF'){
  1535. var buildurl = "https://beta-doterra.myvoffice.com/Application/index.cfm?Country=ZAF&SubCountry="+cou+dmd;
  1536. } else{
  1537. var buildurl = "https://beta-doterra.myvoffice.com/Application/index.cfm?Country="+cou+dmd;
  1538. }
  1539. /* END WF171402 MD */
  1540. buildurl+="&EnrollerID=458046";
  1541. 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\"}";;
  1542. console.log(allNativeLang);
  1543. var allNativeLang = JSON.parse(allNativeLang);
  1544. console.log(allNativeLang);
  1545. var i;
  1546. console.log(cou);
  1547. console.log(allNativeLang);
  1548. for( i in allNativeLang){
  1549. if (i == cou) {
  1550. console.log(allNativeLang[i]);
  1551. document.cookie = "Language=" + allNativeLang[i];
  1552. }
  1553. }
  1554. window.location.href = buildurl;
  1555. }
  1556. function GoToTradChineseCountry() {
  1557. var sel = document.getElementById('SelectHomeCountry');
  1558. var opt = sel.options[sel.selectedIndex];
  1559. if ($("#AppChangeMyLanguage")) {
  1560. if ($("#AppChangeMyLanguage").val() == 'trad_chinese') {
  1561. if (opt.value != 'HKG' && 'en_dot' == 'zh_hkg') {
  1562. $(document.LanguageForm2).append("<input type='hidden' id='SelectedCountryCode' name='SelectedCountryCode' value='HKG'>");
  1563. $("#AppChangeMyLanguage").append($("<option>Chinese - 中文</option>").attr("value", "zh_hkg").text("Chinese - 中文"));
  1564. $("#AppChangeMyLanguage").val('zh_hkg');
  1565. $(".blu_butt").each(function(index){
  1566. $(this).hide()
  1567. });
  1568. document.LanguageForm2.submit();
  1569. }
  1570. else
  1571. if (opt.value != 'SGP' && 'en_dot' == 'zh_sgp') {
  1572. $(document.LanguageForm2).append("<input type='hidden' id='SelectedCountryCode' name='SelectedCountryCode' value='SGP'>");
  1573. $("#AppChangeMyLanguage").append($("<option>Chinese - 中文</option>").attr("value", "zh_sgp").text("Chinese - 中文"));
  1574. $("#AppChangeMyLanguage").val('zh_sgp');
  1575. $(".blu_butt").each(function(index){
  1576. $(this).hide()
  1577. });
  1578. document.LanguageForm2.submit();
  1579. }
  1580. else
  1581. if (opt.value != 'TWN' && 'en_dot' == 'zh_tw') {
  1582. $(document.LanguageForm2).append("<input type='hidden' id='SelectedCountryCode' name='SelectedCountryCode' value='TWN'>");
  1583. $("#AppChangeMyLanguage").append($("<option>Chinese - 中文</option>").attr("value", "zh_tw").text("Chinese - 中文"));
  1584. $("#AppChangeMyLanguage").val('zh_tw');
  1585. $(".blu_butt").each(function(index){
  1586. $(this).hide()
  1587. });
  1588. document.LanguageForm2.submit();
  1589. }
  1590. else
  1591. if (opt.value != 'CHN' && 'en_dot' == 'zh_cn') {
  1592. $(document.LanguageForm2).append("<input type='hidden' id='SelectedCountryCode' name='SelectedCountryCode' value='CHN'>");
  1593. $("#AppChangeMyLanguage").append($("<option>Chinese - 中文</option>").attr("value", "zh_cn").text("Chinese - 中文"));
  1594. $("#AppChangeMyLanguage").val('zh_cn');
  1595. $(".blu_butt").each(function(index){
  1596. $(this).hide()
  1597. });
  1598. document.LanguageForm2.submit();
  1599. }
  1600. else
  1601. if (opt.value != 'MYS' && 'en_dot' == 'zh_my') {
  1602. $(document.LanguageForm2).append("<input type='hidden' id='SelectedCountryCode' name='SelectedCountryCode' value='MYS'>");
  1603. $("#AppChangeMyLanguage").append($("<option>Chinese - 中文</option>").attr("value", "zh_my").text("Chinese - 中文"));
  1604. $("#AppChangeMyLanguage").val('zh_my');
  1605. $(".blu_butt").each(function(index){
  1606. $(this).hide()
  1607. });
  1608. document.LanguageForm2.submit();
  1609. }
  1610. else
  1611. if (opt.value != 'CAN' && 'en_dot' == 'zh_can') {
  1612. $(document.LanguageForm2).append("<input type='hidden' id='SelectedCountryCode' name='SelectedCountryCode' value='CAN'>");
  1613. $("#AppChangeMyLanguage").append($("<option>Chinese (Canada) - 中文 - 加拿大</option>").attr("value", "zh_can").text("Chinese (Canada) - 中文 - 加拿大"));
  1614. $("#AppChangeMyLanguage").val('zh_can');
  1615. $(".blu_butt").each(function(index){
  1616. $(this).hide()
  1617. });
  1618. document.LanguageForm2.submit();
  1619. }
  1620. else
  1621. if (opt.value != 'AUS' && 'en_dot' == 'zh_aus') {
  1622. $(document.LanguageForm2).append("<input type='hidden' id='SelectedCountryCode' name='SelectedCountryCode' value='AUS'>");
  1623. $("#AppChangeMyLanguage").append($("<option>Chinese - Australia</option>").attr("value", "zh_aus").text("Chinese - Australia"));
  1624. $("#AppChangeMyLanguage").val('zh_aus');
  1625. $(".blu_butt").each(function(index){
  1626. $(this).hide()
  1627. });
  1628. document.LanguageForm2.submit();
  1629. }
  1630. /*alert($("#AppChangeMyLanguage").val());*/
  1631. }
  1632. }
  1633. }
  1634. function CheckTradChinese() {
  1635. var sel = document.getElementById('SelectHomeCountry');
  1636. var opt = sel.options[sel.selectedIndex];
  1637. if ($("#AppChangeMyLanguage")) {
  1638. if ($("#AppChangeMyLanguage").val() == 'trad_chinese') {
  1639. if (opt.value == 'MYS' && 'en_dot' != 'zh_my') {
  1640. $(document.LanguageForm2).append("<input type='hidden' id='SelectedCountryCode' name='SelectedCountryCode' value='" + opt.value + "'>");
  1641. $("#AppChangeMyLanguage").append($("<option>Chinese - 中文</option>").attr("value", "zh_my").text("Chinese - 中文"));
  1642. $("#AppChangeMyLanguage").val('zh_my');
  1643. $(".blu_butt").each(function(index){
  1644. $(this).hide()
  1645. });
  1646. document.LanguageForm2.submit();
  1647. }
  1648. else if (opt.value == 'HKG' && 'en_dot' != 'zh_hkg') {
  1649. $(document.LanguageForm2).append("<input type='hidden' id='SelectedCountryCode' name='SelectedCountryCode' value='" + opt.value + "'>");
  1650. $("#AppChangeMyLanguage").append($("<option>Chinese - 中文</option>").attr("value", "zh_hkg").text("Chinese - 中文"));
  1651. $("#AppChangeMyLanguage").val('zh_hkg');
  1652. $(".blu_butt").each(function(index){
  1653. $(this).hide()
  1654. });
  1655. document.LanguageForm2.submit();
  1656. }
  1657. else
  1658. if (opt.value == 'SGP' && 'en_dot' != 'zh_sgp') {
  1659. $(document.LanguageForm2).append("<input type='hidden' id='SelectedCountryCode' name='SelectedCountryCode' value='" + opt.value + "'>");
  1660. $("#AppChangeMyLanguage").append($("<option>Chinese - 中文</option>").attr("value", "zh_sgp").text("Chinese - 中文"));
  1661. $("#AppChangeMyLanguage").val('zh_sgp');
  1662. $(".blu_butt").each(function(index){
  1663. $(this).hide()
  1664. });
  1665. document.LanguageForm2.submit();
  1666. }
  1667. else
  1668. if (opt.value == 'TWN' && 'en_dot' != 'zh_tw') {
  1669. $(document.LanguageForm2).append("<input type='hidden' id='SelectedCountryCode' name='SelectedCountryCode' value='" + opt.value + "'>");
  1670. $("#AppChangeMyLanguage").append($("<option>Chinese - 中文</option>").attr("value", "zh_tw").text("Chinese - 中文"));
  1671. $("#AppChangeMyLanguage").val('zh_tw');
  1672. $(".blu_butt").each(function(index){
  1673. $(this).hide()
  1674. });
  1675. document.LanguageForm2.submit();
  1676. }
  1677. else
  1678. if (opt.value == 'CHN' && 'en_dot' != 'zh_cn') {
  1679. $(document.LanguageForm2).append("<input type='hidden' id='SelectedCountryCode' name='SelectedCountryCode' value='" + opt.value + "'>");
  1680. $("#AppChangeMyLanguage").append($("<option>Chinese - 中文</option>").attr("value", "zh_cn").text("Chinese - 中文"));
  1681. $("#AppChangeMyLanguage").val('zh_cn');
  1682. $(".blu_butt").each(function(index){
  1683. $(this).hide()
  1684. });
  1685. document.LanguageForm2.submit();
  1686. }
  1687. else
  1688. if (opt.value == 'CAN' && 'en_dot' != 'zh_can') {
  1689. $(document.LanguageForm2).append("<input type='hidden' id='SelectedCountryCode' name='SelectedCountryCode' value='" + opt.value + "'>");
  1690. $("#AppChangeMyLanguage").append($("<option>Chinese (Canada) - 中文 - 加拿大</option>").attr("value", "zh_can").text("Chinese (Canada) - 中文 - 加拿大"));
  1691. $("#AppChangeMyLanguage").val('zh_can');
  1692. $(".blu_butt").each(function(index){
  1693. $(this).hide()
  1694. });
  1695. document.LanguageForm2.submit();
  1696. }
  1697. else
  1698. if (opt.value == 'AUS' && 'en_dot' != 'zh_aus') {
  1699. $(document.LanguageForm2).append("<input type='hidden' id='SelectedCountryCode' name='SelectedCountryCode' value='" + opt.value + "'>");
  1700. $("#AppChangeMyLanguage").append($("<option>Chinese - Australia</option>").attr("value", "zh_aus").text("Chinese - Australia"));
  1701. $("#AppChangeMyLanguage").val('zh_aus');
  1702. $(".blu_butt").each(function(index){
  1703. $(this).hide()
  1704. });
  1705. document.LanguageForm2.submit();
  1706. }
  1707. else
  1708. if ('en_dot' != 'zh_usa' && opt.value != 'TWN' && opt.value != 'HKG' && opt.value != 'SGP' && opt.value != 'MYS' && opt.value != 'CAN' && opt.value != 'AUS') {
  1709. $(document.LanguageForm2).append("<input type='hidden' id='SelectedCountryCode' name='SelectedCountryCode' value='" + opt.value + "'>");
  1710. $("#AppChangeMyLanguage").append($("<option>Chinese - 中文</option>").attr("value", "zh_usa").text("Chinese - 中文"));
  1711. $("#AppChangeMyLanguage").val('zh_usa');
  1712. $(".blu_butt").each(function(index){
  1713. $(this).hide()
  1714. });
  1715. document.LanguageForm2.submit();
  1716. }
  1717. }
  1718. }
  1719. }
  1720. function getShopURL(cou,lng) {
  1721. 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["idn"]="ID";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";
  1722. 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";
  1723. 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["id"]="en,id";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";
  1724. var myCou=shCou[cou.toLowerCase()];
  1725. if (myCou == undefined) {
  1726. return '';
  1727. } else {
  1728. /* START WF172382 Megan D: Updating js to use myLng or lng based on what Hybris has avaible */
  1729. var myLng=shLng[lng.toLowerCase()];
  1730. var myCouLngList=shCouLng[myCou.toLowerCase()];
  1731. if (myLng != undefined && myCouLngList != undefined && myCouLngList.includes(myLng)) {
  1732. return myCou+"/"+myLng+"_"+myCou;
  1733. } else if(myCouLngList != undefined && myCouLngList.includes(lng)) {
  1734. return myCou+"/"+lng+"_"+myCou;
  1735. }
  1736. else {
  1737. return myCou+"/en_"+myCou;
  1738. }
  1739. /* END WF172382 MD */
  1740. }
  1741. }
  1742. function ChangeMarket() {
  1743. var marketModel = {
  1744. cou: document.getElementById("SelectHomeCountry").value,
  1745. lang: $('#AppChangeMyLanguage').val()
  1746. };
  1747. console.log(marketModel);
  1748. document.cookie = "Language=" + $('#AppChangeMyLanguage').val(); /*WF171402 Megan D: Adding this to set the Cookie.Langueage*/
  1749. if (document.getElementById('SelectHomeCountry').value == 'EO') {
  1750. if ($('#EOCountries').val().split('_').length > 1) {
  1751. var thisCou = $('#EOCountries').val().split('_')[1];
  1752. } else {
  1753. var thisCou = $('#EOCountries').val();
  1754. }
  1755. } else if (document.getElementById('SelectHomeCountry').value == 'GAC') {
  1756. if ($('#GACCountries').val().split('_').length > 1) {
  1757. var thisCou = $('#GACCountries').val().split('_')[1];
  1758. } else {
  1759. var thisCou = $('#GACCountries').val();
  1760. }
  1761. } else if (document.getElementById('SelectHomeCountry').value == 'RUS') {
  1762. if ($('#RUSCountries').val().split('_').length > 1) {
  1763. var thisCou = $('#RUSCountries').val().split('_')[1];
  1764. } else {
  1765. var thisCou = $('#RUSCountries').val();
  1766. }
  1767. } else {
  1768. var thisCou = document.getElementById('SelectHomeCountry').value;
  1769. }
  1770. 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,KOR,NZL,POL,ZAF",thisCou)) {
  1771. var getBuildURL=getShopURL(thisCou,document.getElementById('AppChangeMyLanguage').value);
  1772. if (getBuildURL != '') {
  1773. var element = document.getElementById('DiamondID');
  1774. var dmdID = ""
  1775. if (typeof(element) != 'undefined' && element != null)
  1776. {
  1777. dmdID = "diamondID="+document.getElementById('DiamondID').value;
  1778. console.log(dmdID);
  1779. window.location.href="https://shop.doterra.com/"+getBuildURL+"/create-account?"+dmdID+"&EnrollerID=458046";
  1780. }
  1781. else
  1782. {
  1783. window.location.href="https://shop.doterra.com/"+getBuildURL+"/create-account?EnrollerID=458046";
  1784. }
  1785. return;
  1786. }
  1787. }
  1788. //mike
  1789. if (document.getElementById('SelectHomeCountry').value == 'CAN') {
  1790. var redirecturl = "/index.cfm?Fuse=public/DisplayPage&Page=OnlineAppRedirect&noheader=1&nofooter=1&country="+document.getElementById('SelectHomeCountry').value+"&language="+document.getElementById('AppChangeMyLanguage').value;
  1791. window.location.href = redirecturl;
  1792. return;
  1793. }
  1794. //mike
  1795. if (document.getElementById('SelectHomeCountry').value == 'USA') {
  1796. var redirecturl = "/index.cfm?Fuse=public/DisplayPage&Page=OnlineAppRedirect&noheader=1&nofooter=1&country="+document.getElementById('SelectHomeCountry').value+"&language="+document.getElementById('AppChangeMyLanguage').value;
  1797. window.location.href = redirecturl;
  1798. return;
  1799. }
  1800. var thisLanguage = $('#AppChangeMyLanguage').val();
  1801. var repimga=document.getElementById("NFROGTImg");
  1802. var repimgb=document.getElementById("TypeDistributor");
  1803. var repimgc=document.getElementById("TypeCustomer");
  1804. if(document.getElementById("SelectHomeCountry").value == 'HKG'){
  1805. repimga.src='skins/skin01/images/A.jpg';
  1806. repimgb.src='skins/skin01/images/C.jpg';
  1807. repimgc.src='skins/skin01/images/B.jpg';
  1808. }
  1809. else
  1810. {
  1811. repimga.src='skins/skin01/images/NFROTG.png';
  1812. repimgb.src='skins/skin01/images/TypeDistributor.png';
  1813. repimgc.src='skins/skin01/images/TypeCustomer.png';
  1814. }
  1815. var localidcheck = (typeof arguments[0] == 'undefined' || arguments[0] == '') ? 1:arguments[0];
  1816. document.getElementById('PleaseChooseCountry').style.display='none';
  1817. var sel = document.getElementById('SelectHomeCountry');
  1818. var opt = sel.options[sel.selectedIndex];
  1819. document.getElementById('HomeCountry').value=opt.value;
  1820. if ('AUS,CAN,CRII,CRI,EO,GBR,DEU,PYF,GUA,HKG,KOR,MEX,NZL,TWN,USA,GAC,ITA,ZAF,ISR'.indexOf(opt.value) >= 0) {
  1821. oldapp = document.getElementById('divGotoOldApp');
  1822. if (oldapp) {
  1823. oldapp.parentNode.removeChild(oldapp);
  1824. }
  1825. }
  1826. if (opt.value == "EO") {
  1827. var sel = document.getElementById('EOCountries');
  1828. var opt2 = sel.options[sel.selectedIndex];
  1829. document.getElementById('EOHomeCountry').value=opt2.value;
  1830. if (document.getElementById('EOHomeCountry').value == '')
  1831. throw new Error(document.getElementById('PleaseChooseCountry').style.display='');
  1832. if (opt2.value == "EO" || opt2.value == "GBR" || opt2.value == "DEU" || opt2.value == "ITA") {
  1833. $('#livechat').hide();
  1834. }
  1835. }
  1836. if (opt.value == "GAC") {
  1837. var sel = document.getElementById('GACCountries');
  1838. var opt2 = sel.options[sel.selectedIndex];
  1839. document.getElementById('GACHomeCountry').value=opt2.value;
  1840. if (document.getElementById('GACHomeCountry').value == '')
  1841. throw new Error(document.getElementById('PleaseChooseCountry').style.display='');
  1842. }
  1843. if (opt.value == "RUS") {
  1844. var sel = document.getElementById('RUSCountries');
  1845. var opt2 = sel.options[sel.selectedIndex];
  1846. document.getElementById('RUSHomeCountry').value=opt2.value;
  1847. if (document.getElementById('RUSHomeCountry').value == '')
  1848. throw new Error(document.getElementById('PleaseChooseCountry').style.display='');
  1849. }
  1850. if (opt.value == "ZAF") {
  1851. var sel = document.getElementById('ZAFCountries');
  1852. var opt2 = sel.options[sel.selectedIndex];
  1853. document.getElementById('ZAFHomeCountry').value=opt2.value;
  1854. if (document.getElementById('ZAFHomeCountry').value == '')
  1855. throw new Error(document.getElementById('PleaseChooseCountry').style.display='');
  1856. }
  1857. 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) {
  1858. $('#MemberTypeCustomerBubble').hide();
  1859. if ( opt.value != "KOR" && opt.value != "PHL" && opt.value != "THA") {
  1860. $('#WholesaleType').prop('checked', true);
  1861. $('#MemberTypeDistributorBubble').addClass('disabled');
  1862. }
  1863. else {
  1864. $('#MemberTypeWholesaleBubble').addClass('disabled');
  1865. }
  1866. }
  1867. else if ('CRII,CRI,RUS,UKR'.indexOf(opt.value) > -1) {
  1868. document.getElementById('MemberTypeCustomerBubble').style.display = 'none';
  1869. $('#MemberTypeWholesaleBubble').hide();
  1870. }
  1871. else {
  1872. $('#MemberTypeWholesaleBubble').hide();
  1873. }
  1874. if ('MYS,SGP'.indexOf(opt.value) > -1) {
  1875. SelectType('DistributorMemberType');
  1876. }
  1877. if ((opt.value == "ZAF") && $('#ZAFCountries').val() != 'ZAF_South Africa') {
  1878. if (localidcheck == 1) {
  1879. console.log($('#ZAFCountries').val());
  1880. 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";
  1881. alert(ZAFAlertText);
  1882. }
  1883. }
  1884. if (document.getElementById('SelectWarehouseID')) {
  1885. var sel = document.getElementById('SelectWarehouseID');
  1886. var opt = sel.options[sel.selectedIndex];
  1887. document.getElementById('WarehouseID').value = opt.value;
  1888. }
  1889. else {
  1890. document.getElementById('WarehouseID').value = '';
  1891. }
  1892. closeoverlay=1;
  1893. var noCloseOverlayCou='';
  1894. var noCloseOverlayCou = new Set(['MEX','AUS','SGP','HKG','CAN','NZLL','NZL','RUS','ISR','UKR']);
  1895. if (noCloseOverlayCou.has(document.getElementById('HomeCountry').value)) {
  1896. closeoverlay = 0;
  1897. }
  1898. if (0) {
  1899. }
  1900. else if (localidcheck == 1 && document.getElementById('HomeCountry').value == 'GAC' && document.getElementById('GACHomeCountry').value == 'GAC_China') {
  1901. LocalIDPopUp();
  1902. }
  1903. else if (localidcheck == 0 && document.getElementById('HomeCountry').value == 'GAC' && document.getElementById('GACHomeCountry').value == 'GAC_China') {
  1904. document.getElementById('MemberTypeForm').submit();
  1905. }
  1906. else if (document.getElementById('HomeCountry').value == 'TWN') {
  1907. document.getElementById('overlay2').style.display = 'none';
  1908. $('#MemberTypeCustomerBubble').hide();
  1909. $('#MemberTypeWholesaleBubble').show();
  1910. $('#MemberTypeDistributorBubble').show();
  1911. $('#WholesaleType').attr('checked', true);
  1912. }
  1913. else if (document.getElementById('HomeCountry').value == 'KOR'){
  1914. document.getElementById('overlay2').style.display = 'none';
  1915. $('#WholesaleType').hide();
  1916. $('#DistributorMemberType').hide();
  1917. $('#DistributorMemberType').css('cursor','pointer');
  1918. $('#WholesaleType').css('cursor','pointer');
  1919. if ($('#NICESim')) {
  1920. $('#NICESim').show();
  1921. }
  1922. if ($('#AdditionalInfoDiv')) {
  1923. $('#AdditionalInfoDiv').show();
  1924. }
  1925. }
  1926. else if (document.getElementById('HomeCountry').value == 'MYS') {
  1927. //MYSPopUp();
  1928. document.getElementById('overlay2').style.display = 'none';
  1929. $('#MemberTypeCustomerBubble').hide();
  1930. $('#MemberTypeWholesaleBubble').show();
  1931. $('#MemberTypeDistributorBubble').show();
  1932. }
  1933. else if (document.getElementById('HomeCountry').value == 'EO'){
  1934. document.getElementById('overlay2').style.display = 'none';
  1935. $('#PleaseNotText').show();
  1936. }
  1937. else if (document.getElementById('HomeCountry').value == 'MEX'){
  1938. $('#OTGRadio').attr('checked', 'checked');
  1939. CloseNFROTG();
  1940. }
  1941. else if (document.getElementById('HomeCountry').value == 'UKR'){
  1942. $('#NFRRadio').attr('checked', 'checked');
  1943. CloseNFROTG();
  1944. }
  1945. else if (document.getElementById('HomeCountry').value == 'RUS'){
  1946. var sel = document.getElementById('RUSCountries');
  1947. var opt = sel.options[sel.selectedIndex];
  1948. if (!document.getElementById('RUSCountries') || opt.value == 'RUS_Russia') {
  1949. NFROTGPopUp();
  1950. } else {
  1951. document.getElementById('overlay2').style.display = 'none';
  1952. $('#PleaseNotText').show();
  1953. }
  1954. }
  1955. else if (document.getElementById('HomeCountry').value == 'ZAF'){
  1956. var sel = document.getElementById('ZAFCountries');
  1957. var opt = sel.options[sel.selectedIndex];
  1958. document.getElementById('overlay2').style.display = 'none';
  1959. $('#PleaseNotText').show();
  1960. }
  1961. else if (closeoverlay) {
  1962. document.getElementById('overlay2').style.display = 'none';
  1963. }
  1964. else {
  1965. NFROTGPopUp();
  1966. }
  1967. document.getElementById('PopUp').style.display = 'none';
  1968. if (document.getElementById('divGotoOldApp')) {
  1969. document.getElementById('divGotoOldApp').style.display = 'block';
  1970. }
  1971. document.body.scrollTop = document.documentElement.scrollTop = 0;
  1972. if (document.getElementById('SelectHomeCountry').value == 'JPN') {
  1973. }
  1974. }
  1975. function NFROTGPopUp(){
  1976. var HomeCountry = document.getElementById('HomeCountry').value;
  1977. var CountryName = document.getElementById('CountryName');
  1978. var CountryName2 = document.getElementById('CountryName2');
  1979. var CountryCurrency = document.getElementById('CountryCurrency');
  1980. document.getElementById('APPNFROTG').style.display = 'block';
  1981. $('#OTGRadioNZLL').hide();
  1982. $('#NFRRadioNZLL').hide();
  1983. $('#OTGRadioNZL').hide();
  1984. $('#NFRRadioNZL').hide();
  1985. $('#OTGRadioRest').show();
  1986. $('#NFRRadioRest').show();
  1987. if (HomeCountry == 'AUS') {
  1988. if (CountryName != null) {CountryName.innerHTML = 'Australia';}
  1989. if (CountryName2 != null) {CountryName2.innerHTML = 'Australian';}
  1990. if (CountryCurrency != null) {CountryCurrency.innerHTML = 'Australian Dollars';}
  1991. }
  1992. if (HomeCountry == 'MEX') {
  1993. if (CountryName != null) {CountryName.innerHTML = 'Mexico';}
  1994. if (CountryName2 != null) {CountryName2.innerHTML = 'Mexico';}
  1995. if (CountryCurrency != null) {CountryCurrency.innerHTML = 'Mexican Pesos';}
  1996. }
  1997. if (HomeCountry == 'HKG') {
  1998. if (CountryName != null) {CountryName.innerHTML = 'Hong Kong';}
  1999. if (CountryName2 != null) {CountryName2.innerHTML = 'Hong Kong';}
  2000. if (CountryCurrency != null) {CountryCurrency.innerHTML = 'Hong Kong Dollars';}
  2001. }
  2002. if (HomeCountry == 'JPN') {
  2003. if (CountryName != null) {CountryName.innerHTML = 'Japan';}
  2004. if (CountryName2 != null) {CountryName2.innerHTML = '';}
  2005. if (CountryCurrency != null) {CountryCurrency.innerHTML = 'Japan';}
  2006. }
  2007. if (HomeCountry == 'SGP') {
  2008. if (CountryName != null) {CountryName.innerHTML = 'Singapore';}
  2009. if (CountryName2 != null) {CountryName2.innerHTML = 'Singapore';}
  2010. if (CountryCurrency != null) {CountryCurrency.innerHTML = 'Singapore Dollars';}
  2011. }
  2012. if (HomeCountry == 'NZLL' || HomeCountry == 'NZL') {
  2013. if (CountryName != null) {CountryName.innerHTML = 'New Zealand';}
  2014. if (CountryName2 != null) {CountryName2.innerHTML = 'United States';}
  2015. if (CountryCurrency != null) {CountryCurrency.innerHTML = 'Dollars';}
  2016. $('#OTGRadioNZLL').show();
  2017. $('#NFRRadioNZLL').show();
  2018. $('#OTGRadioNZL').show();
  2019. $('#NFRRadioNZL').show();
  2020. $('#OTGRadioRest').hide();
  2021. $('#NFRRadioRest').hide();
  2022. }
  2023. if (HomeCountry == 'MYS') {
  2024. if (CountryName != null) {CountryName.innerHTML = 'Malaysia';}
  2025. if (CountryName2 != null) {CountryName2.innerHTML = 'Malaysia';}
  2026. if (CountryCurrency != null) {CountryCurrency.innerHTML = 'Malaysia Ringgit';}
  2027. $('#OTGRadio').attr('checked', 'checked');
  2028. }
  2029. if (HomeCountry == 'ISR') {
  2030. if (CountryName != null) {CountryName.innerHTML = 'Israel';}
  2031. if (CountryName2 != null) {CountryName2.innerHTML = 'Israel';}
  2032. if (CountryCurrency != null) {CountryCurrency.innerHTML = 'Israeli Shekels';}
  2033. $('#OTGRadio').attr('checked', 'checked');
  2034. }
  2035. if (HomeCountry == 'CAN') {
  2036. if (CountryName != null) {CountryName.innerHTML = 'Canada';}
  2037. if (CountryName2 != null) {CountryName2.innerHTML = 'Canadian';}
  2038. if (CountryCurrency != null) {CountryCurrency.innerHTML = 'Canadian Dollars';}
  2039. $('#OTGRadio').attr('checked', 'checked');
  2040. }
  2041. }
  2042. function LocalIDPopUp(){
  2043. document.getElementById('LOCALIDPOPUP').style.display = 'block';
  2044. }
  2045. function TWNPopUp() {
  2046. $('#TWNPOPUP').modal('show');
  2047. }
  2048. function GotoOldApp() {
  2049. var sel = document.getElementById('SelectHomeCountry');
  2050. var opt = sel.options[sel.selectedIndex];
  2051. document.getElementById('HomeCountry').value=opt.value;
  2052. if (opt.value != 'MEX') {
  2053. var str = "http://doterra-nt.myvoffice.com/doterra/Application/Apply.cfm&EnrollerID=458046";
  2054. var str = str.replace("?","&");
  2055. var str = str.replace("/re.cfm&re","/re.cfm?re");
  2056. str += "&LNG=en_dot";
  2057. var res = str.replace("Apply.cfm","Apply.cfm?OAbypass=1&Country=" + opt.value);
  2058. var res = str.replace("Apply%2Ecfm%3F","Apply%2Ecfm%3FOAbypass%3D1%26Country%3D" + opt.value + '%26');
  2059. if (document.getElementById('DiamondID')) {
  2060. var res = res.replace("Apply.cfm?","Apply.cfm?DiamondID=" + document.getElementById('DiamondID').value + "&");
  2061. }
  2062. if (document.getElementById('SilverID')) {
  2063. var res = res.replace("Apply.cfm?","Apply.cfm?SilverID=" + document.getElementById('SilverID').value + "&");
  2064. }
  2065. if(res.indexOf('Apply.cfm&') != -1) res = res.replace('Apply.cfm&','Apply.cfm?');
  2066. window.location.href = res;
  2067. }
  2068. }
  2069. showPopUp('overlay2','#ffffff');
  2070. GoToTradChineseCountry();
  2071. if ($('#NICESim')) {
  2072. $('#NICESim').hide();
  2073. }
  2074. if ($('#AdditionalInfoDiv')) {
  2075. $('#AdditionalInfoDiv').hide();
  2076. }
  2077. </script>
  2078. <script>
  2079. </script>
  2080.  
Copyright © 2002-9 Sam Ruby, Mark Pilgrim, Joseph Walton, and Phil Ringnalda