/****************************************************************************/
/* The following functions are used to help defeat email harvestor programs */
/****************************************************************************/
function createPrivacyPageEmail()
{
   document.write('<a href=');
   document.write('"mailto:');
   document.write('cor.');
   document.write('privacy');
   document.write('@')
   document.write('bayer-ag');
   document.write('.de"');
   document.write('>');
   document.write('cor.')
   document.write('privacy');
   document.write('@');
   document.write('bayer-ag')
   document.write('.de');
   document.write('</a>');
}

function createSupplierDiversityPageEmail()
{
   document.write('<a href=');
   document.write('"mailto:');
   document.write('bayer.');
   document.write('supplierdiversity');
   document.write('@')
   document.write('bayer');
   document.write('.com"');
   document.write('>');
   document.write('bayer.')
   document.write('supplierdiversity');
   document.write('@');
   document.write('bayer')
   document.write('.com');
   document.write('</a>');
}

function createWebMastermail()
{
   document.write('<a href=');
   document.write('"mailto:');
   document.write('WebSiteAdmin');
   document.write('@')
   document.write('bayer');
   document.write('.com"');
   document.write('>');
   document.write('Bayer U.S. Webmaster')
   document.write('</a>');
}

/****************************************************************************/
/*                             General Functions                            */
/****************************************************************************/
function SwitchSite(Element) {
   if (Element.options[Element.selectedIndex].value != 'C')
   {
      location.href=Element.options[Element.selectedIndex].value;
   }
}

function OpenNewWindow(Element) {
   if (Element.options[Element.selectedIndex].value != 'H')
   {
      window.open(Element.options[Element.selectedIndex].value);
   }
}

function OpenPhotoWindow(photo) {
   window.open('Show_Photo.aspx?p=' + photo,'PhotoWin','toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=yes,top=0,left=0,width=850,height=650');
}

function OpenPopUpWindow(URL,pTop,pLeft,pWidth,pHeight,pResizable,pScrollbars) {
   var vTop = (pTop == null) ? '0' : pTop;
   var vLeft = (pLeft == null) ? '0' : pLeft; 
   
   var vWidth = (pWidth == null) ? '850' : pWidth;
   var vHeight = (pHeight == null) ? '650' : pHeight;
   
   var vResizable = (pResizable == null) ? 'no' : pResizable;   
   
   if (vResizable == 'yes')
   {
      var vScrollbars = (pScrollbars == null) ? 'yes' : pScrollbars;   
   }
   else
   {
      var vScrollbars = (pScrollbars == null) ? 'no' : pScrollbars;   
   }

   window.open(URL + '?popup=y','CustomWin','toolbar=no,location=no,status=no,menubar=no,scrollbars=' + vScrollbars + ',resizable=' + vResizable + ',top=' + vTop + ',left=' + vLeft + ',width=' + vWidth + ',height=' + vHeight + "'");
}

function LeaveSite(targetsite) {
  page = "/jump.htm?" + targetsite;
  popUpWin = window.open(page,'PopWin','toolbar=yes,location=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes,top=0,left=0,width=790,height=430');
}

function BHCLeaveSite(targetsite) {
  page = "/bhc/jump.htm?" + targetsite;
  popUpWin = window.open(page,'PopWin','toolbar=yes,location=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes,top=0,left=0,width=790,height=430');
}

function leaveSite3(site) {
  alert("in leave site");
  page = "Jump.aspx?" + site;
  popUpWin = window.open(page,'PopWin','toolbar=yes,location=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes,top=0,left=0,width=790,height=430');
}

/******************************************************************************/
/*     Code for image rollover                                                */
/******************************************************************************/
function m_on(i) {
  if (document.images) { 
    if (document[i].src.indexOf("down") < 0) {
      document[i].src = "images/" + i + "_over.gif"; 
    }
  }
}

function m_off(i) {
  if (document.images) { 
    if (document[i].src.indexOf("down") < 0) {
      document[i].src = "images/" + i + ".gif"; 
    }
  }
}

/******************************************************************************/
/*     Code for image rollover in MSMS STEM Section                           */
/******************************************************************************/
function Stem_on(i) {
  if (document.images) { 
    if (document[i].src.indexOf("down") < 0) {
      document[i].src = "../images/" + i + "_over.gif"; 
    }
  }
}

