// Below are the roll over image functions

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;
	if (showdescriptions) {
 	  changetext(content[0]);
	}
}

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.0
  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 && document.getElementById) x=document.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];}
	if (showdescriptions) {
 		changetext(content[a[0]]);
	}
}

function popWindow(theURL,winName,features) { // v2.0
  window.open(theURL,winName,features);
}

function popWindow(theURL,winName,features) { // v2.0
  window.open(theURL,winName,features);
}

// Preload the roll over images for faster initial response.

MM_preloadImages('images/lm_minil_b.gif','images/lm_concq_b.gif','images/lm_intet_b.gif','images/lm_pracq_b.gif','images/lm_faque_b.gif','images/lm_crosp_b.gif','images/lm_gloss_b.gif','images/lm_subsn_b.gif')

// Below are the left hand menu sections.

function left_menu() {
document.write(""+

"<table bgcolor=\"#ffffff\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"188\">"+

"	<tr>"+

"		<td><img src=\"images/lm_top.gif\" border=\"0\" width=\"188\" height=\"32\"></td>"+

"	</tr>"+

"	<tr>"+

"		<td><a href=minilectures.htm onMouseOut=\"MM_swapImgRestore('minil')\"  onMouseOver=\"MM_swapImage('minil','','images/lm_minil_b.gif',1)\" ><img name=\"minil\" src=\"images/lm_minil_k.gif\" alt=\"Mini Lectures\" border=\"0\" width=\"188\" height=\"18\"></a></td>"+

"	</tr>"+

"	<tr>"+

"		<td><a href=conceptual.htm onMouseOut=\"MM_swapImgRestore('concq')\"  onMouseOver=\"MM_swapImage('concq','','images/lm_concq_b.gif',1)\" ><img name=\"concq\" src=\"images/lm_concq_k.gif\" alt=\"Conceptual Quizzes\" border=\"0\" width=\"188\" height=\"18\"></a></td>"+

"	</tr>"+

"	<tr>"+

"		<td><a href=tutorials.htm  onMouseOut=\"MM_swapImgRestore('intet')\"  onMouseOver=\"MM_swapImage('intet','','images/lm_intet_b.gif',1)\" ><img name=\"intet\" src=\"images/lm_intet_k.gif\" alt=\"Interactive Tutorials\" border=\"0\" width=\"188\" height=\"18\"></a></td>"+

"	</tr>"+

"	<tr>"+

"		<td><a href=practice_quizzes.htm  onMouseOut=\"MM_swapImgRestore('pracq')\"  onMouseOver=\"MM_swapImage('pracq','','images/lm_pracq_b.gif',1)\" ><img name=\"pracq\" src=\"images/lm_pracq_k.gif\" alt=\"Practice Quizzes\" border=\"0\" width=\"188\" height=\"18\"></a></td>"+

"	</tr>"+

"	<tr>"+

"		<td><a href=faqs.htm onMouseOut=\"MM_swapImgRestore('faque')\"  onMouseOver=\"MM_swapImage('faque','','images/lm_faque_b.gif',1)\" ><img name=\"faque\" src=\"images/lm_faque_k.gif\" alt=\"FAQs\" border=\"0\" width=\"188\" height=\"18\"></a></td>"+

"	</tr>"+

"	<tr>"+

"		<td><a href=crosswords.htm onMouseOut=\"MM_swapImgRestore('crosp')\"  onMouseOver=\"MM_swapImage('crosp','','images/lm_crosp_b.gif',1)\" ><img name=\"crosp\" src=\"images/lm_crosp_k.gif\" alt=\"Crossword Puzzles\" border=\"0\" width=\"188\" height=\"18\"></a></td>"+

"	</tr>"+

"	<tr>"+

"		<td><img src=\"images/lm_space.gif\" border=\"0\" width=\"188\" height=\"18\"></td>"+

"	</tr>"+

"	<tr>"+

"		<td><a href=#  onClick=\"popWindow('glossary.htm','glossary','toolbar=no,location=no,status=no,menubar=no,resizable=yes,scrollbars=yes,width=673,height=473')\" onMouseOut=\"MM_swapImgRestore('gloss')\"  onMouseOver=\"MM_swapImage('gloss','','images/lm_gloss_b.gif',1)\" ><img name=\"gloss\" src=\"images/lm_gloss_k.gif\" alt=\"Glossary\" border=\"0\" width=\"188\" height=\"18\"></a></td>"+

"	</tr>"+

"	<tr>"+

"		<td><a href=news.htm onMouseOut=\"MM_swapImgRestore('subsn')\"  onMouseOver=\"MM_swapImage('subsn','','images/lm_subsn_b.gif',1)\" ><img name=\"subsn\" src=\"images/lm_subsn_k.gif\" alt=\"News\" border=\"0\" width=\"188\" height=\"30\"></a></td>"+

"	</tr>"+

"	<tr>"+

"		<td><a href=index.htm onMouseOut=\"MM_swapImgRestore('home')\"  onMouseOver=\"MM_swapImage('home','','images/lm_home_b.gif',1)\" ><img name=\"home\" src=\"images/lm_home_k.gif\" alt=\"Return To Home Page\" border=\"0\" width=\"188\" height=\"18\"></a></td>"+

"	</tr>"+

"	<tr>"+

"		<td><img src=\"images/lm_bottom.gif\" border=\"0\" width=\"188\" height=\"83\"></td>"+

"	</tr>"+

"</table>")
}


