function dw_loadExternal(url, ifrmId, divId, bLoadMsg)
{
  ifrmId = ifrmId || 'buffer'; divId = divId || 'display'; 
  if ( window.frames[ifrmId] )
  {
    window.frames[ifrmId].location = url;
    var lyr = document.getElementById? document.getElementById(divId): null;
    if ( lyr && bLoadMsg )
    { 
      lyr.innerHTML = '<p>Retrieving data. Please wait ...</p>';
      lyr.style.display = 'block'; 
    }
    return false;
  } 
  return true;
}

function dw_displayExternal(ifrmId, divId, fp)
{
  ifrmId = ifrmId || 'buffer'; divId = divId || 'display';   
  var lyr = document.getElementById? document.getElementById(divId): null;
  if ( window.frames[ifrmId] && lyr )
  {
    lyr.innerHTML = window.frames[ifrmId].document.body.innerHTML;
    lyr.style.display = 'block'; 
    if ( typeof fp == 'function' )
	{
      fp();
    }
    if ( typeof window.frames[ifrmId].doOnIframedLoad == 'function' )
	{
      window.frames[ifrmId].doOnIframedLoad();
    }
  }
}

function aboutclick()
{
  document.getElementById('abouttable').style.display = 'block';
  document.getElementById('newslettertable').style.display = 'none';
  document.getElementById('linkstable').style.display = 'none';
  document.getElementById('awardstable').style.display = 'none';
  document.getElementById('downloadstable').style.display = 'none';
  document.getElementById('photogallerytable').style.display = 'none';
  document.getElementById('conferencetable').style.display = 'none';
  document.getElementById('historybartable').style.display = 'none';
}

function newsletterclick()
{
  document.getElementById('abouttable').style.display = 'none';
  document.getElementById('newslettertable').style.display = 'block';
  document.getElementById('linkstable').style.display = 'none';
  document.getElementById('awardstable').style.display = 'none';
  document.getElementById('downloadstable').style.display = 'none';
  document.getElementById('photogallerytable').style.display = 'none';
  document.getElementById('conferencetable').style.display = 'none';
  document.getElementById('historybartable').style.display = 'none';
}

function linksclick()
{
  document.getElementById('abouttable').style.display = 'none';
  document.getElementById('newslettertable').style.display = 'none';
  document.getElementById('linkstable').style.display = 'block';
  document.getElementById('awardstable').style.display = 'none';
  document.getElementById('downloadstable').style.display = 'none';
  document.getElementById('photogallerytable').style.display = 'none';
  document.getElementById('conferencetable').style.display = 'none';
  document.getElementById('historybartable').style.display = 'none';
}

function awardsclick()
{
  document.getElementById('abouttable').style.display = 'none';
  document.getElementById('newslettertable').style.display = 'none';
  document.getElementById('linkstable').style.display = 'none';
  document.getElementById('awardstable').style.display = 'block';
  document.getElementById('downloadstable').style.display = 'none';
  document.getElementById('photogallerytable').style.display = 'none';
  document.getElementById('conferencetable').style.display = 'none';
  document.getElementById('historybartable').style.display = 'none';
}

function downloadsclick()
{
  document.getElementById('abouttable').style.display = 'none';
  document.getElementById('newslettertable').style.display = 'none';
  document.getElementById('linkstable').style.display = 'none';
  document.getElementById('awardstable').style.display = 'none';
  document.getElementById('downloadstable').style.display = 'block';
  document.getElementById('photogallerytable').style.display = 'none';
  document.getElementById('conferencetable').style.display = 'none';
  document.getElementById('historybartable').style.display = 'none';
}

function photogalleryclick()
{
  document.getElementById('abouttable').style.display = 'none';
  document.getElementById('newslettertable').style.display = 'none';
  document.getElementById('linkstable').style.display = 'none';
  document.getElementById('awardstable').style.display = 'none';
  document.getElementById('downloadstable').style.display = 'none';
  document.getElementById('photogallerytable').style.display = 'block';
  document.getElementById('conferencetable').style.display = 'none';
  document.getElementById('historybartable').style.display = 'none';
}

function conferenceclick()
{
  document.getElementById('abouttable').style.display = 'none';
  document.getElementById('newslettertable').style.display = 'none';
  document.getElementById('linkstable').style.display = 'none';
  document.getElementById('awardstable').style.display = 'none';
  document.getElementById('downloadstable').style.display = 'none';
  document.getElementById('photogallerytable').style.display = 'none';
  document.getElementById('conferencetable').style.display = 'block';
  document.getElementById('historybartable').style.display = 'none';
}

