//	load external google analytics file
function loadScript(url) {document.write('<script src="', url, '" type="text/javascript"></script>');}
loadScript("http://www.google-analytics.com/urchin.js");

//	topnav
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

//	feedback
function processQuery() {
	//grab the query string and strip the ?
	var query = new String(location.search)
	query = query.slice(1)
	//split query string on the ampersand if there is one
	if (query.indexOf("&")>-1){var paramArray = query.split("&")}
	else {var paramArray = new Array()
	paramArray[0] = query}
	var numParams = paramArray.length - 1
	for(var i = 0; i <= numParams; i++) {
		//get name
		var param = paramArray[i]
		var setName = param.substring(0, param.indexOf("="));
		//get value
		var setVal = unescape(param.substring(param.indexOf("=")+1, param.length))
		switch (setName){
		case "send-results-to":
			document.editorfeedback.elements[0].value = setVal
			break
		case "results-page":
			document.editorfeedback.elements[1].value = setVal
			break
		case "form-name":
			document.editorfeedback.elements[2].value = setVal
			break
		case "studentname":
			document.editorfeedback.elements[3].value = setVal
			break
		case "email":
			document.editorfeedback.elements[4].value = setVal
			break
		case "feature":
			document.editorfeedback.elements[5].value = setVal
			break
		case "chapter":
			document.editorfeedback.elements[6].value = setVal
			break
		case "comments":
			document.editorfeedback.elements[7].value = setVal
			break		
		}
	}
}

function checkIt() {
	if(document.editorfeedback.studentname.value == '') {
		alert("Please enter your name.");
		return false;}
	else if(document.editorfeedback.email.value == '') {
		alert("Please include your email address so that we can get back to you.");
		return false;}
	else if(document.editorfeedback.feature.value == '') {
		alert("Please include the name of the website feature or type 'general' if your comments are not specific to a particular feature. Thank you for your input.");
		return false;}
	else if(document.editorfeedback.chapter.value == '') {
		alert("Please enter the chapter number.");
		return false;}
	else if(document.editorfeedback.comments.value == '') {
		alert("Please include your comments or suggestions.");
		return false;}
	return true;
}

//	ASSESSMENT ASSETS SNAPSHOT
function show(element) {
	elem = document.getElementById(element);
	elem.style.visibility = "visible";
}

function hide(element) {
	elem = document.getElementById(element);
	elem.style.visibility = "hidden";
}

//	BULLETS
function bullet1() {document.write("<div class='bullet'><img src='http://media.pearsoncmg.com/bc/bc_campbell_essentials_4/img/bullet1.gif' alt='Focus Your Effort' border='0' width='20' height='20' align='absmiddle'> &nbsp;Focus Your Effort</div>");}
function bullet2() {document.write("<div class='bullet'><img src='http://media.pearsoncmg.com/bc/bc_campbell_essentials_4/img/bullet2.gif' alt='Direct Your Learning' border='0' width='20' height='20' align='absmiddle'> &nbsp;Direct Your Learning</div>");}
function bullet3() {document.write("<div class='bullet'><img src='http://media.pearsoncmg.com/bc/bc_campbell_essentials_4/img/bullet3.gif' alt='Test Yourself' border='0' width='20' height='20' align='absmiddle'> &nbsp;Test Yourself</div>");}
function bullet4() {document.write("<div class='bullet'><img src='http://media.pearsoncmg.com/bc/bc_campbell_essentials_4/img/bullet4.gif' alt='Extend Your Knowledge' border='0' width='20' height='20' align='absmiddle'> &nbsp;Extend Your Knowledge</div>");}

//	FLASHCARDS
function Flashcards() {
	url="http://media.pearsoncmg.com/bc/bc_campbell_essentials_4/flashcards/index.html";
	winstring="menubar=no,toolbar=no,location=no,status=no,scrollbars=no,resizable=no,width=670,height=525,screenX=100,screenY=100,left=100,top=100";
	window.open(url,"flashcardswin",winstring);
}

//	GLOSSARY
function Glossary() {
	url = "http://media.pearsoncmg.com/bc/bc_campbell_essentials_4/glossary/index.html";
	glossString = "menubar=no,toolbar=no,location=no,status=no,scrollbars=yes,resizable=yes,width=750,height=600,screenX=100,screenY=100,left=100,top=100";
	GlossaryWin = window.open(url,"Glossary",glossString);
	GlossaryWin.focus();
}

//	CUMULATIVE
function openCumulative() {
	url = "http://media.pearsoncmg.com/bc/bc_campbell_essentials_4/cumulative/cumulative_test.html";
	cumuString = "menubar=no,toolbar=no,location=no,status=no,scrollbars=yes,resizable=yes,width=700,height=550,screenX=100,screenY=100,left=100,top=100";
	CumuWin = window.open(url,"Cumulative",cumuString);
	CumuWin.focus();
}

//	IR LINKS
function IRvideo(file) {
	url = "http://media.pearsoncmg.com/bc/bc_campbell_essentials_4/ir/videos/" + file + ".zip";
	irString = "menubar=no,toolbar=no,location=no,status=no,scrollbars=no,resizable=no,width=100,height=100,screenX=10,screenY=10,left=10,top=10";
	irWin = window.open(url,"Zip",irString);
	irWin.focus();
}

function openWin(url,title){
	var newWin=window.open(url,title,"width=800,height=525,scrollbars,resizable");
	if(window.opener==null)
	{window.opener=window;}
}

//############################################################################
//############################# BioFlix start ################################
//############################################################################

var imgBFLX = 'http://media.pearsoncmg.com/bc/bc_0media_bio/bioflix/images/bioflix.gif';
var	ComeSoon = 'http://media.pearsoncmg.com/bc/bc_0media_bio/bioflix/coming_soon.html';

loadScript("http://media.pearsoncmg.com/bc/bc_0media_bio/bioflix/inc/scripts.js");

var bflxString = 'menubar=0,toolbar=0,location=0,status=0,scrollbars=0,resizable=1,width=1004,height=728,screenX=100,screenY=100,left=100,top=100';

function listBFLX(bflxID) {
	var grabBFLX = bioFlixArray[bflxID];
	var BFLXtitle = grabBFLX[0];
	if ((document.referrer.indexOf('bc_campbell_essentials_4_oa') >= 0) || (window.location.href.indexOf('bc_campbell_essentials_4_oa') >= 0))
		{
			document.write("(<a href='http://wps.aw.com/bc_campbell_essentials_4' target='_blank');\>premium content</a>)");
		}
		else
		{
			document.write("<span style='margin-left:50px;'><img src='" + imgBFLX + "' alt='BioFlix' border='0' width='16' height='16' align='bottom' /> BioFlix: <a href='javascript://;' onclick=\"openBFLX('bioflix.htm?eb4" + bflxID + "');\">" + BFLXtitle + "</a></span>");
		}
	}

function quizBFLX(bflxID) {
	var grabBFLX = bioFlixArray[bflxID];
	var BFLXtitle = grabBFLX[0];
	if ((document.referrer.indexOf('bc_campbell_essentials_4_oa') >= 0) || (window.location.href.indexOf('bc_campbell_essentials_4_oa') >= 0))
		{
			document.write("(<a href='http://wps.aw.com/bc_campbell_essentials_4' target='_blank');\>premium content</a>)");
		}
		else
		{
			document.write(" <img src='" + imgBFLX + "' alt='BioFlix' border='0' width='16' height='16' align='bottom' /> BioFlix: <a href='javascript://;' onclick=\"openBFLX('bioflix.htm?eb4" + bflxID + "');\">" + BFLXtitle + "</a>");
		}
	}

function openBFLX(bflxpath) {
	var msloc = "http://media.pearsoncmg.com/bc/bc_0media_bio/bioflix/";
	var bflxWin = window.open(msloc+bflxpath,'bflxWin',bflxString);
	bflxWin.focus()	
	}

//############################################################################
//############################# Discovery Videos start #######################
//############################################################################

function openDEC(path) {
var decString = 'menubar=0,toolbar=0,location=0,status=0,scrollbars=0,resizable=1,width=1024,height=754,screenX=100,screenY=100,left=100,top=100';
	var decWin = window.open(path,'decWin',decString);
	decWin.focus()	}

function tocDEC(decID) {
// dec[decID] = title
var dec = new Array();
dec["Antibiotic"] 	= ["Antibiotics","antibiotics"] // 01
dec["Early"] 		= ["Early Life","early_life"] // 02 and 15
dec["Cells"] 		= ["Cells","cells"] // 04
dec["Space"] 		= ["Plants and Space Travel","space_plants"] // 07
dec["Cotton"] 		= ["Colored Cotton","colored_cotton"] // 09 and 12
dec["Novelty"] 		= ["Novelty Gene","novelty_gene"] // 09
dec["Emerging"] 	= ["Emerging Diseases","emerging_disease"] // 10
dec["Cloning"] 		= ["Cloning","cloning"] // 11
dec["Fighting"] 	= ["Fighting Cancer","fighting_cancer"] // 11
dec["Transgenics"] 	= ["Transgenics","transgenics"] // 12
dec["DNA"] 			= ["DNA Forensics","dna_forensics"] // 12
dec["Darwin"] 		= ["Charles Darwin","charles_darwin"] // 13
dec["Mass"] 		= ["Mass Extinction","mass_extinctions"] // 14
dec["Bacteria"] 	= ["Bacteria","bacteria"] // 15
dec["Tasty"] 		= ["Tasty Bacteria","tasty_bacteria"] // 15
dec["Diversity"]	= ["Plant Pollination","plant_pollination"] // 16
dec["Molds"] 		= ["Fungi","molds"] // 16
dec["Invert"] 		= ["Invertebrates","invertebrates"] // 17
dec["Leafcutter"] 	= ["Leafcutter Ants","leafcutter_ants"] // 19
dec["Rain"] 		= ["Rain Forests","rain_forests"] // 19
dec["Introduced"] 	= ["Introduced Species","introduced_species"] // 20
dec["Trees"] 		= ["Trees","trees"] // 20
dec["Intro"] 		= ["An Introduction to the Human Body","human_body"] // 21
dec["Nutrition"] 	= ["Nutrition","nutrition"] // 22
dec["Blood"] 		= ["Blood","blood"] // 23
dec["Vaccines"] 	= ["Vaccines","vaccines"] // 24
dec["Endocrine"]	= ["The Endocrine System","endocrine_system"] // 25
dec["Teen"]			= ["Teen Brains","teen_brains"] // 27
dec["Muscles"]		= ["Muscles and Bones","muscles_and_bones"] // 27

	var grabDEC = dec[decID];
	var DECtitle = grabDEC[0];
	var DECcode = grabDEC[1];
	document.write("<a href='javascript://;' onclick=\"openDEC('http://media.pearsoncmg.com/bc/bc_0media_bio/discoveryvideos/_html/index.htm?info_text=eb4_"+DECcode+"');\" class='eTOC'>" + DECtitle + "</a>");
	}