var content=new Array()
//change the array below to the text associated with your links Expand or contract the array, depending on how many links you have
content[0]      ='Welcome to the <br><b>Economics, Third Edition</b> <BR>Student Website.<BR><BR>This site makes use of &nbsp;<a href="http://www.macromedia.com/software/flash/" target="_blank" class="bnorm">Macromedia<sup>&reg;</sup>Flash<sup>TM</sup></a> software. We recommend Flash 6 or higher.<br><br><b>Contact:</b> Cliff Landesman,  <a href=mailto:clandesman@wwnorton.com>clandesman@wwnorton.com</a><br><br><b>Credits:</b> Copyright 2002-2003, W. W. Norton & Company'
content['minil']='<p><br><br><br><br><b>Mini Lectures</b> review the main ideas covered in each chapter, using graphs, pictures and audio. Many of the graphs are carefully animated to enhance comprehension of the mini lecture. Each lecture lasts about four minutes.</p>'
content['concq']='<p><br><br><br><br><b>Conceptual Quizzes</b> give you a mental workout on the most important ideas in each chapter of the book.  These are quizzes with attitude. They argue with you as you as you think about provocative questions and choose among answers.</p>'
content['intet']='<p><br><br><br><br><b>Interactive Tutorials</b> guide you through a sequence of analytical applications of the most important principles in the textbook.  By working through these tutorials you will strengthen not only your understanding of economic principles, but also your ability to solve economic problems.</p>'
content['pracq']='<p><br><br><br><br><b>Practice Quizzes</b> are for self testing your understanding of the chapter content. The questions are straightforward and direct.</p>'
content['faque']='<p><br><br><br><br><b>Frequently Asked Questions</b> elucidate the points that most often perplex a student when first encountering college level economics.</p>'
content['crosp']='<p><br><br><br><br><b>Crossword Puzzles</b> are a fun way to test your knowledge of the key terms.</p>'
content['subsn']='<p><br><br><br><br>Subscribe to the <b>Norton Economics News Service</b> and receive email messages alerting you to relevant stories with brief commentary relating the stories to the chapters in the textbook.</p>'
content['gloss']='<p><br><br><br><br>Find definitions of key terms in the <b>Glossary</b></p>'
content['home'] ='<p><br><br><br><br>Return to <b>Home Page</b></p>'

function regenerate(){
window.location.reload()
}
function regenerate2(){
if (document.layers){
appear()
setTimeout("window.onresize=regenerate",450)
}
}

function changetext(whichcontent){

if (document.all||document.getElementById){
cross_el=document.getElementById? document.getElementById("descriptions"):document.all.descriptions
  if (content[0]=='') {
  	content[0] = cross_el.innerHTML;
  }
cross_el.innerHTML=whichcontent
}
else if (document.layers){
document.d1.document.d2.document.write(whichcontent)
document.d1.document.d2.document.close()
}

}

function appear(){
document.d1.visibility='show'
}

window.onload = regenerate2;