function historybarclick()
{
  document.getElementById('abouttable').style.display = 'none';
  document.getElementById('newslettertable').style.display = 'none';
  document.getElementById('linkstable').style.display = 'none';
  document.getElementById('awardstable').style.display = 'none';
  document.getElementById('downloadstable').style.display = 'none';
  document.getElementById('photogallerytable').style.display = 'none';
  document.getElementById('conferencetable').style.display = 'none';
  document.getElementById('historybartable').style.display = 'block';
}

function loadnewpage(url)
{
  window.open(url, '_blank'); 
}

function checkbutton(tag)
{
  if (tag == "ABOUT")
  {
	aboutclick();
  }
  else if (tag == "NEWSLETTER")
  {
	newsletterclick();
  }
  else if (tag == "LINKS")
  {
	linksclick();
  }
  else if (tag == "AWARDS")
  {
	awardsclick();
  }
  else if (tag == "DOWNLOADS")
  {
	downloadsclick();
  }
  else if (tag == "PHOTO GALLERY")
  {
	photogalleryclick();
  }
  else if (tag == "23rd CONFERENCE")
  {
	conferenceclick();
  }
  else
  {
	alert("Server Error: Please cotact your webmaster.");
  }
}

function cleararrows()
{
  document.getElementById('missionarrow').style.display = 'none';
  document.getElementById('historyarrow').style.display = 'none';
  document.getElementById('awardsarrow').style.display = 'none';
  document.getElementById('pastconferencesarrow').style.display = 'none';
  document.getElementById('orcsofficersarrow').style.display = 'none';
  document.getElementById('abouthomearrow').style.display = 'none';
  document.getElementById('volume11arrow').style.display = 'none';
  document.getElementById('volume12arrow').style.display = 'none';
  document.getElementById('volume21arrow').style.display = 'none';
  document.getElementById('newsletterhomearrow').style.display = 'none';
  document.getElementById('rylanderawardarrow').style.display = 'none';
  document.getElementById('raneyawardarrow').style.display = 'none';
  document.getElementById('russellmalzawardarrow').style.display = 'none';
  document.getElementById('pastawardwinnersarrow').style.display = 'none';
  document.getElementById('awardshomearrow').style.display = 'none';
  document.getElementById('downloadshomearrow').style.display = 'none';
  document.getElementById('photogalleryhomearrow').style.display = 'none';
<!--  document.getElementById('23rdconferencehomearrow').style.display = 'none';
  document.getElementById('linkshomearrow').style.display = 'none';
  document.getElementById('meetinghistoryhomearrow').style.display = 'none';
  document.getElementById('orcssurveyarrow').style.display = 'none';
<!--  document.getElementById('generalinformationarrow').style.display = 'none';
<!--  document.getElementById('importantdeadlinesarrow').style.display = 'none';
<!--  document.getElementById('meetingregistrationarrow').style.display = 'none';
<!--  document.getElementById('hotelreservationarrow').style.display = 'none';
  document.getElementById('scientificprogramarrow').style.display = 'none';
<!--  document.getElementById('abstractformatarrow').style.display = 'none';
<!--  document.getElementById('papersubmissionformarrow').style.display = 'none';
  document.getElementById('sponsorsexhibitorsarrow').style.display = 'none';
<!--  document.getElementById('sponsorsexhibitorsarrow2').style.display = 'none';
<!--  document.getElementById('studentandforeigntravelarrow').style.display = 'none';
  document.getElementById('hydrogenationtutorialarrow').style.display = 'none';
}