//	listDEC (list link with image in chapter guides and feedback)
function listDEC(decID) {
// dec[decID] = title
var dec = new Array();
dec["Antibiotic"] 	= ["Antibiotics","antibiotics"] // 01
dec["Early"] 		= ["Early Life","early_life"] // 02 and 15
dec["Cells"] 		= ["Cells","cells"] // 04
dec["Space"] 		= ["Plants and Space Travel","space_plants"] // 07
dec["Cotton"] 		= ["Colored Cotton","colored_cotton"] // 09 and 12
dec["Novelty"] 		= ["Novelty Gene","novelty_gene"] // 09
dec["Emerging"] 	= ["Emerging Diseases","emerging_disease"] // 10
dec["Cloning"] 		= ["Cloning","cloning"] // 11
dec["Fighting"] 	= ["Fighting Cancer","fighting_cancer"] // 11
dec["Transgenics"] 	= ["Transgenics","transgenics"] // 12
dec["DNA"] 			= ["DNA Forensics","dna_forensics"] // 12
dec["Darwin"] 		= ["Charles Darwin","charles_darwin"] // 13
dec["Mass"] 		= ["Mass Extinctions","mass_extinctions"] // 14
dec["Bacteria"] 	= ["Bacteria","bacteria"] // 15
dec["Tasty"] 		= ["Tasty Bacteria","tasty_bacteria"] // 15
dec["Diversity"]	= ["Plant Pollination","plant_pollination"] // 16
dec["Molds"] 		= ["Fungi","molds"] // 16
dec["Invert"] 		= ["Invertebrates","invertebrates"] // 17
dec["Leafcutter"] 	= ["Leafcutter Ants","leafcutter_ants"] // 19
dec["Rain"] 		= ["Rain Forests","rain_forests"] // 19
dec["Introduced"] 	= ["Introduced Species","introduced_species"] // 20
dec["Trees"] 		= ["Trees","trees"] // 20
dec["Intro"] 		= ["An Introduction to the Human Body","human_body"] // 21
dec["Nutrition"] 	= ["Nutrition","nutrition"] // 22
dec["Blood"] 		= ["Blood","blood"] // 23
dec["Vaccines"] 	= ["Vaccines","vaccines"] // 24
dec["Endocrine"]	= ["The Endocrine System","endocrine_system"] // 25
dec["Teen"]			= ["Teen Brains","teen_brains"] // 27
dec["Muscles"]		= ["Muscles and Bones","muscles_and_bones"] // 27

//*****************************************notice 'bb3_' added to the below function for Discovery Video repurposing - this has to be done for each volume - swright 031307
	var grabDEC = dec[decID];
	var DECtitle = grabDEC[0];
	var DECcode = grabDEC[1];
	if ((document.referrer.indexOf('bc_campbell_essentials_4_oa') >= 0) || (window.location.href.indexOf('bc_campbell_essentials_4_oa') >= 0))
		{
			document.write("(<a href='http://wps.aw.com/bc_campbell_essentials_4' target='_blank');\>premium content</a>)");
		}
		else
		{
			document.write("Discovery Channel Video: <a href='javascript://;' onclick=\"openDEC('http://media.pearsoncmg.com/bc/bc_0media_bio/discoveryvideos/_html/index.htm?info_text=eb4_"+DECcode+"');\">" + DECtitle + "</a>");
		}
	}

//############################################################################
//############################# eBook start ################################
//############################################################################

