I respect your privacy. ` } function getVideoCoursesHTML() { return `

Take my classes to learn more!

Sign up for an online video course to learn more about the writing and publishing process.

SIGN UP
` } document.addEventListener('DOMContentLoaded', function() { var haveFormModule = false; document.querySelectorAll('[data-ad-module]').forEach(function(element) { if (element.getAttribute('data-ad-module') === 'module-1') { element.innerHTML = getBookHTML(); } else if (element.getAttribute('data-ad-module') === 'module-2') { element.innerHTML = getEditingHTML(); } else if (element.getAttribute('data-ad-module') === 'module-4') { element.innerHTML = getVideoCoursesHTML(); } else if (element.getAttribute('data-ad-module') === 'module-3') { if (haveFormModule) { var randInt = getRandomInt(4); if (randInt === 1 || randInt == 2) { element.innerHTML = getEditingHTML(); } else if (randInt == 3) { element.innerHTML = getVideoCoursesHTML(); } else { element.innerHTML = getBookHTML(); } } else { element.innerHTML = getFormHTML(); haveFormModule = true; } } else { if (haveFormModule) { var randInt = getRandomInt(4); if (randInt === 1 || randInt == 2) { element.innerHTML = getEditingHTML(); } else if (randInt == 3) { element.innerHTML = getVideoCoursesHTML(); } else { element.innerHTML = getBookHTML(); } } else { var randInt = getRandomInt(5); if (randInt === 0 || randInt == 1) { element.innerHTML = getEditingHTML(); } else if (randInt == 2) { element.innerHTML = getBookHTML(); } else if (randInt == 3) { element.innerHTML = getFormHTML(); } else if (randInt == 4) { element.innerHTML = getVideoCoursesHTML(); } } } }); });