//format the intro page title
var h2_text = $("[data-block_type='intro'] h2").text();
var new_header ="
" + h2_text + "
";
$("[data-block_type='intro'] h2").replaceWith(new_header);
//format the essay page titles
var h2_text = $("[data-block_type='essay'] h2").text();
var new_header ="" + h2_text + "
";
$("[data-block_type='essay'] h2").replaceWith(new_header);
//footnotes and glossary arrays
xBookUtils.terms['fn_1_1'] ="1. There was also a third possibility: that India would go to war to enable the refugees to return to their lands. Since I wrote this paper, India has taken this way out. The situation is no longer that described above, but this does not affect my argument, as the next paragraph indicates. [All notes are Singer’s.]";
xBookUtils.terms['fn_1_2'] ="2. In view of the special sense philosophers often give to the term, I should say that I use “obligation” simply as the abstract noun derived from “ought,” so that “I have an obligation to” means no more, and no less, than “I ought to.” This usage is in accordance with the definition of “ought” given by the Shorter Oxford English Dictionary: “the general verb to express duty or obligation.” I do not think any issue of substance hangs on the way the term is used; sentences in which I use “obligation” could all be rewritten, although somewhat clumsily, as sentences in which a clause containing “ought” replaces the term “obligation.”";
xBookUtils.terms['fn_1_3'] ="3. J. O. Urmson, “Saints and Heroes,” in Essays in Moral Philosophy, ed. Abraham I. Melden (Seattle and London, 1958), p. 214. For a related but significantly different view see also Henry Sidgwick, The Methods of Ethics, 7th ed. (London, 1907), pp. 220–21, 492–93.";
xBookUtils.terms['fn_1_4'] ="4. Summa Theologica, II–II, Question 66, Article 7, in Aquinas, Selected Political Writings, ed. A. P. d’Entreves, trans. J. G. Dawson (Oxford, 1948), p. 171.";
xBookUtils.terms['fn_1_5'] ="5. See, for instance, John Kenneth Galbraith, The New Industrial State (Boston, 1967); and E. J. Mishan, The Costs of Economic Growth (London, 1967).";
xBookUtils.terms['fn_2_1'] ="1. Omitted here. [Editors’ note.]";
//print the checklist
var gAutoPrint = true; // Tells whether to automatically call the print function
function printSpecial()
{
if (document.getElementById != null)
{
var html = '\n\n';
if (document.getElementsByTagName != null)
{
var headTags = document.getElementsByTagName("head");
if (headTags.length > 0)
html += headTags[0].innerHTML;
}
html += '\n\n\n';
var printReadyElem = document.getElementById("printReady");
if (printReadyElem != null)
{
html += printReadyElem.innerHTML;
}
else
{
alert("Could not find the printReady function");
return;
}
html += '\n\n';
var printWin = window.open("","printSpecial");
printWin.document.open();
printWin.document.write(html);
printWin.document.close();
if (gAutoPrint)
printWin.print();
}
else
{
alert("The print ready feature is only available if you are using a browser. Please update your browser.");
}
}
function changeImage1() {
if (document.getElementById("imgClickAndChange1").src == "http://digfir.macmillanusa.com/asset/criticalthinking8e/checkbox.jpg")
{
document.getElementById("imgClickAndChange1").src = "http://digfir.macmillanusa.com/asset/criticalthinking8e/small_check.jpg";
}
else
{
document.getElementById("imgClickAndChange1").src = "http://digfir.macmillanusa.com/asset/criticalthinking8e/checkbox.jpg";
}
}
function changeImage2() {
if (document.getElementById("imgClickAndChange2").src == "http://digfir.macmillanusa.com/asset/criticalthinking8e/checkbox.jpg")
{
document.getElementById("imgClickAndChange2").src = "http://digfir.macmillanusa.com/asset/criticalthinking8e/small_check.jpg";
}
else
{
document.getElementById("imgClickAndChange2").src = "http://digfir.macmillanusa.com/asset/criticalthinking8e/checkbox.jpg";
}
}
function changeImage3() {
if (document.getElementById("imgClickAndChange3").src == "http://digfir.macmillanusa.com/asset/criticalthinking8e/checkbox.jpg")
{
document.getElementById("imgClickAndChange3").src = "http://digfir.macmillanusa.com/asset/criticalthinking8e/small_check.jpg";
}
else
{
document.getElementById("imgClickAndChange3").src = "http://digfir.macmillanusa.com/asset/criticalthinking8e/checkbox.jpg";
}
}
function changeImage4() {
if (document.getElementById("imgClickAndChange4").src == "http://digfir.macmillanusa.com/asset/criticalthinking8e/checkbox.jpg")
{
document.getElementById("imgClickAndChange4").src = "http://digfir.macmillanusa.com/asset/criticalthinking8e/small_check.jpg";
}
else
{
document.getElementById("imgClickAndChange4").src = "http://digfir.macmillanusa.com/asset/criticalthinking8e/checkbox.jpg";
}
}
function changeImage5() {
if (document.getElementById("imgClickAndChange5").src == "http://digfir.macmillanusa.com/asset/criticalthinking8e/checkbox.jpg")
{
document.getElementById("imgClickAndChange5").src = "http://digfir.macmillanusa.com/asset/criticalthinking8e/small_check.jpg";
}
else
{
document.getElementById("imgClickAndChange5").src = "http://digfir.macmillanusa.com/asset/criticalthinking8e/checkbox.jpg";
}
}
function changeImage6() {
if (document.getElementById("imgClickAndChange6").src == "http://digfir.macmillanusa.com/asset/criticalthinking8e/checkbox.jpg")
{
document.getElementById("imgClickAndChange6").src = "http://digfir.macmillanusa.com/asset/criticalthinking8e/small_check.jpg";
}
else
{
document.getElementById("imgClickAndChange6").src = "http://digfir.macmillanusa.com/asset/criticalthinking8e/checkbox.jpg";
}
}
function changeImage7() {
if (document.getElementById("imgClickAndChange7").src == "http://digfir.macmillanusa.com/asset/criticalthinking8e/checkbox.jpg")
{
document.getElementById("imgClickAndChange7").src = "http://digfir.macmillanusa.com/asset/criticalthinking8e/small_check.jpg";
}
else
{
document.getElementById("imgClickAndChange7").src = "http://digfir.macmillanusa.com/asset/criticalthinking8e/checkbox.jpg";
}
}
function changeImage8() {
if (document.getElementById("imgClickAndChange8").src == "http://digfir.macmillanusa.com/asset/criticalthinking8e/checkbox.jpg")
{
document.getElementById("imgClickAndChange8").src = "http://digfir.macmillanusa.com/asset/criticalthinking8e/small_check.jpg";
}
else
{
document.getElementById("imgClickAndChange8").src = "http://digfir.macmillanusa.com/asset/criticalthinking8e/checkbox.jpg";
}
}
function changeImage9() {
if (document.getElementById("imgClickAndChange9").src == "http://digfir.macmillanusa.com/asset/criticalthinking8e/checkbox.jpg")
{
document.getElementById("imgClickAndChange9").src = "http://digfir.macmillanusa.com/asset/criticalthinking8e/small_check.jpg";
}
else
{
document.getElementById("imgClickAndChange9").src = "http://digfir.macmillanusa.com/asset/criticalthinking8e/checkbox.jpg";
}
}
function changeImage10() {
if (document.getElementById("imgClickAndChange10").src == "http://digfir.macmillanusa.com/asset/criticalthinking8e/checkbox.jpg")
{
document.getElementById("imgClickAndChange10").src = "http://digfir.macmillanusa.com/asset/criticalthinking8e/small_check.jpg";
}
else
{
document.getElementById("imgClickAndChange10").src = "http://digfir.macmillanusa.com/asset/criticalthinking8e/checkbox.jpg";
}
}
function changeImage11() {
if (document.getElementById("imgClickAndChange11").src == "http://digfir.macmillanusa.com/asset/criticalthinking8e/checkbox.jpg")
{
document.getElementById("imgClickAndChange11").src = "http://digfir.macmillanusa.com/asset/criticalthinking8e/small_check.jpg";
}
else
{
document.getElementById("imgClickAndChange11").src = "http://digfir.macmillanusa.com/asset/criticalthinking8e/checkbox.jpg";
}
}
function changeImage12() {
if (document.getElementById("imgClickAndChange12").src == "http://digfir.macmillanusa.com/asset/criticalthinking8e/checkbox.jpg")
{
document.getElementById("imgClickAndChange12").src = "http://digfir.macmillanusa.com/asset/criticalthinking8e/small_check.jpg";
}
else
{
document.getElementById("imgClickAndChange12").src = "http://digfir.macmillanusa.com/asset/criticalthinking8e/checkbox.jpg";
}
}
function changeImage13() {
if (document.getElementById("imgClickAndChange13").src == "http://digfir.macmillanusa.com/asset/criticalthinking8e/checkbox.jpg")
{
document.getElementById("imgClickAndChange13").src = "http://digfir.macmillanusa.com/asset/criticalthinking8e/small_check.jpg";
}
else
{
document.getElementById("imgClickAndChange13").src = "http://digfir.macmillanusa.com/asset/criticalthinking8e/checkbox.jpg";
}
}
function changeImage14() {
if (document.getElementById("imgClickAndChange14").src == "http://digfir.macmillanusa.com/asset/criticalthinking8e/checkbox.jpg")
{
document.getElementById("imgClickAndChange14").src = "http://digfir.macmillanusa.com/asset/criticalthinking8e/small_check.jpg";
}
else
{
document.getElementById("imgClickAndChange14").src = "http://digfir.macmillanusa.com/asset/criticalthinking8e/checkbox.jpg";
}
}
function changeImage15() {
if (document.getElementById("imgClickAndChange15").src == "http://digfir.macmillanusa.com/asset/criticalthinking8e/checkbox.jpg")
{
document.getElementById("imgClickAndChange15").src = "http://digfir.macmillanusa.com/asset/criticalthinking8e/small_check.jpg";
}
else
{
document.getElementById("imgClickAndChange15").src = "http://digfir.macmillanusa.com/asset/criticalthinking8e/checkbox.jpg";
}
}
function changeImage16() {
if (document.getElementById("imgClickAndChange16").src == "http://digfir.macmillanusa.com/asset/criticalthinking8e/checkbox.jpg")
{
document.getElementById("imgClickAndChange16").src = "http://digfir.macmillanusa.com/asset/criticalthinking8e/small_check.jpg";
}
else
{
document.getElementById("imgClickAndChange16").src = "http://digfir.macmillanusa.com/asset/criticalthinking8e/checkbox.jpg";
}
}