// ceb4[ebkID] = chap mod title; mod may change due to how ebook is built
var imgEBK = 'http://media.pearsoncmg.com/bc/bc_0global/img/ebk.gif';
var ceb4 = new Array();
ceb4["000000"] = ["00","00","00","i","myeBook for Essential Biology, 4/e & Essential Biology with Physiology, 3/e"]
ceb4["010000"] = ["01","00","00","1","Introduction: Biology Today"]
ceb4["010100"] = ["01","01","00","3","Biology and Society: Biology All Around Us"]
ceb4["010200"] = ["01","02","00","4","The Scope of Life"]
ceb4["010201"] = ["01","02","01","4","The Properties of Life"]
ceb4["010202"] = ["01","02","02","4","Life at Its Many Levels"]
ceb4["010203"] = ["01","02","03","8","Life in Its Diverse Forms"]
ceb4["010300"] = ["01","03","00","10","Evolution: Biology's Unifying Theme"]
ceb4["010301"] = ["01","03","01","10","The Darwinian View of Life"]
ceb4["010302"] = ["01","03","02","11","Natural Selection"]
ceb4["010400"] = ["01","04","00","14","The Process of Science"]
ceb4["010401"] = ["01","04","01","14","Discovery Science"]
ceb4["010402"] = ["01","04","02","14","Hypothesis-Driven Science"]
ceb4["010403"] = ["01","04","03","15","The Process of Science: Is Trans Fat Bad for You?"]
ceb4["010404"] = ["01","04","04","16","Theories in Science"]
ceb4["010405"] = ["01","04","05","17","The Culture of Science"]
ceb4["010406"] = ["01","04","06","17","Science, Technology, and Society"]
ceb4["010500"] = ["01","05","00","18","Evolution Connection: Evolution in Our Everyday Lives"]
ceb4["020000"] = ["02","00","00","23","Essential Chemistry for Biology"]
ceb4["020100"] = ["02","01","00","23","Biology and Society: Fluoride in the Water"]
ceb4["020200"] = ["02","02","00","24","Some Basic Chemistry"]
ceb4["020201"] = ["02","02","01","24","Matter: Elements and Compounds"]
ceb4["020202"] = ["02","02","02","25","Atoms"]
ceb4["020203"] = ["02","02","03","27","Chemical Bonding and Molecules"]
ceb4["020204"] = ["02","02","04","28","Chemical Reactions"]
ceb4["020300"] = ["02","03","00","29","Water and Life"]
ceb4["020301"] = ["02","03","01","29","Water's Life-Supporting Properties"]
ceb4["020302"] = ["02","03","02","31","The Process of Science: Can Exercise Boost Your Brain Power?"]
ceb4["020303"] = ["02","03","03","32","Acids, Bases, and pH"]
ceb4["020400"] = ["02","04","00","33","Evolution Connection: The Search for Extraterrestrial Life"]
ceb4["020500"] = ["02","05","00","34","Chapter Review"]
ceb4["030000"] = ["03","00","00","37","The Molecules of Life"]
ceb4["030100"] = ["03","01","00","37","Biology and Society: Got Lactose?"]
ceb4["030200"] = ["03","02","00","38","Organic Compounds"]
ceb4["030201"] = ["03","02","01","38","Carbon Chemistry"]
ceb4["030202"] = ["03","02","02","39","Giant Molecules from Smaller Building Blocks"]
ceb4["030300"] = ["03","03","00","40","Large Biological Molecules"]
ceb4["030301"] = ["03","03","01","40","Carbohydrates"]
ceb4["030302"] = ["03","03","02","43","Lipids"]
ceb4["030303"] = ["03","03","03","46","Proteins"]
ceb4["030304"] = ["03","03","04","49","Nucleic Acids"]
ceb4["030400"] = ["03","04","00","51","Evolution Connection: The Evolution of Lactose Intolerance in Humans"]
ceb4["030500"] = ["03","05","00","52","Chapter Review"]
ceb4["040000"] = ["04","00","00","55","A Tour of the Cell"]
ceb4["040100"] = ["04","01","00","55","Biology and Society: Drugs that Target Bacterial Cells"]
ceb4["040200"] = ["04","02","00","56","The Microscopic World of Cells"]
ceb4["040300"] = ["04","03","00","60","Membrane Structure"]
ceb4["040400"] = ["04","04","00","62","The Nucleus and Ribosomes: Genetic Control of the Cell"]
ceb4["040500"] = ["04","05","00","64","The Endomembrane System: Manufacturing and Distributing Cellular Products"]
ceb4["040600"] = ["04","06","00","68","Chloroplasts and Mitochondria: Energy Conversion"]
ceb4["040700"] = ["04","07","00","69","The Cytoskeleton: Cell Shape and Movement"]
ceb4["040800"] = ["04","08","00","71","Evolution Connection: The Evolution of Antibiotic Resistance"]
ceb4["040900"] = ["04","09","00","72","Chapter Review"]
ceb4["050000"] = ["05","00","00","75","The Working Cell"]
ceb4["050100"] = ["05","01","00","75","Biology and Society: Natural Nanotechnology"]
ceb4["050200"] = ["05","02","00","76","Some Basic Energy Concepts"]
ceb4["050300"] = ["05","03","00","79","ATP and Cellular Work"]
ceb4["050400"] = ["05","04","00","80","Enzymes"]
ceb4["050500"] = ["05","05","00","83","Membrane Function"]
ceb4["050600"] = ["05","06","00","87","Evolution Connection: The Origin of Membranes"]
ceb4["050700"] = ["05","07","00","88","Chapter Review"]
ceb4["060000"] = ["06","00","00","91","Cellular Respiration: Obtaining Energy from Food"]
ceb4["060100"] = ["06","01","00","91","Biology and Society: Marathoners Versus Sprinters"]
ceb4["060200"] = ["06","02","00","92","Energy Flow and Chemical Cycling in the Biosphere"]
ceb4["060300"] = ["06","03","00","94","Cellular Respiration: Aerobic Harvest of Food Energy"]
ceb4["060400"] = ["06","04","00","101","Fermentation: Anaerobic Harvest of Food Energy"]
ceb4["060500"] = ["06","05","00","103","Evolution Connection: Life Before and After Oxygen"]
ceb4["060600"] = ["06","06","00","104","Chapter Review"]
ceb4["070000"] = ["07","00","00","107","Photosynthesis: Using Light to Make Food"]
ceb4["070100"] = ["07","01","00","107","Biology and Society: Green Energy"]
ceb4["070200"] = ["07","02","00","108","The Basics of Photosynthesis"]
ceb4["070300"] = ["07","03","00","110","The Light Reactions: Converting Solar Energy to Chemical Energy"]
ceb4["070400"] = ["07","04","00","115","The Calvin Cycle: Making Sugar from Carbon Dioxide"]
ceb4["070500"] = ["07","05","00","115","Evolution Connection: Solar-Driven Evolution"]
ceb4["070600"] = ["07","06","00","117","Chapter Review"]
ceb4["080000"] = ["08","00","00","121","Cellular Reproduction: Cells from Cells"]
ceb4["080100"] = ["08","01","00","121","Biology and Society: Rainforest Rescue"]
ceb4["080200"] = ["08","02","00","122","What Cell Reproduction Accomplishes"]
ceb4["080300"] = ["08","03","00","123","The Cell Cycle and Mitosis"]
ceb4["080400"] = ["08","04","00","130","Meiosis, the Basis of Sexual Reproduction"]
ceb4["080500"] = ["08","05","00","140","Evolution Connection: The Advantages of Sex"]
ceb4["080600"] = ["08","06","00","141","Chapter Review"]
ceb4["090000"] = ["09","00","00","145","Patterns of Inheritance"]
ceb4["090100"] = ["09","01","00","145","Biology and Society: A Matter of Breeding"]
ceb4["090200"] = ["09","02","00","146","Heritable Variation and Patterns of Inheritance"]
ceb4["090300"] = ["09","03","00","158","Variations on Mendel's Laws"]
ceb4["090400"] = ["09","04","00","162","The Chromosomal Basis of Inheritance"]
ceb4["090500"] = ["09","05","00","165","Sex Chromosomes and Sex-Linked Genes"]
ceb4["090600"] = ["09","06","00","167","Evolution Connection: Barking Up the Evolutionary Tree"]
ceb4["090700"] = ["09","07","00","168","Chapter Review"]
ceb4["100000"] = ["10","00","00","173","The Structure and Function of DNA"]
ceb4["100100"] = ["10","01","00","173","Biology and Society: Tracking a Killer"]
ceb4["100200"] = ["10","02","00","174","DNA: Structure and Replication"]
ceb4["100300"] = ["10","03","00","178","The Flow of Genetic Information from DNA to RNA to Protein"]
ceb4["100400"] = ["10","04","00","188","Viruses and Other Noncellular Infectious Agents"]
ceb4["100500"] = ["10","05","00","194","Evolution Connection: Emerging Viruses"]
ceb4["100600"] = ["10","06","00","195","Chapter Review"]
ceb4["110000"] = ["11","00","00","199","How Genes Are Controlled"]
ceb4["110100"] = ["11","01","00","199","Biology and Society: Tobacco's Smoking Gun"]
ceb4["110200"] = ["11","02","00","200","How and Why Genes Are Regulated"]
ceb4["110300"] = ["11","03","00","207","Cloning Plants and Animals"]
ceb4["110400"] = ["11","04","00","211","The Genetic Basis of Cancer"]
ceb4["110500"] = ["11","05","00","215","Evolution Connection: The Evolution of Cancer in the Body"]
ceb4["110600"] = ["11","06","00","215","Chapter Review"]
ceb4["120000"] = ["12","00","00","219","DNA Technology"]
ceb4["120100"] = ["12","01","00","219","Biology and Society: DNA, Guilt, and Innocence"]
ceb4["120200"] = ["12","02","00","220","Recombinant DNA Technology"]
ceb4["120300"] = ["12","03","00","226","DNA Profiling and Forensic Science"]
ceb4["120400"] = ["12","04","00","230","Genomics and Proteomics"]
ceb4["120500"] = ["12","05","00","234","Human Gene Therapy"]
ceb4["120600"] = ["12","06","00","235","Safety and Ethical Issues"]
ceb4["120700"] = ["12","07","00","237","Evolution Connection: Profiling the Y Chromosome"]
ceb4["120800"] = ["12","08","00","238","Chapter Review"]
ceb4["130000"] = ["13","00","00","243","How Populations Evolve"]
ceb4["130100"] = ["13","01","00","243","Biology and Society: Persistent Pests"]
ceb4["130200"] = ["13","02","00","244","Charles Darwin and <i>The Origin of Species</i>"]
ceb4["130300"] = ["13","03","00","248","Evidence of Evolution"]
ceb4["130400"] = ["13","04","00","252","Natural Selection"]
ceb4["130500"] = ["13","05","00","256","The Modern Synthesis: Darwinism Meets Genetics"]
ceb4["130600"] = ["13","06","00","260","Mechanisms of Evolution"]
ceb4["130700"] = ["13","07","00","265","Evolution Connection: The Genetics of the Sickle-Cell Allele"]
ceb4["130800"] = ["13","08","00","265","Chapter Review"]
ceb4["140000"] = ["14","00","00","269","How Biological Diversity Evolves"]
ceb4["140100"] = ["14","01","00","269","Biology and Society: The Sixth Mass Extinction"]
ceb4["140200"] = ["14","02","00","270","Macroevolution and the Diversity of Life"]
ceb4["140300"] = ["14","03","00","271","The Origin of Species"]
ceb4["140400"] = ["14","04","00","278","The Evolution of Biological Novelty"]
ceb4["140500"] = ["14","05","00","280","Earth History and Macroevolution"]
ceb4["140600"] = ["14","06","00","285","Classifying the Diversity of Life"]
ceb4["140700"] = ["14","07","00","289","Evolution Connection: Rise of the Mammals"]
ceb4["140800"] = ["14","08","00","290","Chapter Review"]
ceb4["150000"] = ["15","00","00","293","The Evolution of Microbial Life"]
ceb4["150100"] = ["15","01","00","293","Biology and Society: Can Life Be Created in the Lab?"]
ceb4["150200"] = ["15","02","00","294","Major Episodes in the History of Life"]
ceb4["150300"] = ["15","03","00","296","The Origin of Life"]
ceb4["150400"] = ["15","04","00","299","Prokaryotes"]
ceb4["150500"] = ["15","05","00","306","Protists"]
ceb4["150600"] = ["15","06","00","311","Evolution Connection: The Origin of Multicellular Life"]
ceb4["150700"] = ["15","07","00","312","Chapter Review"]
ceb4["160000"] = ["16","00","00","315","Plants, Fungi, and the Move onto Land"]
ceb4["160100"] = ["16","01","00","315","Biology and Society: Will the Blight End the Chestnut?"]
ceb4["160200"] = ["16","02","00","316","Colonizing Land"]
ceb4["160300"] = ["16","03","00","318","Plant Diversity"]
ceb4["160400"] = ["16","04","00","328","Fungi"]
ceb4["160500"] = ["16","05","00","332","Evolution Connection: Mutually Beneficial Symbiosis"]
ceb4["160600"] = ["16","06","00","333","Chapter Review"]
ceb4["170000"] = ["17","00","00","337","The Evolution of Animals"]
ceb4["170100"] = ["17","01","00","337","Biology and Society: Rise of the Hobbit People"]
ceb4["170200"] = ["17","02","00","338","The Origins of Animal Diversity"]
ceb4["170300"] = ["17","03","00","341","Major Invertebrate Phyla"]
ceb4["170400"] = ["17","04","00","354","Vertebrate Evolution and Diversity"]
ceb4["170500"] = ["17","05","00","361","The Human Ancestry"]
ceb4["170600"] = ["17","06","00","367","Evolution Connection: Recent Human Evolution"]
ceb4["170700"] = ["17","07","00","368","Chapter Review"]
ceb4["180000"] = ["18","00","00","373","An Introduction to Ecology and the Biosphere"]
ceb4["180100"] = ["18","01","00","373","Biology and Society: Penguins and Polar Bears in Peril"]
ceb4["180200"] = ["18","02","00","374","An Overview of Ecology"]
ceb4["180300"] = ["18","03","00","376","Living in Earth's Diverse Environments"]
ceb4["180400"] = ["18","04","00","380","Biomes"]
ceb4["180500"] = ["18","05","00","394","Global Climate Change"]
ceb4["180600"] = ["18","06","00","399","Evolution Connection: Climate Change as an Agent of Natural Selection"]
ceb4["180700"] = ["18","07","00","399","Chapter Review"]
ceb4["190000"] = ["19","00","00","403","Population Ecology"]
ceb4["190100"] = ["19","01","00","403","Biology and Society: Multiplying Like Rabbits"]
ceb4["190200"] = ["19","02","00","404","An Overview of Population  Ecology"]
ceb4["190300"] = ["19","03","00","408","Population Growth Models"]
ceb4["190400"] = ["19","04","00","412","Applications of Population Ecology"]
ceb4["190500"] = ["19","05","00","417","Human Population Growth"]
ceb4["190600"] = ["19","06","00","421","Evolution Connection: Humans as an Invasive Species"]
ceb4["190700"] = ["19","07","00","421","Chapter Review"]
ceb4["200000"] = ["20","00","00","425","Communities and Ecosystems"]
ceb4["200100"] = ["20","01","00","425","Biology and Society: Does Biodiversity Matter?"]
ceb4["200200"] = ["20","02","00","426","The Loss of Biodiversity"]
ceb4["200300"] = ["20","03","00","428","Community Ecology"]
ceb4["200400"] = ["20","04","00","437","Ecosystem Ecology"]
ceb4["200500"] = ["20","05","00","444","Conservation and Restoration Biology"]
ceb4["200600"] = ["20","06","00","448","Evolution Connection: Biophilia and an Environmental Ethic"]
ceb4["200700"] = ["20","07","00","450","Chapter Review"]
ceb4["210000"] = ["21","00","00","455","Unifying Concepts of Animal Structure and Function"]
ceb4["210100"] = ["21","01","00","455","Biology and Society: Keeping Cool"]
ceb4["210200"] = ["21","02","00","456","The Structural Organization of Animals"]
ceb4["210300"] = ["21","03","00","464","Exchanges with the External Environment"]
ceb4["210400"] = ["21","04","00","465","Regulating the Internal Environment"]
ceb4["210500"] = ["21","05","00","471","Evolution Connection: Adaptations for Thermoregulation"]
ceb4["210600"] = ["21","06","00","472","Chapter Review"]
ceb4["220000"] = ["22","00","00","475","Nutrition and Digestion"]
ceb4["220100"] = ["22","01","00","475","Biology and Society: Stomach Surgeries"]
ceb4["220200"] = ["22","02","00","476","Overview of Animal Nutrition"]
ceb4["220300"] = ["22","03","00","479","A Tour of the Human Digestive System"]
ceb4["220400"] = ["22","04","00","485","Human Nutritional Requirements"]
ceb4["220500"] = ["22","05","00","489","Nutritional Disorders"]
ceb4["220600"] = ["22","06","00","491","Evolution Connection: Fat and Sugar Cravings"]
ceb4["220700"] = ["22","07","00","492","Chapter Review"]
ceb4["230000"] = ["23","00","00","495","Circulation and Respiration"]
ceb4["230100"] = ["23","01","00","495","Biology and Society: The ABCs of Saving Lives"]
ceb4["230200"] = ["23","02","00","496","Unifying Concepts of Animal Circulation"]
ceb4["230300"] = ["23","03","00","497","The Human Cardiovascular System"]
ceb4["230400"] = ["23","04","00","507","Unifying Concepts of Animal Respiration"]
ceb4["230500"] = ["23","05","00","509","The Human Respiratory System"]
ceb4["230600"] = ["23","06","00","513","Evolution Connection: Choked Up"]
ceb4["230700"] = ["23","07","00","514","Chapter Review"]
ceb4["240000"] = ["24","00","00","517","The Body's Defenses"]
ceb4["240100"] = ["24","01","00","517","Biology and Society: An AIDS Vaccine Failure"]
ceb4["240200"] = ["24","02","00","518","Innate Defenses"]
ceb4["240300"] = ["24","03","00","521","Adaptive Defenses"]
ceb4["240400"] = ["24","04","00","528","Immune Disorders"]
ceb4["240500"] = ["24","05","00","530","Evolution Connection: HIV Evolution"]
ceb4["240600"] = ["24","06","00","531","Chapter Review"]
ceb4["250000"] = ["25","00","00","535","Hormones"]
ceb4["250100"] = ["25","01","00","535","Biology and Society: A Hormonal Fountain of Youth?"]
ceb4["250200"] = ["25","02","00","536","Hormones: An Overview"]
ceb4["250300"] = ["25","03","00","538","The Human Endocrine System"]
ceb4["250400"] = ["25","04","00","547","Evolution Connection:Androgens, Anatomy, and Aggression"]
ceb4["250500"] = ["25","05","00","548","Chapter Review"]
ceb4["260000"] = ["26","00","00","551","Reproduction and Development"]
ceb4["260100"] = ["26","01","00","551","Biology and Society: High-Tech Babies"]
ceb4["260200"] = ["26","02","00","552","Unifying Concepts of Animal Reproduction"]
ceb4["260300"] = ["26","03","00","554","Human Reproduction"]
ceb4["260400"] = ["26","04","00","559","Reproductive Health"]
ceb4["260500"] = ["26","05","00","562","Human Development"]
ceb4["260600"] = ["26","06","00","568","Reproductive Technologies"]
ceb4["260700"] = ["26","07","00","570","Evolution Connection: The &ldquo;Grandmother Hypothesis&rdquo;"]
ceb4["260800"] = ["26","08","00","571","Chapter Review"]
ceb4["270000"] = ["27","00","00","575","Nervous, Sensory, and Motor Systems"]
ceb4["270100"] = ["27","01","00","575","Biology and Society: Beyond Human Experience"]
ceb4["270200"] = ["27","02","00","576","An Overview of Animal Nervous Systems"]
ceb4["270300"] = ["27","03","00","581","The Human Nervous System: A Closer Look"]
ceb4["270400"] = ["27","04","00","587","The Senses"]
ceb4["270500"] = ["27","05","00","593","Motor Systems"]
ceb4["270600"] = ["27","06","00","599","Evolution Connection: Seeing UV"]
ceb4["270700"] = ["27","07","00","600","Chapter Review"]
ceb4["280000"] = ["28","00","00","605","The Life of a Flowering Plant"]
ceb4["280100"] = ["28","01","00","605","Biology and Society: Plants and Human Civilization"]
ceb4["280200"] = ["28","02","00","606","The Structure and Function of a Flowering Plant"]
ceb4["280300"] = ["28","03","00","613","Plant Growth"]
ceb4["280400"] = ["28","04","00","617","The Life Cycle of a Flowering Plant"]
ceb4["280500"] = ["28","05","00","621","Evolution Connection: The Problem of the Disappearing Bees"]
ceb4["280600"] = ["28","06","00","621","Chapter Review"]
ceb4["290000"] = ["29","00","00","625","The Working Plant"]
ceb4["290100"] = ["29","01","00","625","Biology and Society: Planting Hope in the Wake of Katrina"]
ceb4["290200"] = ["29","02","00","626","How Plants Acquire and Transport Nutrients"]
ceb4["290300"] = ["29","03","00","632","Plant Hormones"]
ceb4["290400"] = ["29","04","00","636","Response to Stimuli"]
ceb4["290500"] = ["29","05","00","637","Evolution Connection: The Interdependence of Organisms"]
ceb4["290600"] = ["29","06","00","638","Chapter Review"]