function showarrow(element)
{
  if (element == "content/missionpage.htm")
  {
	document.getElementById('missionarrow').style.display = 'block';
  }
  else if (element == "content/hydrogenationtutorial.htm")
  {
	document.getElementById('hydrogenationtutorialarrow').style.display = 'block';
  }
  else if (element == "content/studentandforeigntravel.htm")
  {
	document.getElementById('studentandforeigntravelarrow').style.display = 'block';
  }
  else if (element == "content/historypage.htm")
  {
	document.getElementById('historyarrow').style.display = 'block';
  }
  else if (element == "content/awardspage.htm")
  {
	document.getElementById('awardsarrow').style.display = 'block';
  }
  else if (element == "content/pastconferencespage.htm")
  {
	document.getElementById('pastconferencesarrow').style.display = 'block';
  }
  else if (element == "content/orcsofficerspage.htm")
  {
    document.getElementById('orcsofficersarrow').style.display = 'block';
  }
  else if (element == "comingsoonpages/surveycomingsoonpage.htm")
  {
	document.getElementById('orcssurveyarrow').style.display = 'block';
  }
  else if (element == "content/abouthome.htm")
  {
	document.getElementById('abouthomearrow').style.display = 'block';
  }
  else if (element == "content/newsletterhome.htm")
  {
	document.getElementById('newsletterhomearrow').style.display = 'block';
  }
  else if (element == "content/volume21comingsoonpage.htm")
  {
	document.getElementById('volume21arrow').style.display = 'block';
  }
  else if (element == "content/linkshome.htm")
  {
	document.getElementById('linkshomearrow').style.display = 'block';
  }
  else if (element == "content/rylanderpage.htm")
  {
	document.getElementById('rylanderawardarrow').style.display = 'block';
  }
  else if (element == "content/raneypage.htm")
  {
	document.getElementById('raneyawardarrow').style.display = 'block';
  }
  else if (element == "content/russellmalzpage.htm")
  {
	document.getElementById('russellmalzawardarrow').style.display = 'block';
  }
  else if (element == "content/pastawardspage.htm")
  {
	document.getElementById('pastawardwinnersarrow').style.display = 'block';
  }
  else if (element == "content/awardshome.htm")
  {
	document.getElementById('awardshomearrow').style.display = 'block';
  }
  else if (element == "content/downloadshome.htm")
  {
	document.getElementById('downloadshomearrow').style.display = 'block';
  }
  else if (element == "content/photogalleryhome.htm")
  {
	document.getElementById('photogalleryhomearrow').style.display = 'block';
  }
  else if (element == "content/23rdconferencehome.htm")
  {
	document.getElementById('23rdconferencehomearrow').style.display = 'block';
  }
  else if (element == "content/generalinformationpage.htm")
  {
	document.getElementById('generalinformationarrow').style.display = 'block';
  }
  else if (element == "content/importantdeadlinespage.htm")
  {
	document.getElementById('importantdeadlinesarrow').style.display = 'block';
  }
  else if (element == "content/meetingregistrationpage.htm")
  {
	document.getElementById('meetingregistrationarrow').style.display = 'block';
  }
  else if (element == "content/hotelreservationpage.htm")
  {
	document.getElementById('hotelreservationarrow').style.display = 'block';
  }
  else if (element == "content/scientificprogrampage.htm")
  {
	document.getElementById('scientificprogramarrow').style.display = 'block';
  }
  else if (element == "content/abstractformatpage.htm")
  {
	document.getElementById('abstractformatarrow').style.display = 'block';
  }
  else if (element == "content/papersubmissionformpage.htm")
  {
	document.getElementById('papersubmissionformarrow').style.display = 'block';
  }
  else if (element == "content/meetinghistoryhome.htm")
  {
	document.getElementById('meetinghistoryhomearrow').style.display = 'block';
  }
  else if (element == "content/sponsorsexhibitorspage.htm")
  {
	document.getElementById('sponsorsexhibitorsarrow').style.display = 'block';
  }
  else if (element == "content/sponsorsexhibitorspage2.htm")
  {
	document.getElementById('sponsorsexhibitorsarrow2').style.display = 'block';
  }
  else
  {
	alert("Server Error: Please cotact your webmaster.");
  }
}

var SlideShowSpeed = 9000;
var CrossFadeDuration = 20;
var Picture = new Array();
var Caption = new Array();

Picture[1]  = 'images/sponsors/evonik.jpg';
Picture[2]  = 'images/sponsors/grace.jpg';
Picture[3]  = 'images/sponsors/parr.jpg';
Picture[4]  = 'images/sponsors/amgen.jpg';
<!-- Picture[7]  = 'images/sponsors/nacs.jpg';

Caption[1]  = "";
Caption[2]  = "";
Caption[3]  = "";
Caption[4]  = "";

var tss;
var iss;
var jss = 1;
var pss = Picture.length-1;

var preLoad = new Array();
for (iss = 1; iss < pss+1; iss++)
{
  preLoad[iss] = new Image();
  preLoad[iss].src = Picture[iss];
}