function Stem_off(i) {
  if (document.images) { 
    if (document[i].src.indexOf("down") < 0) {
      document[i].src = "../images/" + i + ".gif"; 
    }
  }
}


/*******************************************************************************************/
/* Event handler for the MSMS vignette click function that is called                       */
/*******************************************************************************************/
function getVignette() {
	var newWindow = null;
	newWindow = window.open('/MSMS/MSMS_Education_Resources_Activities/ResourcesSTP/MSMS_Vignette/Vignette2.aspx','newWin','x=50,y=50,screenX=50,screenY=50,scrollbars=yes,status=yes,width=1050,height=800,resizable');
	newWindow.focus();
}

/*******************************************************************************************/
/* Javascript function to produce the movie for the Main Homepage or a static image        */
/*******************************************************************************************/
function HomePageFlashSelection(){
  if (hasReqestedVersion) {
     document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="780" height="200" id="HomePage_Intro" align="left">');
     document.write(' <param name="movie" value="/flash/BayerUsHomeAmima_v5.swf" />');
     document.write(' <param name="quality" value="high" />');
     document.write(' <param name="play" value="true" />');
     document.write(' <param name="loop" value="true" />');
     document.write(' <param name="scale" value="showall" />');
     document.write(' <param name="wmode" value="transparent" />');
     document.write(' <param name="allowScriptAccess" value="sameDomain" />');
     document.write(' <param name="allowFullScreen" value="false" />');
     document.write(' <param name="bgcolor" value="#ffffff" />');
     document.write(' <embed src="/flash/BayerUsHomeAmima_v5.swf" quality="high" bgcolor="#ffffff" width="780" height="200" name="HomePage_Intro" align="left" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
     document.write(' </object>');
  } else {
     document.write('<img src="/app_themes/images/HomeBanner_NoFLASH.png" alt="Bayer In the United States" width="780" height="200" />');
  }
}

/*******************************************************************************************/
/* Javascript function to produce the movie for the Our Communities page or a static image */
/*******************************************************************************************/
function OurCommunitiesPageFlashSelection(){
  if (hasReqestedVersion) {
     document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="610" height="380" id="Communities_Intro" align="top">');
     document.write(' <param name="movie" value="/flash/Communites_redesign_v2.swf" />');
     document.write(' <param name="quality" value="high" />');
     document.write(' <param name="play" value="true" />');
     document.write(' <param name="loop" value="true" />');
     document.write(' <param name="scale" value="showall" />'); 
     document.write(' <param name="wmode" value="transparent" />');
     document.write(' <param name="allowScriptAccess" value="sameDomain" />');
     document.write(' <param name="allowFullScreen" value="false" />');
     document.write(' <param name="bgcolor" value="#ffffff" />');
     document.write(' <embed src="/flash/Communites_redesign_v2.swf" quality="high" bgcolor="#ffffff" width="610" height="380" name="Communities_Intro" align="top" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
     document.write(' </object>');
  }
}

/*******************************************************************************************/
/* Javascript function to produce the movie for the HES Home Page or a static image        */
/*******************************************************************************************/
function HESFlashSelection(){
  if (hasReqestedVersion) {
     document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="610" height="275" id="HES_Intro" align="top">');
     document.write(' <param name="movie" value="/flash/hes_new.swf" />');
     document.write(' <param name="quality" value="high" />');
     document.write(' <param name="wmode" value="transparent" />');
     document.write(' <param name="allowScriptAccess" value="sameDomain" />');
     document.write(' <param name="allowFullScreen" value="false" />');
     document.write(' <param name="bgcolor" value="#ffffff" />');
     document.write(' <embed src="/flash/hes_new.swf" quality="high" bgcolor="#ffffff" width="610" height="275" name="HES_Intro" align="top" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
     document.write('</object>');
  } else {
     document.write('<img src="/hes/images/intro_alt.gif" alt="Health, Environment and Safety" />');
  }
}

/*******************************************************************************************/
/* Javascript function to produce the movie for the MSMS Home page or a static image       */
/*******************************************************************************************/
function MSMSFlashSelection(){
   if (hasReqestedVersion) {
      document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="780" height="240" id="MSMS_Intro" align="middle">');
      document.write(' <param name="movie" value="/flash/msms8.swf" />');
      document.write(' <param name="quality" value="high" />');
      document.write(' <param name="wmode" value="transparent" />');
      document.write(' <param name="allowScriptAccess" value="sameDomain" />');
      document.write(' <param name="allowFullScreen" value="false" />');
      document.write(' <param name="bgcolor" value="#ffffff" />');
      document.write(' <param name="menu" value="false" />');
      document.write(' <embed src="/flash/msms8.swf" quality="high" bgcolor="#ffffff" width="780" height="240" name="MSMS_Intro" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
      document.write(' </object>');
  } else { 
      document.write('<img src="images/intro_alt.gif" alt="Making Science Make Sense" usemap="#intro_alt_Map" border="0" />');
      document.write('<img src="images/intro_msms_alt.jpg" alt="Making Science Make Sense" usemap="#intro_alt_Map" border="0" />');      
      document.write('<map name="intro_alt_Map">');
//      document.write('<area shape="rect" alt="Stem Forum 2008 - Register Now" coords="11,6,106,51" href="Stem/Stem_Home.aspx">');      
      document.write('<area shape="rect" alt="Introducing STEM Industries to K-12 Best Practice Programs" coords="10,24,207,68" href="Stem/Stem_Home.aspx">');
      document.write('<area shape="rect" alt="Bayer Facts of Science Education Surveys" coords="1,80,157,107" href="Survey/Survey_Home.aspx">');
      document.write('<area shape="rect" alt="Bayer MSMS Systemic Reform Programs" coords="10,116,153,140" href="MSMS_Systemic_Science_Education_Reform/ESSER/ESSER.aspx">');
//      document.write('<area shape="rect" alt="10 Years of MSMS" coords="18,145,135,158" href="web_docs/msms_10th_book.pdf" target="_blank">');
      document.write('<area shape="rect" alt="18 Annual International Children\'s Painting Competition" coords="10,159,203,188" href="web_docs/18thICPCpkt.pdf" target="_blank">');      
      document.write('<area shape="rect" alt="Periodic Table of Elements" coords="654,114,727,127" href="MSMS_Education_Resources_Activities/ResourcesSTP/ScienceFun/PeriodicTable/PeriodicTableIntro.aspx">');
      document.write('<area shape="rect" alt="Subscribe to the Bayer MSMS e-News Update" coords="538,208,613,222" href="MSMS_News/msms_enewsletter/subscriptionservices/index.aspx">');
      document.write('</map>');      
  }
}

/*******************************************************************************************/
/* Javascript function to produce the movie for the MSMS Periodic Table or a static image  */
/*******************************************************************************************/
function MSMSPeriodicTableFlashSelection(){
/*
 if (hasReqestedVersion) {
      document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="intro" width="550" height="320" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0">');
      document.write('<param name="MOVIE" value="../../../flash/periodic_table.swf" />');
      document.write('<param name="PLAY" value="true" />');
      document.write('<param name="LOOP" value="false" />');
      document.write('<param name="bgcolor" value="#FFCC33" />');
      document.write('<param name="QUALITY" value="high" />');
      document.write('<param name="MENU" value="false" />');
      document.write(' <param name="wmode" value="transparent" />');      
      document.write('<embed src="../../../flash/periodic_table.swf" width="550" height="320" play="true" loop="false" quality="high" bgcolor="#FFCC33" menu="false" name="intro" type="application/x-shockwave-flash" wmode="transparent" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" swliveconnect="true" />');
      document.write('</embed>');
      document.write('</object>');
  } else {
*/  
      document.write('<img src="images/periodic.gif" alt="Periodic Table of Elements" border=0 ismap usemap="#periodic" />');
      document.write('<map name="periodic">');
      document.write('<area shape="rect" href="hydrogen/index.aspx" coords="34,27,61,54">');
      document.write('<area shape="rect" href="helium/index.aspx" coords="494,27,521,54">');
      document.write('<area shape="rect" href="lithium/index.aspx" coords="34,54,61,81">');
      document.write('<area shape="rect" href="beryllium/index.aspx" coords="61,54,88,81">');
      document.write('<area shape="rect" href="boron/index.aspx" coords="359,54,386,81">');
      document.write('<area shape="rect" href="carbon/index.aspx" coords="386,54,413,81">');
      document.write('<area shape="rect" href="nitrogen/index.aspx" coords="413,54,440,81">');
      document.write('<area shape="rect" href="oxygen/index.aspx" coords="440,54,467,81">');
      document.write('<area shape="rect" href="fluorine/index.aspx" coords="467,54,494,81">');
      document.write('<area shape="rect" href="neon/index.aspx" coords="494,54,521,81">');
      document.write('<area shape="rect" href="sodium/index.aspx" coords="34,81,61,108">');
      document.write('<area shape="rect" href="magnesium/index.aspx" coords="61,81,88,108">');
      document.write('<area shape="rect" href="aluminum/index.aspx" coords="359,81,386,108">');
      document.write('<area shape="rect" href="silicon/index.aspx" coords="386,81,413,108">');
      document.write('<area shape="rect" href="phosphorus/index.aspx" coords="413,81,440,108">');
      document.write('<area shape="rect" href="sulfur/index.aspx" coords="440,81,467,108">');
      document.write('<area shape="rect" href="chlorine/index.aspx" coords="467,81,494,108">');
      document.write('<area shape="rect" href="argon/index.aspx" coords="494,81,521,108">');
      document.write('<area shape="rect" href="potassium/index.aspx" coords="34,108,61,135">');
      document.write('<area shape="rect" href="calcium/index.aspx" coords="61,108,88,135">');
      document.write('<area shape="rect" href="scandium/index.aspx" coords="89,108,116,135">');
      document.write('<area shape="rect" href="titanium/index.aspx" coords="116,108,143,135">');
      document.write('<area shape="rect" href="vanadium/index.aspx" coords="143,108,170,135">');
      document.write('<area shape="rect" href="chromium/index.aspx" coords="170,108,197,135">');
      document.write('<area shape="rect" href="manganese/index.aspx" coords="197,108,224,135">');
      document.write('<area shape="rect" href="iron/index.aspx" coords="224,108,251,135">');
      document.write('<area shape="rect" href="cobalt/index.aspx" coords="251,108,278,135">');
      document.write('<area shape="rect" href="nickel/index.aspx" coords="278,108,304,135">');
      document.write('<area shape="rect" href="copper/index.aspx" coords="304,108,331,135">');
      document.write('<area shape="rect" href="zinc/index.aspx" coords="331,108,358,135">');
      document.write('<area shape="rect" href="gallium/index.aspx" coords="359,108,386,135">');
      document.write('<area shape="rect" href="germanium/index.aspx" coords="386,108,413,135">');
      document.write('<area shape="rect" href="arsenic/index.aspx" coords="413,108,440,135">');
      document.write('<area shape="rect" href="selenium/index.aspx" coords="440,108,467,135">');
      document.write('<area shape="rect" href="bromine/index.aspx" coords="467,108,494,135">');
      document.write('<area shape="rect" href="krypton/index.aspx" coords="494,108,521,135">');
      document.write('<area shape="rect" href="rubidium/index.aspx" coords="34,135,61,162">');
      document.write('<area shape="rect" href="strontium/index.aspx" coords="61,135,88,162">');
      document.write('<area shape="rect" href="yttrium/index.aspx" coords="89,135,116,162">');
      document.write('<area shape="rect" href="zirconium/index.aspx" coords="116,135,143,162">');
      document.write('<area shape="rect" href="niobium/index.aspx" coords="143,135,170,162">');
      document.write('<area shape="rect" href="molybdenum/index.aspx" coords="170,135,197,162">');
      document.write('<area shape="rect" href="technetium/index.aspx" coords="197,135,224,162">');
      document.write('<area shape="rect" href="ruthenium/index.aspx" coords="224,135,251,162">');
      document.write('<area shape="rect" href="rhodium/index.aspx" coords="251,135,278,162">');
      document.write('<area shape="rect" href="palladium/index.aspx" coords="278,135,304,162">');
      document.write('<area shape="rect" href="silver/index.aspx" coords="304,135,331,162">');
      document.write('<area shape="rect" href="cadmium/index.aspx" coords="331,135,358,162">');
      document.write('<area shape="rect" href="indium/index.aspx" coords="359,135,386,162">');
      document.write('<area shape="rect" href="tin/index.aspx" coords="386,135,413,162">');
      document.write('<area shape="rect" href="antimony/index.aspx" coords="413,135,440,162">');
      document.write('<area shape="rect" href="tellurium/index.aspx" coords="440,135,467,162">');
      document.write('<area shape="rect" href="iodine/index.aspx" coords="467,135,494,162">');
      document.write('<area shape="rect" href="xenon/index.aspx" coords="494,135,521,162">');
      document.write('<area shape="rect" href="cesium/index.aspx" coords="34,162,61,189">');
      document.write('<area shape="rect" href="barium/index.aspx" coords="61,162,88,189">');
      document.write('<area shape="rect" href="lanthanum/index.aspx" coords="89,162,116,189">');
      document.write('<area shape="rect" href="hafnium/index.aspx" coords="116,162,143,189">');
      document.write('<area shape="rect" href="tantalum/index.aspx" coords="143,162,170,189">');
      document.write('<area shape="rect" href="tungsten/index.aspx" coords="170,162,197,189">');
      document.write('<area shape="rect" href="rhenium/index.aspx" coords="197,162,224,189">');
      document.write('<area shape="rect" href="osmium/index.aspx" coords="224,162,251,189">');
      document.write('<area shape="rect" href="iridium/index.aspx" coords="251,162,278,189">');
      document.write('<area shape="rect" href="platinum/index.aspx" coords="278,162,304,189">');
      document.write('<area shape="rect" href="gold/index.aspx" coords="304,162,331,189">');
      document.write('<area shape="rect" href="mercury/index.aspx" coords="331,162,358,189">');
      document.write('<area shape="rect" href="thallium/index.aspx" coords="359,162,386,189">');
      document.write('<area shape="rect" href="lead/index.aspx" coords="386,162,413,189">');
      document.write('<area shape="rect" href="bismuth/index.aspx" coords="413,162,440,189">');
      document.write('<area shape="rect" href="polonium/index.aspx" coords="440,162,467,189">');
      document.write('<area shape="rect" href="astatine/index.aspx" coords="467,162,494,189">');
      document.write('<area shape="rect" href="radon/index.aspx" coords="494,162,521,189">');
      document.write('<area shape="rect" href="francium/index.aspx" coords="34,189,61,216">');
      document.write('<area shape="rect" href="radium/index.aspx" coords="61,189,88,216">');
      document.write('<area shape="rect" href="actinium/index.aspx" coords="89,189,116,216">');
      document.write('<area shape="rect" href="rutherfordium/index.aspx" coords="116,189,143,216">');
      document.write('<area shape="rect" href="dubnium/index.aspx" coords="143,189,170,216">');
      document.write('<area shape="rect" href="seaborgium/index.aspx" coords="170,189,197,216">');
      document.write('<area shape="rect" href="bohrium/index.aspx" coords="197,189,224,216">');
      document.write('<area shape="rect" href="hassium/index.aspx" coords="224,189,251,216">');
      document.write('<area shape="rect" href="meitnerium/index.aspx" coords="251,189,278,216">');
      document.write('<area shape="rect" href="darmstadtium/index.aspx" coords="278,189,305,216">');
      document.write('<area shape="rect" href="cerium/index.aspx" coords="144,223,171,250">');
      document.write('<area shape="rect" href="praseodymium/index.aspx" coords="171,223,198,250">');
      document.write('<area shape="rect" href="neodymium/index.aspx" coords="198,223,225,250">');
      document.write('<area shape="rect" href="promethium/index.aspx" coords="225,223,252,250">');
      document.write('<area shape="rect" href="samarium/index.aspx" coords="252,223,279,250">');
      document.write('<area shape="rect" href="europium/index.aspx" coords="279,223,306,250">');
      document.write('<area shape="rect" href="gadolinium/index.aspx" coords="306,223,333,250">');
      document.write('<area shape="rect" href="terbium/index.aspx" coords="333,223,360,250">');
      document.write('<area shape="rect" href="dysprosium/index.aspx" coords="360,223,387,250">');
      document.write('<area shape="rect" href="holmium/index.aspx" coords="387,223,414,250">');
      document.write('<area shape="rect" href="erbium/index.aspx" coords="414,223,441,250">');
      document.write('<area shape="rect" href="thulium/index.aspx" coords="441,223,468,250">');
      document.write('<area shape="rect" href="ytterbium/index.aspx" coords="468,223,495,250">');
      document.write('<area shape="rect" href="lutetium/index.aspx" coords="495,223,522,250">');
      document.write('<area shape="rect" href="thorium/index.aspx" coords="144,250,171,277">');
      document.write('<area shape="rect" href="protactinium/index.aspx" coords="171,250,198,277">');
      document.write('<area shape="rect" href="uranium/index.aspx" coords="198,250,225,277">');
      document.write('<area shape="rect" href="neptunium/index.aspx" coords="225,250,252,277">');
      document.write('<area shape="rect" href="plutonium/index.aspx" coords="252,250,279,277">');
      document.write('<area shape="rect" href="americium/index.aspx" coords="279,250,306,277">');
      document.write('<area shape="rect" href="curium/index.aspx" coords="306,250,333,277">');
      document.write('<area shape="rect" href="berkelium/index.aspx" coords="333,250,360,277">');
      document.write('<area shape="rect" href="californium/index.aspx" coords="360,250,387,277">');
      document.write('<area shape="rect" href="einsteinium/index.aspx" coords="387,250,414,277">');
      document.write('<area shape="rect" href="fermium/index.aspx" coords="414,250,441,277">');
      document.write('<area shape="rect" href="mendelevium/index.aspx" coords="441,250,468,277">');
      document.write('<area shape="rect" href="nobelium/index.aspx" coords="468,250,495,277">');
      document.write('<area shape="rect" href="lawrencium/index.aspx" coords="495,250,522,277">');
      document.write('</map>');
//   }
}

function CSR_ShowDiversity01() {
   if (document.getElementById) {
      document.getElementById('divDiversity01').style.display = 'block';
      document.getElementById('divDiversity02').style.display = 'none';      
      document.getElementById('divDiversity03').style.display = 'none';
      document.getElementById('divDiversity04').style.display = 'none';
      document.getElementById('divDiversity05').style.display = 'none';
   }
   else {
      if (document.layers) {
         document.divDiversity01.display = 'block';
         document.divDiversity02.display = 'none';
         document.divDiversity03.display = 'none';
         document.divDiversity04.display = 'none';
         document.divDiversity05.display = 'none';
      }
      else {
         document.all.divDiversity01.style.display = 'block';
         document.all.divDiversity02.style.display = 'none';
         document.all.divDiversity03.style.display = 'none';
         document.all.divDiversity04.style.display = 'none';
         document.all.divDiversity05.style.display = 'none';                  
      }
   }
}

function CSR_ShowDiversity02() {
   if (document.getElementById) {
      document.getElementById('divDiversity01').style.display = 'none';
      document.getElementById('divDiversity02').style.display = 'block';      
      document.getElementById('divDiversity03').style.display = 'none';
      document.getElementById('divDiversity04').style.display = 'none';
      document.getElementById('divDiversity05').style.display = 'none';
   }
   else {
      if (document.layers) {
         document.divDiversity01.display = 'none';
         document.divDiversity02.display = 'block';
         document.divDiversity03.display = 'none';
         document.divDiversity04.display = 'none';
         document.divDiversity05.display = 'none';
      }
      else {
         document.all.divDiversity01.style.display = 'none';
         document.all.divDiversity02.style.display = 'block';
         document.all.divDiversity03.style.display = 'none';
         document.all.divDiversity04.style.display = 'none';
         document.all.divDiversity05.style.display = 'none';                  
      }
   }
}

function CSR_ShowDiversity03() {
   if (document.getElementById) {
      document.getElementById('divDiversity01').style.display = 'none';
      document.getElementById('divDiversity02').style.display = 'none';      
      document.getElementById('divDiversity03').style.display = 'block';
      document.getElementById('divDiversity04').style.display = 'none';
      document.getElementById('divDiversity05').style.display = 'none';
   }
   else {
      if (document.layers) {
         document.divDiversity01.display = 'none';
         document.divDiversity02.display = 'none';
         document.divDiversity03.display = 'block';
         document.divDiversity04.display = 'none';
         document.divDiversity05.display = 'none';
      }
      else {
         document.all.divDiversity01.style.display = 'none';
         document.all.divDiversity02.style.display = 'none';
         document.all.divDiversity03.style.display = 'block';
         document.all.divDiversity04.style.display = 'none';
         document.all.divDiversity05.style.display = 'none';                  
      }
   }
}

function CSR_ShowDiversity04() {
   if (document.getElementById) {
      document.getElementById('divDiversity01').style.display = 'none';
      document.getElementById('divDiversity02').style.display = 'none';      
      document.getElementById('divDiversity03').style.display = 'none';
      document.getElementById('divDiversity04').style.display = 'block';
      document.getElementById('divDiversity05').style.display = 'none';
   }
   else {
      if (document.layers) {
         document.divDiversity01.display = 'none';
         document.divDiversity02.display = 'none';
         document.divDiversity03.display = 'none';
         document.divDiversity04.display = 'block';
         document.divDiversity05.display = 'none';
      }
      else {
         document.all.divDiversity01.style.display = 'none';
         document.all.divDiversity02.style.display = 'none';
         document.all.divDiversity03.style.display = 'none';
         document.all.divDiversity04.style.display = 'block';
         document.all.divDiversity05.style.display = 'none';                  
      }
   }
}

function CSR_ShowDiversity05() {
   if (document.getElementById) {
      document.getElementById('divDiversity01').style.display = 'none';
      document.getElementById('divDiversity02').style.display = 'none';      
      document.getElementById('divDiversity03').style.display = 'none';
      document.getElementById('divDiversity04').style.display = 'none';
      document.getElementById('divDiversity05').style.display = 'block';
   }
   else {
      if (document.layers) {
         document.divDiversity01.display = 'none';
         document.divDiversity02.display = 'none';
         document.divDiversity03.display = 'none';
         document.divDiversity04.display = 'none';
         document.divDiversity05.display = 'block';
      }
      else {
         document.all.divDiversity01.style.display = 'none';
         document.all.divDiversity02.style.display = 'none';
         document.all.divDiversity03.style.display = 'none';
         document.all.divDiversity04.style.display = 'none';
         document.all.divDiversity05.style.display = 'block';                  
      }
   }
}

function CSR_ShowES01(){
   if (document.getElementById) {
      document.getElementById('divES01').style.display = 'block';
      document.getElementById('divES02').style.display = 'none';      
   }
   else {
      if (document.layers) {
         document.divES01.display = 'block';
         document.divES02.display = 'none';
      }
      else {
         document.all.divES01.style.display = 'block';
         document.all.divES02.style.display = 'none';
      }
   }
}

function CSR_ShowES02(){
   if (document.getElementById) {
      document.getElementById('divES01').style.display = 'none';
      document.getElementById('divES02').style.display = 'block';      
   }
   else {
      if (document.layers) {
         document.divES01.display = 'none';
         document.divES02.display = 'block';
      }
      else {
         document.all.divES01.style.display = 'none';
         document.all.divES02.style.display = 'block';
      }
   }
}

function CSR_ShowPhilanthropy01(){
   if (document.getElementById) {
      document.getElementById('divPhilanthropy01').style.display = 'block';
      document.getElementById('divPhilanthropy02').style.display = 'none';      
      document.getElementById('divPhilanthropy03').style.display = 'none';
   }
   else {
      if (document.layers) {
         document.divPhilanthropy01.display = 'block';
         document.divPhilanthropy02.display = 'none';
         document.divPhilanthropy03.display = 'none';         
      }
      else {
         document.all.divPhilanthropy01.style.display = 'block';
         document.all.divPhilanthropy02.style.display = 'none';
         document.all.divPhilanthropy03.style.display = 'none';
      }
   }
}

function CSR_ShowPhilanthropy02(){
   if (document.getElementById) {
      document.getElementById('divPhilanthropy01').style.display = 'none';
      document.getElementById('divPhilanthropy02').style.display = 'block';      
      document.getElementById('divPhilanthropy03').style.display = 'none';
   }
   else {
      if (document.layers) {
         document.divPhilanthropy01.display = 'none';
         document.divPhilanthropy02.display = 'block';
         document.divPhilanthropy03.display = 'none';         
      }
      else {
         document.all.divPhilanthropy01.style.display = 'none';
         document.all.divPhilanthropy02.style.display = 'block';
         document.all.divPhilanthropy03.style.display = 'none';
      }
   }
}

function CSR_ShowPhilanthropy03(){
   if (document.getElementById) {
      document.getElementById('divPhilanthropy01').style.display = 'none';
      document.getElementById('divPhilanthropy02').style.display = 'none';      
      document.getElementById('divPhilanthropy03').style.display = 'block';
   }
   else {
      if (document.layers) {
         document.divPhilanthropy01.display = 'none';
         document.divPhilanthropy02.display = 'none';
         document.divPhilanthropy03.display = 'block';         
      }
      else {
         document.all.divPhilanthropy01.style.display = 'none';
         document.all.divPhilanthropy02.style.display = 'none';
         document.all.divPhilanthropy03.style.display = 'block';
      }
   }
}