//	write ebook link in chapter guide (with ebook image)
function writeEBK(ebkID) {		//	ebkID ~ 0101 (for Chapter 1 A-head 1)
	var grabEBK = ceb4[ebkID];
	var chap = grabEBK[0];
	var mod = grabEBK[1];
	var bhead = grabEBK[2];
	var page = grabEBK[3];
	var title = grabEBK[4];
	document.write("<b>" + title + "</b>");
	}

//	list (ebook) link with image in quizzes/feedback
function quizEBK(ebkID) {
	var grabEBK = ceb4[ebkID];
	var chap = grabEBK[0];
	var mod = grabEBK[1];
	var bhead = grabEBK[2];
	var page = grabEBK[3];
	var title = grabEBK[4];
	if ((document.referrer.indexOf('bc_campbell_essentials_4_oa') >= 0) || (window.location.href.indexOf('bc_campbell_essentials_4_oa') >= 0))
		{
			document.write("(see book section: <i>" + title +"</i>)");
		}
		else
		{
//			document.write("(<img src='" + imgEBK + "' alt='eText' border='0' width='16' height='14' align='bottom' /> <a href='javascript://;' onclick=\"openEBK('" + baseUrl + page + "');\">" + title + "</a>)");
			document.write(" (<img src='" + imgEBK + "' alt='eText' border='0' width='16' height='14' align='bottom' /> <a href='javascript://;' onclick=\"openEBK('" + baseUrl + "');\">" + title + "</a>)");
		}
	}

////////////////////////////////////////////////// functional
var ebkString = 'menubar=0,toolbar=0,location=0,status=0,scrollbars=1,resizable=1,width=800,height=800,screenX=10,screenY=10,left=10,top=10';

//replace this with final eBook URL
var baseUrl = 'http://media.pearsoncmg.com/bc/bc_0global/comingsoon.html';
//var baseUrl = 'http://session.masteringbiology.com/myct/eBookLaunch?bookCode=campbell_eb4_ebp3';

function openEBK(path) {
	var ebkWin = window.open(path,'ebkWin',ebkString);
	ebkWin.focus()	}


//############################################################################
//############################### You Decide #################################
//############################################################################

function openYD(unit){
	var ydPath = 'http://media.pearsoncmg.com/bc/bc_campbell_essentials_4/YouDecide_qz/'+unit+'.html';
	var ydWin = window.open(ydPath,'YouDecide','menubar=0,toolbar=0,location=0,status=0,scrollbars=auto,resizable=1,width=1000,height=683')
}

//############################################################################
//######################### BLAST Animations start ###########################
//############################################################################

function openBLAST(thefile) {
	var blasturl = "http://media.pearsoncmg.com/bc/bc_0media_bio/blast/index.htm?";
	var blastwin = window.open(blasturl+thefile,'blastwin','menubar=0,toolbar=0,location=0,status=0,scrollbars=1,resizable=1,width=780,height=560,screenX=10,screenY=10,left=10,top=10');
	blastwin.focus(); 
	}

//############################################################################
//############################# Activities start #############################
//############################################################################

var c8eActivity = 'http://media.pearsoncmg.com/bc/bc_0media_bio/activities/load.html?';
var c7eActivity = 'http://media.pearsoncmg.com/bc/bc_campbell_biology_7/media/interactivemedia/activities/load.html?';
var cc5Activity = 'http://media.pearsoncmg.com/bc/bc_campbell_concepts_5/media/assets/interactivemedia/activityshared/ActivityLoader.html?';
var eb1Activity = 'http://media.pearsoncmg.com/bc/bc_campbell_essentials_3/activities/eb1Lib/activities/';
var c6eActivity = 'http://media.pearsoncmg.com/bc/bc_campbell_essentials_3/activities/c6eLib/activities/';
var eb2Activity = 'http://media.pearsoncmg.com/bc/bc_campbell_biology_7/medialib/interactivemedia/activities_eb2/K22/';