function runSlideShow()
{
  if (document.all)
  {
    document.images.PictureBox.style.filter="blendTrans(duration=2)";
	document.images.PictureBox.style.filter="blendTrans(duration=CrossFadeDuration)";
	document.images.PictureBox.filters.blendTrans.Apply();
  }
  document.images.PictureBox.src = preLoad[jss].src;
  if (document.getElementById) document.getElementById("CaptionBox").innerHTML= Caption[jss];
  if (document.all) document.images.PictureBox.filters.blendTrans.Play();
    jss = jss + 1;
  if (jss > (pss)) jss=1;
    tss = setTimeout('runSlideShow()', SlideShowSpeed);
}

var SlideShowSpeed2 = 9000;
var CrossFadeDuration2 = 20;
var Picture2 = new Array();
var Caption2 = new Array();

Picture2[1]  = 'images/sponsors/basf.jpg';
Picture2[2]  = 'images/sponsors/eastman.jpg';
Picture2[3]  = 'images/sponsors/symyx.jpg';
Picture2[4]  = 'images/sponsors/lilly.jpg';
Picture2[5]  = 'images/sponsors/umicore.jpg';
Picture2[6]  = 'images/sponsors/avantium.jpg';
<!-- Picture2[4]  = 'images/sponsors/airproducts.jpg';

Caption2[1]  = "";
Caption2[2]  = "";
Caption2[3]  = "";
Caption2[4]  = "";
Caption2[5]  = "";
Caption2[6]  = "";

var tss2;
var iss2;
var jss2 = 1;
var pss2 = Picture2.length-1;

var preLoad2 = new Array();
for (iss2 = 1; iss2 < pss2+1; iss2++)
{
  preLoad2[iss2] = new Image();
  preLoad2[iss2].src = Picture2[iss2];
}

function runSlideShow2()
{
  if (document.all)
  {
	document.images.PictureBox2.style.filter="blendTrans(duration='2')";
	document.images.PictureBox2.style.filter="blendTrans(duration='CrossFadeDuration2')";
	document.images.PictureBox2.filters.blendTrans.Apply();
  }
  document.images.PictureBox2.src = preLoad2[jss2].src;
  if (document.getElementById) document.getElementById("CaptionBox2").innerHTML= Caption[jss2];
  if (document.all) document.images.PictureBox2.filters.blendTrans.Play();
    jss2 = jss2 + 1;
  if (jss2 > (pss2)) jss2=1;
    tss = setTimeout('runSlideShow2()', SlideShowSpeed2);
}

var SlideShowSpeed3 = 9000;
var CrossFadeDuration3 = 20;
var Picture3 = new Array();
var Caption3 = new Array();

Picture3[1]  = 'images/sponsors/abbot.jpg';
Picture3[2]  = 'images/sponsors/pfizer.jpg';
Picture3[3]  = 'images/sponsors/lummus.jpg';
<!-- Picture3[7]  = 'images/sponsors/bristol.jpg';
<!-- Picture3[5]  = 'images/sponsors/omg.jpg';

Caption3[1]  = "";
Caption3[2]  = "";
Caption3[3]  = "";

var tss3;
var iss3;
var jss3 = 1;
var pss3 = Picture3.length-1;

var preLoad3 = new Array();
for (iss3 = 1; iss3 < pss3+1; iss3++)
{
  preLoad3[iss3] = new Image();
  preLoad3[iss3].src = Picture3[iss3];
}

function runSlideShow3()
{
  if (document.all)
  {
	document.images.PictureBox3.style.filter="blendTrans(duration=3)";
	document.images.PictureBox3.style.filter="blendTrans(duration=CrossFadeDuration3)";
	document.images.PictureBox3.filters.blendTrans.Apply();
  }
  document.images.PictureBox3.src = preLoad3[jss3].src;
  if (document.getElementById) document.getElementById("CaptionBox3").innerHTML= Caption[jss3];
  if (document.all) document.images.PictureBox3.filters.blendTrans.Play();
    jss3 = jss3 + 1;
  if (jss3 > (pss3)) jss3=1;
    tss = setTimeout('runSlideShow3()', SlideShowSpeed3);
}

function runSlideShow3()
{
  if (document.all)
  {
	document.images.PictureBox3.style.filter="blendTrans(duration=3)";
	document.images.PictureBox3.style.filter="blendTrans(duration=CrossFadeDuration3)";
	document.images.PictureBox3.filters.blendTrans.Apply();
  }
  document.images.PictureBox3.src = preLoad3[jss3].src;
  if (document.getElementById) document.getElementById("CaptionBox3").innerHTML= Caption[jss3];
  if (document.all) document.images.PictureBox3.filters.blendTrans.Play();
    jss3 = jss3 + 1;
  if (jss3 > (pss3)) jss3=1;
    tss = setTimeout('runSlideShow3()', SlideShowSpeed3);
}




