(function() { // Get the article div var article = document.getElementById("content-detail-page-of-an-article"); // Rule off the link section that always comes at the end article.appendChild(document.createElement("hr")); // Add Sorin's current status as a

var status = document.createElement("p"); status.innerText = "Meanwhile on Innistrad, Sorin Markov is still stuck in a rock."; article.appendChild(status); // Pick a catchy one-liner var slogans = [ "I can see your house from here.", "Guess you shouldn't have taken your victory for granite.", "Looks like you're stuck between a rock and a hard place.", "Innistrad? More like in-a-strata. Heyoooo!" ]; var slogan = slogans[Math.floor(Math.random() * slogans.length)]; // Add a div for the picture var figureDiv = document.createElement("div"); figureDiv.className = "figure-wrapper rtecenter"; figureDiv.innerHTML = "

Art by Cynthia Sheppard
"; article.appendChild(figureDiv); })();