// act[actID] = title ML:volume|path MS:volume|path
var act = new Array();
act["1A"] = ["The Levels of Life Card Game",c7eActivity,"1&A"]
act["1B"] = ["Energy Flow and Chemical Cycling",c7eActivity,"1&B"]
act["1C"] = ["Classification Schemes",c7eActivity,"1&F"] // and 26
act["1D"] = ["Darwin and the Gal&#225;pagos Islands",c7eActivity,"22&A"] // and 13
act["1E"] = ["Science, Technology, and Society: DDT",c7eActivity,"1&H"]
act["2A"] = ["Structure of the Atomic Nucleus",c7eActivity,"2&A"]
act["2B"] = ["Electron Arrangement",c7eActivity,"2&B"]
act["2C"] = ["Build an Atom",c7eActivity,"2&C"]
act["2D"] = ["Ionic Bonds",c7eActivity,"2&F"]
act["2E"] = ["Covalent Bonds",c7eActivity,"2&D"]
act["2F"] = ["Hydrogen Bonds",c7eActivity,"2&G"]
act["2I"] = ["Polarity of Water",c7eActivity,"3&A"]
act["2G"] = ["Cohesion of Water",c7eActivity,"3&B"]
act["2H"] = ["Acids, Bases, and pH",c7eActivity,"3&D"]
act["3A"] = ["Diversity of Carbon-Based Molecules",c7eActivity,"4&A"]
act["3B"] = ["Functional Groups",c7eActivity,"4&C"]
act["3C"] = ["Making and Breaking Polymers",c7eActivity,"5&A"]
act["3D"] = ["Models of Glucose",c7eActivity,"5&B"]
act["3E"] = ["Carbohydrates",c7eActivity,"5&C"]
act["3F"] = ["Lipids",c7eActivity,"5&D"]
act["3G"] = ["Protein Functions",c7eActivity,"5&E"]
act["3H"] = ["Protein Structure",c7eActivity,"5&F"]
act["3I"] = ["Nucleic Acid Functions",c7eActivity,"5&G"]
act["3J"] = ["Nucleic Acid Structure",c7eActivity,"5&H"]
act["4A"] = ["Metric System Review",c7eActivity,"6&A"]
act["4B"] = ["Prokaryotic Cell Structure and Function",c7eActivity,"6&B"]
act["4C"] = ["Comparing Prokaryotic and Eukaryotic Cells",c7eActivity,"1&C"]
act["4D"] = ["Build an Animal Cell and a Plant Cell",c7eActivity,"6&D"]
act["4E"] = ["Membrane Structure",c7eActivity,"7&A"] // and 05
act["4G"] = ["Role of the Nucleus and Ribosomes in Protein Synthesis",c7eActivity,"6&E"]
act["4H"] = ["The Endomembrane System",c7eActivity,"6&F"]
act["4I"] = ["Build a Chloroplast and a Mitochondrion",c7eActivity,"6&G"]
act["4J"] = ["Cilia and Flagella",c7eActivity,"6&H"]
act["4K"] = ["Review: Animal Cell Structure and Function",c7eActivity,"6&J"]
act["4L"] = ["Review: Plant Cell Structure and Function",c7eActivity,"6&K"]
act["5A"] = ["Energy Transformations",c7eActivity,"8&A"]
act["5B"] = ["The Structure of ATP",c7eActivity,"8&B"]
act["5C"] = ["How Enzymes Work",c7eActivity,"8&D"]
act["5D"] = ["Membrane Structure",c7eActivity,"7&A"] // and 04
act["5F"] = ["Diffusion",c7eActivity,"7&C"]
act["5G"] = ["Facilitated Diffusion",c7eActivity,"7&E"]
act["5H"] = ["Osmosis and Water Balance in Cells",c7eActivity,"7&D"]
act["5I"] = ["Active Transport",c7eActivity,"7&F"]
act["5J"] = ["Exocytosis and Endocytosis",c7eActivity,"7&G"]
act["5K"] = ["Cell Signaling",eb1Activity,"04/4O/st01/frame.html"]
act["6A"] = ["Build a Chemical Cycling System ",c7eActivity,"9&A"]
act["6B"] = ["Overview of Cellular Respiration",c7eActivity,"9&B"]
act["6C"] = ["Glycolysis",c7eActivity,"9&C"]
act["6D"] = ["The Citric Acid Cycle",c7eActivity,"9&D"]
act["6E"] = ["Electron Transport",c7eActivity,"9&E"]
act["6F"] = ["Fermentation",c7eActivity,"9&F"]
act["7A"] = ["The Plants in Our Lives",eb1Activity,"06/6A/st01/frame.html"]
act["7B"] = ["The Sites of Photosynthesis",c7eActivity,"10&A"]
act["7C"] = ["Overview of Photosynthesis",c7eActivity,"10&B"]
act["7D"] = ["Light Energy and Pigments",c7eActivity,"10&C"]
act["7E"] = ["The Light Reactions",c7eActivity,"10&D"]
act["7F"] = ["The Calvin Cycle",c7eActivity,"10&E"]
act["7G"] = ["Photosynthesis in Dry Climates",c7eActivity,"10&F"]
act["8A"] = ["Asexual and Sexual Life Cycles",c7eActivity,"13&A"]
act["8B"] = ["The Cell Cycle",c7eActivity,"12&B"]
act["8C"] = ["Mitosis and Cytokinesis Animation",c7eActivity,"12&C"]
act["8D"] = ["Mitosis and Cytokinesis Video",c7eActivity,"12&D"]
act["8E"] = ["Causes of Cancer",c7eActivity,"12&E"]
act["8F"] = ["Human Life Cycle",eb1Activity,"07/7E/st01/frame.html"]
act["8G"] = ["Meiosis Animation",c7eActivity,"13&B"]
act["8H"] = ["The Origins of Genetic Variation",c7eActivity,"13&C"]
act["9A"] = ["Monohybrid Cross",c7eActivity,"14&A"]
act["9B"] = ["Dihybrid Cross",c7eActivity,"14&B"]
act["9C"] = ["Gregor's Garden",c7eActivity,"14&C"]
act["9D"] = ["Incomplete Dominance",c7eActivity,"14&D"]
act["9E"] = ["Linked Genes and Crossing Over",c7eActivity,"15&A"]
act["9F"] = ["Sex-Linked Genes",c7eActivity,"15&B"]
act["10A"] = ["The Hershey-Chase Experiment",c7eActivity,"16&A"]
act["10B"] = ["DNA and RNA Structure",c7eActivity,"16&B"]
act["10C"] = ["DNA Double Helix",c7eActivity,"16&C"]
act["10D"] = ["DNA Replication: An Overview",c7eActivity,"16&D"]
act["10E"] = ["Overview of Protein Synthesis",c7eActivity,"17&A"] // and 4
act["10F"] = ["Transcription",c7eActivity,"17&B"]
act["10L"] = ["RNA Processing",c7eActivity,"17&C"]
act["10G"] = ["Translation",cc5Activity,"c6e&17&04&Translation"]
act["10H"] = ["Simplified Viral Reproductive Cycle",c7eActivity,"18&A"]
act["10I"] = ["Phage Lytic Cycle",c7eActivity,"18&B"]
act["10J"] = ["Phage Lysogenic and Lytic Cycles",c7eActivity,"18&C"]
act["10K"] = ["Retrovirus (HIV) Reproductive Cycle",c7eActivity,"18&D"]
act["11A"] = ["The <i>lac</i> Operon in <i>E. coli</i>",c7eActivity,"18&E"]
act["11B"] = ["Overview: Control of Gene Expression",c7eActivity,"19&B"]
act["11C"] = ["Control of Transcription",c7eActivity,"19&C"]
act["11D"] = ["Post-Transcriptional Control Mechanisms",c7eActivity,"19&D"]
act["11E"] = ["Review: Control of Gene Expression",c7eActivity,"19&E"]
act["11F"] = ["Signal Transduction Pathways",c7eActivity,"11&C"] // and 18
act["11G"] = ["Causes of Cancer",c7eActivity,"12&E"]
act["12A"] = ["Applications of DNA Technology",c7eActivity,"20&A"]
act["12B"] = ["Restriction Enzymes",c7eActivity,"20&B"]
act["12C"] = ["Cloning a Gene in Bacteria",c7eActivity,"20&C"]
act["12D"] = ["Gel Electrophoresis of DNA",c7eActivity,"20&D"]
act["12E"] = ["Analyzing DNA Fragments Using Gel Electrophoresis",c7eActivity,"20&E"]
act["12F"] = ["DNA Fingerprinting",c7eActivity,"20&G"]
act["12G"] = ["The Human Genome Project: Genes on Human Chromosome 17",c7eActivity,"20&F"]
act["12H"] = ["Making Decisions About DNA Technology: Golden Rice",c7eActivity,"20&H"] // and 38
act["13A"] = ["The Voyage of the <i>Beagle</i>: Darwin's Trip Around the World",c7eActivity,"22&B"]
act["13B"] = ["Darwin and the Gal&#225;pagos Islands",c7eActivity,"22&A"] // and 1
act["13C"] = ["Reconstructing Forelimbs",c7eActivity,"22&C"]
act["13D"] = ["Genetic Variation from Sexual Recombination",c7eActivity,"23&B"]
act["13E"] = ["Causes of Evolutionary Change",c7eActivity,"23&A"]
act["14A"] = ["Overview of Macroevolution",c7eActivity,"24&A"]
act["14B"] = ["A Scrolling Geologic Record",c7eActivity,"25&A"]
act["14C"] = ["Polyploid Plants",c7eActivity,"15&C"]
act["14D"] = ["Allometric Growth",c7eActivity,"24&B"]
act["14E"] = ["Classification Schemes",c7eActivity,"1&F"] // and 1
act["15A"] = ["The History of Life",c7eActivity,"26&B"]
act["15B"] = ["Classification of Prokaryotes",c7eActivity,"27&B"]
act["15C"] = ["Prokaryotic Cell Structure and Function",c7eActivity,"6&B"]
act["16A"] = ["Terrestrial Adaptations of Plants",c7eActivity,"29&A"]
act["16B"] = ["Highlights of Plant Phylogeny",c7eActivity,"29&B"]
act["16C"] = ["Moss Life Cycle",c7eActivity,"29&C"]
act["16D"] = ["Fern Life Cycle",c7eActivity,"29&D"]
act["16E"] = ["Pine Life Cycle",c7eActivity,"30&A"]
act["16F"] = ["Angiosperm Life Cycle",c7eActivity,"30&B"] // and 38
act["16G"] = ["Madagascar and the Biodiversity Crisis",c7eActivity,"55&A"]
act["16H"] = ["Fungal Reproduction and Nutrition",c7eActivity,"31&A"]
act["17A"] = ["Animal Phylogenetic Tree",c7eActivity,"32&A"]
act["17B"] = ["Characteristics of Invertebrates",c7eActivity,"33&A"]
act["17C"] = ["Characteristics of Chordates",c8eActivity,"34&A"]
act["17D"] = ["Primate Diversity",c7eActivity,"34&B"]
act["17E"] = ["Human Evolution",c7eActivity,"34&C"]
act["18A"] = ["Science, Technology, and Society: DDT",c7eActivity,"1&H"]
act["18B"] = ["Adaptations to Biotic and Abiotic Factors",c7eActivity,"50&B"]
act["18C"] = ["Aquatic Biomes",c7eActivity,"50&C"]
act["18D"] = ["Terrestrial Biomes",c7eActivity,"50&D"]
act["18E"] = ["Water Pollution from Nitrates",c7eActivity,"54&E"]
act["18F"] = ["The Greenhouse Effect",c7eActivity,"54&F"]
act["19A"] = ["Techniques for Estimating Population Density and Size",c7eActivity,"52&A"]
act["19B"] = ["Investigating Survivorship Curves",c7eActivity,"52&B"]
act["19C"] = ["Madagascar and the Biodiversity Crisis",c7eActivity,"55&A"]
act["19D"] = ["Introduced Species: Fire Ants",c7eActivity,"55&B"]
act["19E"] = ["Science, Technology, and Society: DDT",c7eActivity,"1&H"]
act["19F"] = ["Human Population Growth",c7eActivity,"52&C"]
act["19G"] = ["Analyzing Age-Structure Pyramids",c7eActivity,"52&D"]
act["20A"] = ["Introduced Species: Fire Ants",c7eActivity,"55&B"]
act["20B"] = ["Interspecific Interactions",c7eActivity,"53&A"]
act["20C"] = ["Food Webs",c7eActivity,"53&B"]
act["20D"] = ["Primary Succession",c7eActivity,"53&C"]
act["20E"] = ["Exploring Island Biogeography",c7eActivity,"53&D"]
act["20F"] = ["Energy Flow and Chemical Cycling",c7eActivity,"1&B"]
act["20G"] = ["Pyramids of Production",c7eActivity,"54&A"]
act["20H"] = ["The Carbon Cycle",c7eActivity,"54&C"]
act["20I"] = ["The Nitrogen Cycle",c7eActivity,"37&B"] // and 55
act["20J"] = ["Water Pollution from Nitrates",c7eActivity,"54&E"]
act["20K"] = ["Madagascar and the Biodiversity Crisis",c7eActivity,"55&A"]
act["20L"] = ["Conservation Biology Review",c7eActivity,"55&C"]
act["21A"] = ["Correlating Structure and Function of Cells",c6eActivity,"H01/H0104/st01/frame.html"]
act["21B"] = ["The Levels of Life Card Game",c7eActivity,"1&A"]
act["21C"] = ["Overview of Animal Tissues",c7eActivity,"40&A"]
act["21D"] = ["Epithelial Tissue",c7eActivity,"40&B"]
act["21E"] = ["Connective Tissue",c7eActivity,"40&C"]
act["21F"] = ["Muscle Tissue",c7eActivity,"40&E"]
act["21G"] = ["Nervous Tissue",c7eActivity,"40&D"]
act["21H"] = ["Regulation: Negative and Positive Feedback",c7eActivity,"1&E"]
act["21I"] = ["Structure of the Human Excretory System",c7eActivity,"44&A"]
act["21J"] = ["Nephron Function",c7eActivity,"44&B"]
act["21K"] = ["Control of Water Reabsorption",c7eActivity,"44&C"]
act["21L"] = ["Structure of the Human Excretory System",c7eActivity,"44&A"]
act["22A"] = ["How Animals Eat Food",eb2Activity,"K2201/st01/frame.html"]
act["22B"] = ["Digestive System Function",c7eActivity,"41&D"]
act["22C"] = ["Analyzing Food Labels",eb2Activity,"K2203/st01/frame.html"]
act["22D"] = ["Case Studies of Nutritional Disorders",eb2Activity,"K2204/st01/frame.html"]
act["23A"] = ["Path of Blood Flow in Mammals",c7eActivity,"42&B"]
act["23B"] = ["Mammalian Cardiovascular System Structure",c7eActivity,"42&A"]
act["23C"] = ["Mammalian Cardiovascular System Function",c7eActivity,"42&C"]
act["23D"] = ["The Human Respiratory System",c7eActivity,"42&D"]
act["23E"] = ["Transport of Respiratory Gases",c7eActivity,"42&E"]
act["24A"] = ["Immune Responses",c7eActivity,"43&A"]
act["24B"] = ["HIV Reproductive Cycle",c7eActivity,"43&B"]
act["25A"] = ["Overview of Cell Signaling",c7eActivity,"11&A"]
act["25B"] = ["Peptide Hormone Action",c7eActivity,"45&B"]
act["25C"] = ["Steroid Hormone Action",c7eActivity,"45&C"]
act["25D"] = ["Human Endocrine Glands and Hormones",c7eActivity,"45&D"]
act["26A"] = ["Reproductive System of the Human Male",c7eActivity,"46&A"]
act["26B"] = ["Reproductive System of the Human Female",c7eActivity,"46&B"]
act["26C"] = ["Sea Urchin Development",c7eActivity,"47&A"]
act["26D"] = ["Frog Development",c7eActivity,"47&B"]
act["27A"] = ["Neuron Structure",c7eActivity,"48&A"] // and 49
act["27B"] = ["Nerve Signals: Action Potentials",c7eActivity,"48&B"] // and 49
act["27C"] = ["Signal Transmission at a Chemical Synapse",c7eActivity,"48&C"] // and 49
act["27D"] = ["Structure and Function of the Eye",c7eActivity,"49&A"]
act["27E"] = ["Human Skeleton",c7eActivity,"49&B"]
act["27F"] = ["Skeletal Muscle Structure",c7eActivity,"49&C"]
act["27G"] = ["Muscle Contraction",c7eActivity,"49&D"]
act["28A"] = ["Root, Stem, and Leaf Sections",c7eActivity,"35&A"]
act["28B"] = ["Primary and Secondary Growth",c7eActivity,"35&B"]
act["28C"] = ["Angiosperm Life Cycle",c7eActivity,"30&B"] // and 38
act["28D"] = ["Seed and Fruit Development",c7eActivity,"38&B"]
act["29A"] = ["How Plants Obtain Minerals from Soil",c7eActivity,"37&A"]
act["29B"] = ["Transport of Xylem Sap",c7eActivity,"36&A"]
act["29C"] = ["Translocation of Phloem Sap",c7eActivity,"36&B"]
act["29D"] = ["Leaf Abscission",c7eActivity,"39&A"]
act["29E"] = ["Flowering Lab",c7eActivity,"39&B"]