Picture[4]  = 'images/sponsors/amgen.jpg';
function platinumclick(source)
{
  if (source == "http://www.orcs.org/images/sponsors/avantium.jpg")
  {
	window.open('http://www.avantium.com');
  }
  else if (source == "http://www.orcs.org/images/sponsors/basf.jpg")
  {
	window.open('http://www.catalysts.basf.com');
  }
  else if (source == "http://www.orcs.org/images/sponsors/evonik.jpg")
  {
	window.open('http://www.degussa-catalysts.com');
  }
  else if (source == "http://www.orcs.org/images/sponsors/grace.jpg")
  {
	window.open('http://www.gracedavison.com');
  }
  else if (source == "http://www.orcs.org/images/sponsors/parr.jpg")
  {
	window.open('http://www.parrinst.com');
  }
  else if (source == "http://www.orcs.org/images/sponsors/nacs.jpg")
  {
	alert("The Board is also pleased to acknowledge the North American Catalysis Society and the ACS/PRF for grants that are used for student travel awards and for academic participation support.")
  }
  else if (source == "http://www.orcs.org/images/sponsors/amgen.jpg")
  {
	window.open('http://www.amgen.com');
  }
  else
  {
	alert("Server Error: Please cotact your webmaster.");
  }
}

function goldclick(source)
{
  if (source == "http://www.orcs.org/images/sponsors/airproducts.jpg")
  {
	window.open('http://www.airproducts.com');
  }
  else if (source == "http://www.orcs.org/images/sponsors/avantium.jpg")
  {
	window.open('http://www.avantium.com');
  }
  else if (source == "http://www.orcs.org/images/sponsors/symyx.jpg")
  {
	window.open('http://www.symyx.com/');
  }
  else if (source == "http://www.orcs.org/images/sponsors/lilly.jpg")
  {
	window.open('http://www.lilly.com');
  }
  else if (source == "http://www.orcs.org/images/sponsors/amgen.jpg")
  {
	window.open('http://www.amgen.com');
  }
  else if (source == "http://www.orcs.org/images/sponsors/basf.jpg")
  {
	window.open('http://www.catalysts.basf.com');
  }
  else if (source == "http://www.orcs.org/images/sponsors/eastman.jpg")
  {
	window.open('http://www.eastman.com');
  }
  else if (source == "http://www.orcs.org/images/sponsors/umicore.jpg")
  {
	window.open('http://www.chemistry.umicore.com');
  }
  else
  {
	alert("Server Error: Please cotact your webmaster.");
  }
}

function silverclick(source)
{
  if (source == "http://www.orcs.org/images/sponsors/bristol.jpg")
  {
	window.open('http://www.bms.com');
  }
  else if (source == "http://www.orcs.org/images/sponsors/dupont.jpg")
  {
	window.open('http://www.dupont.com');
  }
  else if (source == "http://www.orcs.org/images/sponsors/headwaters.jpg")
  {
	window.open('http://www.headwaters.com');
  }
  else if (source == "http://www.orcs.org/images/sponsors/hel.jpg")
  {
	window.open('http://www.helgroup.com/');
  }
  else if (source == "http://www.orcs.org/images/sponsors/lummus.jpg")
  {
	window.open('http://www.cbi.com/lummus');
  }
  else if (source == "http://www.orcs.org/images/sponsors/omg.jpg")
  {
	window.open('http://www.omgi.com/');
  }
  else if (source == "http://www.orcs.org/images/sponsors/setonhall.jpg")
  {
	window.open('http://www.shu.edu/');
  }
  else if (source == "http://www.orcs.org/images/sponsors/pfizer.jpg")
  {
	window.open('http://www.pfizer.com/');
  }
  else if (source == "http://www.orcs.org/images/sponsors/abbot.jpg")
  {
	window.open('http://www.abbott.com');
  }
  else
  {
	alert("Server Error: Please cotact your webmaster.");
  }
}

function searchclick()
{
  var domelement = document.getElementById('searchinput');
  domelement.value = "Under Construction"
  setTimeout("erasetext()", 2000);
}

function erasetext()
{
  var domelement = document.getElementById('searchinput');
  domelement.value = ""
}