function newImage(arg) {
  if (document.images) {
    rslt = new Image();
    rslt.src = arg;
    return rslt;
  }
} 
function changeImages() {
  if (document.images && (preloadFlag == true)) {
    for (var i=0; i<changeImages.arguments.length; i+=2) {
      document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
    }
  }
} 
var preloadFlag = false;
function preloadImages() {
  if (document.images) {
	  bot_cover_roll = newImage("bot_cover_roll.gif");
	  bot_hot_roll = newImage("bot_hot_roll.gif");
	  bot_forge_roll = newImage("bot_forge_roll.gif");
	  bot_follow_roll = newImage("bot_follow_roll.gif");
	  bot_faculty_roll = newImage("bot_faculty_roll.gif");
	  bot_research_roll = newImage("bot_research_roll.gif");
	  bot_invent_roll = newImage("bot_invent_roll.gif");
	  bot_upcoming_roll = newImage("bot_upcoming_roll.gif");
	  bot_pdf_roll = newImage("bot_pdf_roll.gif");
	  bot_url_roll = newImage("bot_url_roll.gif");
	  bot_prev2_roll = newImage("bot_prev_roll.gif");
	  bot_next2_roll = newImage("bot_next_roll.gif");
	  bot_prev_roll = newImage("bot_prev_roll.gif");
	  bot_next_roll = newImage("bot_next_roll.gif");
	  
	  bot_followsub_roll = newImage("bot_followsub_roll.gif");
	  bot_irc_roll = newImage("bot_irc_roll.gif");
	  bot_ccmc_roll = newImage("bot_ccmc_roll.gif");
	  bot_weec_roll = newImage("bot_weec_roll.gif");
	  bot_nanocom_roll = newImage("bot_nanocom_roll.gif");
	  bot_summit_roll = newImage("bot_summit_roll.gif");
      preloadFlag = true;
  }
} 

function nextPageOver1()
	{
	document.nextpage1.src ="http://www.research.psu.edu/iro/theiron/images/page_forward_small_roll.gif"
	}
function nextPageOut1()
	{
	document.nextpage1.src ="http://www.research.psu.edu/iro/theiron/images/page_forward_small.gif"
	}
function previousPageOver1()
	{
	document.previouspage1.src ="http://www.research.psu.edu/iro/theiron/images/page_backward_small_roll.gif"
	}
function previousPageOut1()
	{
	document.previouspage1.src ="http://www.research.psu.edu/iro/theiron/images/page_backward_small.gif"
	}
function tableContentsOver1()
	{
	document.tablecontents1.src ="http://www.research.psu.edu/iro/theiron/images/tablecontents_roll.gif"
	}
function tableContentsOut1()
	{
	document.tablecontents1.src ="http://www.research.psu.edu/iro/theiron/images/tablecontents.gif"
	}
	

function nextPageOver()
	{
	document.nextpage.src ="http://www.research.psu.edu/iro/theiron/images/page_forward_small_roll.gif"
	}
function nextPageOut()
	{
	document.nextpage.src ="http://www.research.psu.edu/iro/theiron/images/page_forward_small.gif"
	}
function previousPageOver()
	{
	document.previouspage.src ="http://www.research.psu.edu/iro/theiron/images/page_backward_small_roll.gif"
	}
function previousPageOut()
	{
	document.previouspage.src ="http://www.research.psu.edu/iro/theiron/images/page_backward_small.gif"
	}
	
function tableContentsOver()
	{
	document.tablecontents.src ="http://www.research.psu.edu/iro/theiron/images/tablecontents_roll.gif"
	}
function tableContentsOut()
	{
	document.tablecontents.src ="http://www.research.psu.edu/iro/theiron/images/tablecontents.gif"
	}