/*
act["1C"] = ["Form Fits Function: Cells",c7eActivity,"1&G"]
act["1D"] = ["Heritable Information: DNA",c7eActivity,"1&D"]
act["1F"] = ["Regulation: Negative and Positive Feedback",c7eActivity,"1&E"] // and 40
act["2E"] = ["Nonpolar and Polar Molecules",c7eActivity,"2&E"]
act["3C"] = ["Dissociation of Water Molecules",c7eActivity,"3&C"]
act["4B"] = ["Isomers",c7eActivity,"4&B"]
act["6D"] = ["Role of the Nucleus and Ribosomes in Protein Synthesis",c7eActivity,"6&E"]
act["6H"] = ["Cell Junctions",c7eActivity,"6&I"]
act["7B"] = ["Selective Permeability of Membranes",c7eActivity,"7&B"]
act["8C"] = ["Chemical Reactions and ATP",c7eActivity,"8&C"]
act["11B"] = ["Reception",c7eActivity,"11&B"]
act["11D"] = ["Cellular Responses",c7eActivity,"11&D"]
act["11E"] = ["Build a Signaling Pathway",c7eActivity,"11&E"]
act["12A"] = ["Roles of Cell Division",c7eActivity,"12&A"]
act["16E"] = ["DNA Replication: A Closer Look",c7eActivity,"16&E"]
act["16F"] = ["DNA Replication: A Review",c7eActivity,"16&F"]
act["16G"] = ["DNA Packing",c7eActivity,"19&A"]
act["18F"] = ["Role of <i>bicoid</i> Gene in <i>Drosophila</i> Development",c7eActivity,"21&B"]
act["28A"] = ["Tentative Phylogeny of Eukaryotes",c7eActivity,"28&A"]
act["31B"] = ["Fungal Life Cycles",c7eActivity,"31&B"]
act["41B"] = ["Case Studies of Nutritional Disorders",c7eActivity,"41&B"]
act["41E"] = ["Hormonal Control of Digestion",c7eActivity,"41&E"]
act["51A"] = ["Honeybee Waggle Dance Video",c7eActivity,"51&A"]
*/

//	listACT (used to list activity links in chapter guides and quizzes/feedback)
function listACT(actID) {
	var grabACT = act[actID];
	var actTitle = grabACT[0];
	var actVolume = grabACT[1];
	var actFolder = grabACT[2];
	document.write("<span style='margin-left:50px;'>Activity: <a href='javascript://;' onclick=\"openACT('" + actVolume + actFolder + "');\">" + actTitle + "</a></span>");
	}

//	list (activity) link in quizzes/feedback
function quizACT(actID) {
	var grabACT = act[actID];
	var actTitle = grabACT[0];
	var actVolume = grabACT[1];
	var actFolder = grabACT[2];
	document.write("(Activity: <a href='javascript://;' onclick=\"openACT('" + actVolume + actFolder + "');\">" + actTitle + "</a>)");
	}

//	list (activity) link in quizzes/feedback
function quizACT2(actID1,actID2) {
	var grabACT1 = act[actID1];
	var grabACT2 = act[actID2];
	var actTitle1 = grabACT1[0];
	var actVolume1 = grabACT1[1];
	var actFolder1 = grabACT1[2];
	var actTitle2 = grabACT2[0];
	var actVolume2 = grabACT2[1];
	var actFolder2 = grabACT2[2];
	document.write("(Activity: <a href='javascript://;' onclick=\"openACT('" + actVolume1 + actFolder1 + "');\">" + actTitle1 + "</a>, Activity: <a href='javascript://;' onclick=\"openACT('" + actVolume2 + actFolder2 + "');\">" + actTitle2 + "</a>)");
	}

//	list (activity) link in quizzes/feedback
function quizACTf(actID) {
	var grabACT = act[actID];
	var actTitle = grabACT[0];
	var actVolume = grabACT[1];
	var actFolder = grabACT[2];
	document.write("Activity: <a href='javascript://;' onclick=\"openACT('" + actVolume + actFolder + "');\">" + actTitle + "</a>.");
	}

function openACT(path) {
	var actWin = window.open(path,'actWin',actString);
	actWin.focus()	}

var actString = 'menubar=0,toolbar=0,location=0,status=0,scrollbars=1,resizable=1,width=800,height=600,screenX=10,screenY=10,left=10,top=10';

//############################################################################
//######################### Process of Science start #########################
//############################################################################

// pos[posID] = title path
var pos = new Array();
pos["01A"] = ["How Do Environmental Changes Affect a Population?","01A"]
pos["01B"] = ["How Does Acid Precipitation Affect Trees?","01B"]
pos["02A"] = ["How Are Space Rocks Analyzed for Signs of Life?","02A"]
pos["02B"] = ["How Does Acid Precipitation Affect Trees?","01B"]
pos["03A"] = ["What Factors Determine the Effectiveness of Drugs?","04A"]
pos["04A"] = ["What Is the Size and Scale of Our World?","06A"]
pos["05A"] = ["How Is the Rate of Enzyme Catalysis Measured?","08A"]
pos["05B"] = ["How Do Salt Concentrations Affect Cells?","05B"]
pos["05C"] = ["How Do Cells Communicate with Each Other?","11A"]
pos["05D"] = ["What Determines if Water Moves Into or Out of a Plant Cell?","49A"]
pos["06A"] = ["How Is the Rate of Cellular Respiration Measured?","09A"]
pos["07A"] = ["How Does Paper Chromatography Separate Plant Pigments?","10A"]
pos["07B"] = ["How Is the Rate of Photosynthesis Measured?","10B"]
pos["08A"] = ["How Much Time Do Cells Spend in Each Phase of Mitosis?","12A"]
pos["08B"] = ["How Can the Frequency of Crossing Over Be Estimated?","08B"]
pos["09B"] = ["What Can Fruit Flies Reveal about Inheritance?","09B"]
pos["10A"] = ["What Is the Correct Model for DNA Replication?","16A"]
pos["10B"] = ["How Is a Metabolic Pathway Analyzed?","10C"]
pos["10C"] = ["How Do You Diagnose a Genetic Disorder?","14A"]
pos["10D"] = ["What Causes Infections in AIDS Patients?","19A"]
pos["10E"] = ["Why Do AIDS Rates Differ Across the U.S.?","19B"]
pos["11A"] = ["How Do You Design a Gene Expression System?","18A"]
pos["12A"] = ["How Can Antibiotic-Resistant Plasmids Transform <i>E. coli</i>?","20A"]
pos["12B"] = ["How Can Gel Electrophoresis Be Used to Analyze DNA?","20B"]
pos["13A"] = ["How Do Environmental Changes Affect a Population?","01A"]
pos["13B"] = ["What Are the Patterns of Antibiotic Resistance?","22A"]
pos["13C"] = ["How Can Frequency of Alleles Be Calculated?","23A"]
pos["14A"] = ["How Do New Species Arise by Genetic Isolation?","24A"]
pos["14B"] = ["How Is Phylogeny Determined By Comparing Proteins?","26A"]
pos["15A"] = ["What Are the Modes of Nutrition in Prokaryotes?","27A"]
pos["15B"] = ["What Kinds of Protists Are Found in Various Habitats?","28A"]
pos["15C"] = ["How Might Conditions on Early Earth Have Created Life?","25A"]
pos["16A"] = ["What Are the Different Stages of a Fern Life Cycle?","29A"]
pos["16B"] = ["How Are Trees Identified by Their Leaves?","30A"]
pos["16C"] = ["How Does the Fungus <i>Pilobolus</i> Succeed as a Decomposer?","31A"]
pos["17A"] = ["How Are Insect Species Identified?","33A"]
pos["17B"] = ["How Does Bone Structure Shed Light on the Origin of Birds?","34A"]
pos["18A"] = ["How Can Sow Bug Responses to Environments Be Tested?","51A"]
pos["18B"] = ["How Do Abiotic Factors Affect Distribution of Organisms?","52A"]
pos["20A"] = ["How Are Impacts on Community Diversity Measured?","54A"]
pos["20B"] = ["How Do Temperature and Light Affect Primary Production?","55A"]
pos["20C"] = ["How Are Potential Restoration Sites Analyzed?","57A"]
pos["21A"] = ["How Does Temperature Affect Metabolic Rate in <i>Daphnia</i>?","40A"]
pos["21B"] = ["What Affects Urine Production?","44A"]
pos["22A"] = ["What Role Does Amylase Play in Digestion?","41A"]
pos["23A"] = ["How is Cardiovascular Fitness Measured?","42A"]
pos["24A"] = ["Why Do AIDS Rates Differ Across the U.S.?","19B"]
pos["24B"] = ["What Causes Infections in AIDS Patients?","19A"]
pos["25A"] = ["How Do Thyroxine and TSH Affect Metabolism?","45A"]
pos["26A"] = ["What Might Obstruct the Male Urethra?","46A"]
pos["26B"] = ["What Determines Cell Differentiation in the Sea Urchin?","47A"]
pos["27A"] = ["What Triggers Nerve Impulses?","48A"]
pos["27B"] = ["How Do Electrical Stimuli Affect Muscle Contraction?","50A"]
pos["28A"] = ["How Are Trees Identified by Their Leaves?","30A"]
pos["28B"] = ["What Are the Functions of Monocot Tissues?","35A"]
pos["28C"] = ["What Tells Desert Seeds When to Germinate?","38A"]
pos["29A"] = ["How Does Acid Precipitation Affect Mineral Deficiency?","37A"]
pos["29B"] = ["How Is the Rate of Transpiration Calculated?","36A"]
pos["29C"] = ["What Plant Hormones Affect Organ Formation?","39A"]

//	listPOS
function listPOS(posID) {
	var grabPOS = pos[posID];
	var POStitle = grabPOS[0];
	var POSfile = grabPOS[1];
	document.write("Process of Science: <a href='javascript://;' onclick=\"openPOS('http://media.pearsoncmg.com/bc/bc_campbell_essentials_4/process_qz/"+POSfile+"/index.html');\">" + POStitle + "</a>");
	}

function openPOS(path) {
	var posWin = window.open(path,'posWin','menubar=0,toolbar=0,location=0,status=0,scrollbars=1,resizable=1,width=1000,height=800,screenX=10,screenY=10,left=10,top=10');
	posWin.focus()
	}

//############################################################################
//############################# MP3 Tutors start #############################
//############################################################################

// mp3[mp3ID] = title
var mp3 = new Array();
mp3["Process"]			= ["The Process of Science", ""]
mp3["Properties"]		= ["The Properties of Water",""]
mp3["Protein"] 			= ["Protein Structure and Function",""]
mp3["Structure"]		= ["DNA Structure",""]
mp3["Organelles"]		= ["Cell Organelles",""]
mp3["Basic"] 			= ["Basic Energy Concepts",""]
mp3["Cell1"] 			= ["Cellular Respiration, Part 1: <em>Glycolysis<\/em>",""]
mp3["Cell2"]			= ["Cellular Respiration, Part 2: <em>Citric Acid Cycle and Electron Transport<\/em>",""]
mp3["Photosynthesis"] 	= ["Photosynthesis",""]
mp3["Mitosis"] 			= ["Mitosis",""]
mp3["Meiosis"] 			= ["Meiosis",""]
mp3["Compare"] 			= ["Comparing Mitosis and Meiosis",""]
mp3["Chromosomal"] 		= ["Chromosomal Basis of Inheritance",""]
mp3["Central"] 			= ["DNA to RNA to Protein",""]
mp3["Regulation"] 		= ["Control of Gene Expression",""]
mp3["Technology"]		= ["DNA Technology",""]
mp3["Natural"]			= ["Natural Selection",""]
mp3["Speciation"] 		= ["Speciation",""]
mp3["Microbial"]		= ["Microbial Life",""] 
mp3["Evolution"]		= ["Evolution of Plants",""] 
mp3["Alternation"]		= ["Alternation of Generations",""]
mp3["Human"] 			= ["Human Evolution",""]
mp3["Hierarchy"]		= ["Ecological Hierarchy",""]
mp3["Trophic"] 			= ["Energy Flow in Ecosystems",""]
mp3["Global"] 			= ["Global Warming",""]
mp3["Animal"]			= ["Animal Structure",""]
mp3["Kidney"]			= ["Kidney Function",""]
mp3["Tour"] 			= ["The Human Digestive System",""]
mp3["Circulatory"]		= ["The Human Circulatory System",""]
mp3["Respiration"]		= ["Human Respiration",""]
mp3["Immune"] 			= ["The Human Immune System",""]
mp3["Homeostasis"]		= ["Homeostasis and the Endocrine System",""] 
mp3["Spermatogenesis"]	= ["Spermatogenesis and Oogenesis",""]
mp3["Female"] 			= ["The Female Reproductive Cycle",""]
mp3["Embryonic"]		= ["Embryonic Development",""]
mp3["Neurons"]			= ["Neurons and Electrical Potentials",""]
mp3["Brain"]			= ["The Human Brain",""] 
mp3["Sensory"]			= ["Sensory Receptors",""] 
mp3["Muscle"]			= ["Muscle",""]
mp3["Flower"] 			= ["From Flower to Fruit",""]
mp3["Transpiration"] 	= ["Transpiration",""]

//	listMP3 (list link with image in chapter guides and feedback)
function listMP3(mp3ID) {
	var grabMP3 = mp3[mp3ID];
	var MP3title = grabMP3[0];
	document.write("<span style='margin-left:50px; display:none;'><img src='http://media.pearsoncmg.com/bc/bc_0global/img/mp3tutor_list.gif' alt='MP3 Tutor icon' border='0' width='16' height='16' align='bottom' /> MP3 Tutor: <a href='javascript://;' onclick=\"openMP3('" + mp3ID + "');\">" + MP3title + "</a></span>");
	}

function quizMP3(mp3ID) {
	var grabMP3 = mp3[mp3ID];
	var MP3title = grabMP3[0];
	document.write("<img src='http://media.pearsoncmg.com/bc/bc_0global/img/mp3tutor_list.gif' alt='MP3 Tutor icon' border='0' width='16' height='16' align='bottom' /> MP3 Tutor: <a href='javascript://;' onclick=\"openMP3q('" + mp3ID + "');\">" + MP3title + "</a>.");
	}

var mp3String = 'menubar=0,toolbar=0,location=0,status=0,scrollbars=1,resizable=1,width=800,height=900,screenX=100,screenY=10,left=100,top=10';

function openMP3(which) {
var path = "http://media.pearsoncmg.com/bc/bc_0media_bio/mp3tutors/h/";
 //codes for different CWs are as follows (add here and in MP3 Tutor scripts.js file [line 41] incrementally as needed):
 //EB3=0, EB4=7
	window.location.href = path+which+".html?7&"+which; 
	window.event.returnValue = false;
	}

function openMP3q(which) {
	var mp3url = "http://media.pearsoncmg.com/bc/bc_0media_bio/mp3tutors/h/";
	var mpp = ".html?7&";
	var mp3Win = window.open(mp3url+which+mpp+which,'mp3Win',mp3String);
	mp3Win.focus()
	}

function tocMP3(mp3ID) {
	var grabMP3 = mp3[mp3ID];
	var MP3title = grabMP3[0];
	document.write("<a href='javascript://;' onclick=\"openMP3('" + mp3ID + "');\" class='eTOC'>" + MP3title + "</a>");
	}

function mp3logo() {
document.write("<img src='http://media.pearsoncmg.com/bc/bc_0global/img/mp3tutor_logo.gif' width='84' height='60' border='0' style='margin:0px 10px 10px 0px;' alt='MP3 Tutors'>");
}

//############################################################################
//############################### Videos start ###############################
//############################################################################

// video[videoID] = title path > 85 total videos
var video = new Array();
video["01"] = ["Seahorse Camouflage","SeaHorses-V.html"] // 01
video["02"] = ["Cytoplasmic Streaming","CytoplasmicStream-V.html"] // 04
video["03"] = ["<i>Paramecium</i> Cilia","ParameciumCilia-V.html"] // 04
video["04"] = ["<i>Paramecium</i> Vacuole","ParameciumVacuole-V.html"] // 04
video["05"] = ["Plasmolysis","Plasmolysis-V.html"] // 05
video["06"] = ["Turgid <i>Elodea</i>","TurgidElodea-V.html"] // 05
video["07"] = ["Animal Mitosis (time-lapse)","AnimalMitosis-V.html"] // 08
video["08"] = ["Hydra Budding","HydraBudding-V.html"] // 08
video["09"] = ["Ultrasound of Human Fetus 1","UltrasoundOfFetus-V.html"] // 09
video["10"] = ["Ultrasound of Human Fetus 2","UltrasoundOfFetus2-V.html"] // 09
video["11"] = ["Biotechnology Lab","BiotechnologyLab-V.html"] // 11
video["12"] = ["Gal&#225;pagos Islands Overview","GalapagosIslands-V.html"] // 13
video["13"] = ["Grand Canyon","GrandCanyon-V.html"] // 13
video["14"] = ["Gal&#225;pagos Marine Iguana","MarineIguana-V.html"] // 13
video["15"] = ["Gal&#225;pagos Sea Lion","SeaLion-V.html"] // 13
video["16"] = ["Gal&#225;pagos Tortoise","Tortoise-V.html"] // 13
video["17"] = ["Lava Flow","LavaFlow-V.html"] // 14
video["18"] = ["Volcanic Eruption","VolcanicEruption-V.html"] // 14
video["19"] = ["Prokaryotic Flagella","ProkaryoticFlagella-V.html"]
video["20"] = ["Cyanobacteria","Cyanobacteria-V.html"] // 15
video["21"] = ["<i>Euglena</i>","Euglena-V.html"] // 15
video["22"] = ["<i>Euglena</i> Motion","EuglenaMotion-V.html"] // 15
video["23"] = ["<i>Stentor</i>","Stentor-V.html"] // 15
video["24"] = ["<i>Stentor</i> Ciliate Movement","StentorCilia-V.html"] // 15
video["25"] = ["<i>Vorticella</i> Cilia","VorticellaCilia-V.html"] // 15
video["26"] = ["<i>Vorticella</i> Detail","VorticellaDetail-V.html"] // 15
video["27"] = ["<i>Vorticella</i> Habitat","VorticellaHabitat-V.html"] // 15
video["28"] = ["Diatoms Moving","DiatomsMoving-V.html"] // 15
video["29"] = ["Various Diatoms","VariousDiatoms-V.html"] // 15
video["30"] = ["Dinoflagellate","Dinoflagellate-V.html"] // 15
video["31"] = ["Amoeba","Amoeba-V.html"] // 15
video["32"] = ["Amoeba Pseudopodia","AmoebaPseudopodia-V.html"] // 15
video["33"] = ["Plasmodial Slime Mold Streaming","SlimeMoldStreaming-V.html"] // 15
video["34"] = ["Plasmodial Slime Mold","SlimeMoldZoom-V.html"] // 15
video["35"] = ["<i>Volvox</i> Colony","VolvoxColony-V.html"] // 15
video["Daughter"] = ["<i>Volvox</i> Daughter","VolvoxDaughter-V.html"] // 15
video["36"] = ["<i>Volvox</i> Flagella","VolvoxFlagella-V.html"] // 15
video["37"] = ["<i>Chlamydomonas</i>","Chlamydomonas-V.html"] // 15
video["38"] = ["Flower Blooming (time-lapse)","FlowerTimeLapse-V.html"] // 16
video["39"] = ["Bat Pollinating Agave Plant","BatPollinating-V.html"] // 16
video["40"] = ["Bee Pollinating","BeePollinating-V.html"] // 16
video["41"] = ["Flowering Plant Life Cycle (time-lapse)","PlantTimeLapse-V.html"] // 16
video["42"] = ["Earthworm Locomotion","EarthwormLocomot-V.html"] // 16
video["43"] = ["<i>Allomyces</i> Zoospore Release","AllomycesSpore-V.html"] // 16
video["44"] = ["<i>Phlyctochytrium</i> Zoospore Release","PhlyctochytriumSpore-V.html"] // 16
video["45"] = ["Water Mold Oogonium","WaterMoldOogonium-V.html"] // 16
video["46"] = ["Water Mold Zoospores","WaterMoldZoospores-V.html"] // 16
video["47"] = ["Flapping Geese","FlappingGeese-V.html"] // 16
video["48"] = ["Soaring Hawk","SoaringHawk-V.html"] // 16
video["49"] = ["Swans Taking Flight","SwansTakeFlight-V.html"] // 16
video["50"] = ["Hydra Eating <i>Daphnia</i> (time-lapse)","HydraEating-V.html"] // 17
video["51"] = ["Thimble Jellies","ThimbleJellies-V.html"] // 17
video["52"] = ["Hydra Releasing Sperm","HydraSperm-V.html"] // 17
video["53"] = ["Jelly Swimming","JellySwimming-V.html"] // 17
video["54"] = ["<i>C. Elegans</i> Crawling","CElegansCrawl-V.html"] // 17
video["55"] = ["<i>C. Elegans</i> Embryo Development (time-lapse)","CElegansEmbryo-V.html"] // 17
video["56"] = ["Nudibranchs","Nudibranchs-V.html"] // 17
video["57"] = ["Lobster Mouth Parts","LobsterMouthParts-V.html"] // 17
video["58"] = ["Butterfly Emerging","ButterflyEmerge-V.html"] // 17
video["59"] = ["Echinoderm Tube Feet","EchinodermTubeFeet-V.html"] // 17
video["60"] = ["Manta Ray","MantaRay-V.html"] // 17
video["61"] = ["Bat Licking Nectar","BatLicking-V.html"] // 17
video["Gibbons"] = ["Gibbons Brachiating","GibbonBrachiating-V.html"] // 17
video["62"] = ["Ducklings","Ducklings-V.html"] // 18
video["63"] = ["Chimp Cracking Nut","ChimpCrackNut-V.html"] // 18
video["64"] = ["Chimp Agonistic Behavior","ChimpAgonistic-V.html"] // 18
video["65"] = ["Snake Ritual Wrestling","SnakeWrestle-V.html"] // 18
video["66"] = ["Wolves Agonistic Behavior","WolvesAgonistic-V.html"] // 18
video["67"] = ["Albatross Courtship Ritual","AlbatrossCourtship-V.html"] // 18
video["68"] = ["Blue-footed Boobies Courtship Ritual","BoobiesCourtship-V.html"] // 18
video["69"] = ["Giraffe Courtship Ritual","GiraffeCourtship-V.html"] // 18
video["70"] = ["Coral Reef","CoralReef-V.html"] // 19
video["71"] = ["Clownfish and Anemone","ClownfishAnemone-V.html"] // 19
video["72"] = ["Hydrothermal Vent","HydrothermalVent-V.html"] // 19
video["73"] = ["Tubeworms","Tubeworms-V.html"] // 19
video["74"] = ["Shark Eating a Seal","SharkEatSeal-V.html"] // 22
video["75"] = ["T Cell Receptors","TCellReceptors-V.html"] // 24
video["76"] = ["Frog Embryo Development","FrogDevelop-V.html"] // 26
video["77"] = ["Rotifer","Rotifer-V.html"] // 26
video["78"] = ["Sea Urchin Embryonic Development (time-lapse)","SeaUrchinTimeLapse-V.html"] // 26
video["79"] = ["Root Growth in a Radish Seed (time-lapse)","RootGrowth-V.html"] // 28
video["80"] = ["Phototropism","Phototropism-V.html"] // 29
video["81"] = ["Gravitropism","Gravitropism-V.html"] // 29
video["82"] = ["<i>Mimosa</i> Leaf","MimosaLeaf-V.html"] // 29
video["83"] = ["Sun Dew Trapping Prey","SunDewTrapPrey-V.html"] // 29

var VIDEOS = 'http://media.pearsoncmg.com/bc/bc_campbell_essentials_3/videos/';
var videoString = 'menubar=0,toolbar=0,location=0,status=0,scrollbars=1,resizable=1,width=600,height=360,screenX=100,screenY=100,left=100,top=100';

//	listVIDEO (list link with image in chapter guides and feedback)
function listVIDEO(videoID) {
	var grabVIDEO = video[videoID];
	var VIDEOtitle = grabVIDEO[0];
	var VIDEOfile = grabVIDEO[1];
	document.write("Video: <a href='javascript://;' onclick=\"openVIDEO('" + VIDEOS + VIDEOfile + "');\">" + VIDEOtitle + "</a>");
	}

function openVIDEO(path) {
	var videoWin = window.open(path,'videoWin',videoString);
	videoWin.focus()	}

//############################################################################
//############################## GraphIt! start ##############################
//############################################################################

var MLgraph = '/wps/media/objects/8139/8335155/graphit/';
var graphString = 'menubar=0,toolbar=0,location=0,status=0,scrollbars=0,resizable=1,width=800,height=850,screenX=10,screenY=10,left=10,top=10';

// graph[graphID] = title path
var graph = new Array();
graph["Intro"] 			= ["An Introduction to Graphing","intro.html"] // 
graph["Age"] 			= ["Age Pyramids and Population Growth","age.html"] // 
graph["Species"] 		= ["Species Area Effect and Island Biogeography","species.html"] // 
graph["Animal"] 		= ["Animal Food Production Efficiency and Food Policy","animal.html"] // 
graph["Atmospheric"]	= ["Atmospheric CO<sub>2</sub> and Temperature Changes","atmospheric.html"] // 
graph["Fisheries"] 		= ["Global Fisheries and Overfishing","fisheries.html"] // 
graph["Municipal"] 		= ["Municipal Solid Waste Trends in the U.S.","municipal.html"] // 
graph["Forestation"] 	= ["Forestation Change","forestation.html"] // 
graph["Freshwater"] 	= ["Global Fresh Water Resources","freshwater.html"] // 
graph["Prospects"] 		= ["Prospects for Renewable Energy","prospects.html"] // 
graph["Soil"] 			= ["Global Soil Degradation","soil.html"] // 
	
function openGRAPH(path) {
	var graphWin = window.open(path,'graphWin',graphString);
	graphWin.focus()	}

function listGRAPH(graphID) {
	var grabGRAPH = graph[graphID];
	var GRAPHtitle = grabGRAPH[0];
	var GRAPHfile = grabGRAPH[1];
	document.write("GraphIt!: <a href='javascript://;' onclick=\"openGRAPH('" + MLgraph + GRAPHfile + "');\">" + GRAPHtitle + "</a>");
	}
	
function tocGRAPH(graphID) {
	var grabGRAPH = graph[graphID];
	var GRAPHtitle = grabGRAPH[0];
	var GRAPHfile = grabGRAPH[1];
	document.write("<a href='javascript://;' onclick=\"openGRAPH('" + MLgraph + GRAPHfile + "');\"  class='eTOC'>" + GRAPHtitle + "</a>");
	}

//############################################################################
//######################## Biology Labs On-Line start ########################
//############################################################################

var BLOLurl = 'http://www.biologylabsonline.com/protected/';

// blol[blolID] = title path
var blol = new Array();
blol["hemoglobin"]	= ["HemoglobinLab","HemoglobinLab"] //
blol["enzyme"]	= ["EnzymeLab","EnzymeLab"] //
blol["mitochondria"]	= ["MitochondriaLab","MitochondriaLab"] //
blol["leaf"]	= ["LeafLab","LeafLab"] //
blol["fly"]	= ["FlyLab","FlyLab"] //
blol["translation"]	= ["TranslationLab","TranslationLab"] //
blol["pedigree"]	= ["PedigreeLab","PedigreeLab"] //
blol["evolution"]	= ["EvolutionLab","EvolutionLab"] //
blol["popgenetics"]	= ["PopulationGeneticsLab","PopGenLab"] //
blol["cardio"]	= ["CardioLab","CardioLab"] //
blol["popecology"]	= ["PopulationEcologyLab","PopEcoLab"] //
blol["demography"]	= ["DemographyLab","DemographyLab"] //
	
function openBLOL(path) {
	var blolWin = window.open(path,'blolWin');
	blolWin.focus()	}

function listBLOL(blolID) {
	var grabBLOL = blol[blolID];
	var BLOLtitle = grabBLOL[0];
	var BLOLfile = grabBLOL[1];
	document.write("Biology Labs On-Line: <a href='javascript://;' onclick=\"openBLOL('" + BLOLurl + BLOLfile + "');\">" + BLOLtitle + "</a>");
	}
	
function tocBLOL(blolID) {
	var grabBLOL = blol[blolID];
	var BLOLtitle = grabBLOL[0];
	var BLOLfile = grabBLOL[1];
	document.write("<a href='javascript://;' onclick=\"openBLOL('" + BLOLurl + BLOLfile + "');\"  class='eTOC'>" + BLOLtitle + "</a>");
	}

//############################################################################
//####################### Instructor Rescources start ########################
//############################################################################

var urlIR = "http://media.pearsoncmg.com/bc/bc_campbell_essentials_4/ir/";

function irPPTLP(chap) { document.write("<IMG SRC='http://media.pearsoncmg.com/bc/bc_0global/img/zip.gif' style='margin-right:15px;'> <a href='javascript://;' onclick=\"window.open('"+urlIR+chap+"_Lecture_Presentation.zip','','')\">Lecture Presentations</A>"); }
function irPPTAP(chap) { document.write("<IMG SRC='http://media.pearsoncmg.com/bc/bc_0global/img/zip.gif' style='margin-right:15px;'> <a href='javascript://;' onclick=\"window.open('"+urlIR+chap+"_Art_and_Photos_PPT.zip','','')\">Art and Photos</A>"); }
function irPPTAL(chap) { document.write("<IMG SRC='http://media.pearsoncmg.com/bc/bc_0global/img/zip.gif' style='margin-right:15px;'> <a href='javascript://;' onclick=\"window.open('"+urlIR+chap+"_Active_Lecture_Questions.zip','','')\">Active Lecture Questions</A>"); }
function irPPTCI(chap) { document.write("<IMG SRC='http://media.pearsoncmg.com/bc/bc_0global/img/zip.gif' style='margin-right:15px;'> <a href='javascript://;' onclick=\"window.open('"+urlIR+chap+"_Current_Issues.zip','','')\">Current Issues</A>"); }

function irJPGLA(chap) { document.write("<IMG SRC='http://media.pearsoncmg.com/bc/bc_0global/img/zip.gif' style='margin-right:15px;'> <a href='javascript://;' onclick=\"window.open('"+urlIR+chap+"_Labeled_Art_and_Photos.zip','','')\">Labeled Art and Photos</A>"); }
function irJPGUN(chap) { document.write("<IMG SRC='http://media.pearsoncmg.com/bc/bc_0global/img/zip.gif' style='margin-right:15px;'> <a href='javascript://;' onclick=\"window.open('"+urlIR+chap+"_Unlabeled_Art_and_Photos.zip','','')\">Unlabeled Art and Photos</A>"); }

function irANIBF(chap) { document.write("<IMG SRC='http://media.pearsoncmg.com/bc/bc_0global/img/zip.gif' style='margin-right:15px;'> <a href='javascript://;' onclick=\"window.open('"+urlIR+chap+"_BioFlix_Animations.zip','','')\">BioFlix Animations</A>"); }
function irANIAN(chap) { document.write("<IMG SRC='http://media.pearsoncmg.com/bc/bc_0global/img/zip.gif' style='margin-right:15px;'> <a href='javascript://;' onclick=\"window.open('"+urlIR+chap+"_Animations.zip','','')\">Animations</A>"); }
function irANIDV(chap) { document.write("<IMG SRC='http://media.pearsoncmg.com/bc/bc_0global/img/zip.gif' style='margin-right:15px;'> <a href='javascript://;' onclick=\"window.open('"+urlIR+chap+"_Discovery_Videos.zip','','')\">Discovery Videos</A>"); }
function irANIEX(chap) { document.write("<IMG SRC='http://media.pearsoncmg.com/bc/bc_0global/img/zip.gif' style='margin-right:15px;'> <a href='javascript://;' onclick=\"window.open('"+urlIR+chap+"_Extra_Animations.zip','','')\">Extra Animations</A>"); }

function irGUI(title,file,type) { document.write("<IMG SRC='http://media.pearsoncmg.com/bc/bc_0global/img/"+type+".gif' style='margin-right:15px;'> <a href='javascript://;' onclick=\"window.open('"+urlIR+file+"','','')\">"+title+"</a>"); 	}
function irGUIIG(chap) { document.write("<IMG SRC='http://media.pearsoncmg.com/bc/bc_0global/img/doc.gif' style='margin-right:15px;'> <a href='javascript://;' onclick=\"window.open('"+urlIR+"EB4_IG_C"+chap+".doc','','')\">Instructor Guide</A>"); }
