var homeurl="http://www.mathinstitutes.org/";
function show_title()
{
  document.write("<table cellspacing='0' cellpadding='5' width='960' bgcolor='#e8e8ff'>");
  document.write("<tr>");
  document.write("<td><img src='http://www.mathinstitutes.org/images/arrowlogo.gif' alt='Math Logo' border='0'></td>");
  document.write("<td align='left' width='100%' style='font-size:20px;font-weight:bold;'>NSF Mathematical Sciences Institutes</td>");
  document.write("<td><img src='http://www.mathinstitutes.org/images/nsflogo.gif' alt='NSF Logo' border='0'></td>");
  document.write("</tr>");
  document.write("</table>");
}

function show_ccsp_title()
{
  document.write("<table cellspacing='0' cellpadding='5' width='960' bgcolor='#e8e8ff'>");
  document.write("<tr>");
  document.write("<td><img src='http://www.mathinstitutes.org/images/arrowlogo.gif' alt='Math Logo' border='0'></td>");
  document.write("<td align='left' width='100%' style='font-size:20px;font-weight:bold;'>Climate Change and Sustainability Program</td>");
  //document.write("<td><img src='http://www.mathinstitutes.org/images/nsflogo.gif' alt='NSF Logo' border='0'></td>");
  document.write("</tr>");
  document.write("</table>");
}
function show_diversity_title()
{
  document.write("<table cellspacing='0' cellpadding='5' width='960' bgcolor='#e8e8ff'>");
  document.write("<tr>");
  document.write("<td><img src='http://www.mathinstitutes.org/images/arrowlogo.gif' alt='Math Logo' border='0'></td>");
  document.write("<td align='left' width='100%' style='font-size:20px;font-weight:bold;'>Math Institutes Diversity Committee<div style='width:400px;text-align:center;color:#963;font-size:18px;'>Promoting Diversity</div></td>");
  //document.write("<td><img src='http://www.mathinstitutes.org/images/nsflogo.gif' alt='NSF Logo' border='0'></td>");
  document.write("</tr>");
  document.write("</table>");
}

function show_bar_menu(subtitle)
{
  document.write("<table cellspacing='0' cellpadding='0' width='100%' id='middle_bar' style='font-size:11px;font-weight:normal;'>");
  document.write("<tr>");
  document.write("<td>&nbsp;</td>");
  document.write("<td><a href='http://www.mathinstitutes.org/' title='NSF Mathematical Institutes' width='200'>NSF Mathematical Sciences Institutes</a>&nbsp;&nbsp;&nbsp;&nbsp;<span style='font-size:16px;font-weight:bold;'>&raquo;&nbsp;<span style='font-size:12px;'>"+subtitle+"</span></span></td>");
  document.write("<td aligh='right' style='font-size:11px;text-align:right;'><a href='http://www.aimath.org/' target='blank' title='American Institute of Mathematics' style='font-size:11px;'>AIM</a>&nbsp;|&nbsp;");
  document.write("<a href='http://www.math.ias.edu/' target='blank' title='Institute for Advanced Study' style='font-size:11px;'>IAS</a>&nbsp;|&nbsp;");
  document.write("<a href='http://icerm.brown.edu/' target='blank' style='font-size:11px;' title='Institute for Computational and Experimental Research in Mathematics'>ICERM</a>&nbsp;|&nbsp;");
  document.write("<a href='http://www.ima.umn.edu/' target='blank' style='font-size:11px;' title='Institute for Mathematics and its Applications'>IMA</a>&nbsp;|&nbsp;");
  document.write("<a href='http://www.ipam.ucla.edu/' target='blank' style='font-size:11px;' title='Institute for Pure & Applied Mathematics'>IPAM</a>&nbsp;|&nbsp;");  
  document.write("<a href='http://mbi.osu.edu/' target='blank' style='font-size:11px;' title='Mathematical Biosciences Institute'>MBI</a>&nbsp;|&nbsp;");
  document.write("<a href='http://www.msri.org/' target='blank' style='font-size:11px;' title='Mathematical Sciences Research Institute'>MSRI</a>&nbsp;|&nbsp;");
  document.write("<a href='http://www.samsi.info/' target='blank' style='font-size:11px;' title='Statistical and Applied Mathematical Sciences Institute'>SAMSI</a>&nbsp;&nbsp;</td>");
  document.write("</tr>");
  document.write("</table>");
}
function show_bar_menu2(subtitle)
{
  document.write("<table cellspacing='0' cellpadding='0' width='960' id='middle_bar'>");
  document.write("<tr>");
  document.write("<td>&nbsp;</td>");
  document.write("<td><a href='http://www.mathinstitutes.org/' title='NSF Mathematical Institutes' width='200'>NSF Mathematical Sciences Institutes</a>&nbsp;&nbsp;&nbsp;&nbsp;<span style='font-size:16px;font-weight:bold;'>&raquo;&nbsp;<span style='font-size:12px;'>"+subtitle+"</span></span></td>");

  document.write("</tr>");
  document.write("</table>");
}
function show_side_menu(active)
{
  document.write("<div id='sidemenu'>");
  document.write("<A href='"+homeurl+"'"+((active==1)?" class='active'":"")+">Home</a>");
  document.write("<a href='"+homeurl+"events/'"+((active==2)?" class='active'":"")+">Browse Events</a>");
  document.write("<a href='"+homeurl+"events/?module=7'"+((active==3)?" class='active'":"")+">Search Events</a>");
  document.write("<a href='"+homeurl+"nuggets/'"+((active==4)?" class='active'":"")+">Highlights</a>");
  document.write("<a href='"+homeurl+"news/'"+((active==5)?" class='active'":"")+">News</a>");
  //document.write("<a href='"+homeurl+"institutespostdoc/'"+((active==4)?" class='active'":"")+">Postdoctoral Positions</a>");
  document.write("</div>");
}
function show_footer()
{
   var now = new Date();
   var year=now.getYear();
   if(year<1900)
   {
     year=year+1900;
   }
   /*
  document.write("<center><div id='footer'>");
  document.write("&copy;"+year+", National Science Foundation and its Mathematical Sciences Institutes");
  document.write("</div></center>");
  */
}
function show_search()
{
  document.write("<div id='search_nsf' align='center'>");
  //document.write("<form action='http://www.msri.org:8088/result2.jsp' method='get'>");
  document.write("<form action='http://www.mathinstitutes.org/search.php' method='get'>");
  document.write("<table border=0>");
  document.write("<tr><td><input name='searchvalue' size='20' onFocus='this.value=\"\"' onBlur='if(this.value==\"\") this.value=\"Search math institutes\"' value='Search math institutes' style='font-size:12px;'></td>");

  document.write("<td><input type=submit value='Go'></td>");
  document.write("</tr>");

  document.write("</table>");
  document.write("</form>");

  document.write("</div>");
  document.write("<center>");
  //document.write("<div style='width:85%;font-size:12px;color:#900;background-color:#ececff;border:1px solid #999;padding:3px;'>");
  /*
  document.write("<div><b>Cyber-enabled Discovery<br>and Innovation (CDI):</b></div>");
  document.write("<div style='line-height:18px;'>");
  document.write("&nbsp;&nbsp;<a href='/cdi/' style='color:#333;'>Project planning support<br>from the Math Institutes</a><br>");
  document.write("</div>");
  */

 
  //document.write("</div>");
  document.write("<br>");
  document.write("<div style='width:85%;font-size:12px;color:#000;background-color:#ececff;border:1px solid #999;padding:3px;'>");
  document.write("<div><b>Other NSF Supported<Br>Mathematics Institutes:</b></div>");
  document.write("<div style='line-height:18px;'>");
  document.write("&nbsp;&nbsp;<a href='http://www.birs.ca/' style='color:#333;'>BIRS</a><br>");
  document.write("&nbsp;&nbsp;<a href='http://www.ihes.fr/' style='color:#333;'>IHES</a><br>");
  document.write("&nbsp;&nbsp;<a href='http://www.mfo.de/' style='color:#333;'>MFO</a><br>");
  document.write("&nbsp;&nbsp;<a href='http://www.nimbios.org/' style='color:#333;'>NIMBIOS</a>");
  
  document.write("</div>");
  document.write("</div>");
  document.write("<br>");
  document.write("<div style='width:85%;font-size:12px;color:#000;background-color:#ececff;border:1px solid #999;padding:3px;'>");
  document.write("<div><b><a href='http://www.fields.utoronto.ca/aboutus/IMSI.html' style='color:#333;'>International Math Sciences Institutes</a></b></div>");
  document.write("</div>");
  document.write("<br>");
  document.write("<div>");
  document.write("<A href='/diversity.php'><img src='/images/diversity.gif' alt='Diversity' border='0' width='120' height='120' /></a>");
  document.write("<div style='font-weight:bold;'><a href='diversity.php'>Math Institute Diversity Committee</a></div>");
  document.write("</div>");
	document.write("<br><div style='border:1px solid #999;padding:3px;margin:5px;background-color:#eee;'><a href='/climate-initiative/'><b>Climate Change & Sustainability Program Initiative</b></div></a>");
  document.write("</center>");
}

function show_ccsp_list()
{
  document.write("<div id='search_nsf' align='center'>");
  //document.write("<form action='http://www.msri.org:8088/result2.jsp' method='get'>");
  document.write("<form action='http://www.mathinstitutes.org/search.php' method='get'>");
  document.write("<table border=0>");
  document.write("<tr><td><input name='searchvalue' size='20' onFocus='this.value=\"\"' onBlur='if(this.value==\"\") this.value=\"Search math institutes\"' value='Search math institutes' style='font-size:12px;'></td>");

  document.write("<td><input type=submit value='Go'></td>");
  document.write("</tr>");

  document.write("</table>");
  document.write("</form>");

  document.write("</div>");
  document.write("<center>");


  document.write("<div style='width:85%;font-size:12px;color:#000;background-color:#ececff;border:1px solid #999;padding:3px;'>");

  document.write("<div style='line-height:18px;'>");
  document.write("<div style='line-height:18px;'><b>Sponsor Institutes</b></div>");
  document.write("&nbsp;&nbsp;<a href='http://www.aimath.org/' style='color:#333;'>AIM</a><br>");
  document.write("&nbsp;&nbsp;<a href='http://www.birs.ca/' style='color:#333;'>BIRS</a><br>");
  document.write("&nbsp;&nbsp;<a href='http://www.claymath.org/' style='color:#333;'>CMI</a><br>");
  document.write("&nbsp;&nbsp;<a href='http://www.crm.umontreal.ca/en/index.shtml' style='color:#333;'>CRM</a><br>");
  document.write("&nbsp;&nbsp;<a href='http://dimacs.rutgers.edu/' style='color:#333;'>DIMACS</a><br>");
  document.write("&nbsp;&nbsp;<a href='http://www.fields.utoronto.ca/' style='color:#333;'>FIELDS</a><br>");
  document.write("&nbsp;&nbsp;<a href='http://www.ima.umn.edu/' style='color:#333;'>IMA</a><br>");
  document.write("&nbsp;&nbsp;<a href='http://www.ipam.ucla.edu/' style='color:#333;'>IPAM</a><br>");
  document.write("&nbsp;&nbsp;<a href='http://mbi.osu.edu/' style='color:#333;'>MBI</a><br>");
  document.write("&nbsp;&nbsp;<a href='http://www.mitacs.ca/main.php?mid=10000016&pid=76' style='color:#333;'>MITACS</a><br>");
  document.write("&nbsp;&nbsp;<a href='http://www.msri.org/' style='color:#333;'>MSRI</a><br>");
  document.write("&nbsp;&nbsp;<a href='http://www.nimbios.org/' style='color:#333;'>NIMBioS</a><br>");
  document.write("&nbsp;&nbsp;<a href='http://www.pims.math.ca/' style='color:#333;'>PIMS</a><br>");
  document.write("&nbsp;&nbsp;<a href='http://www.samsi.info/' style='color:#333;'>SAMSI</a><br>");


  document.write("</div>");
  document.write("</div>");
  document.write("<br>");
  document.write("<div style='width:85%;font-size:12px;color:#000;background-color:#ececff;border:1px solid #999;padding:3px;'>");
  document.write("<div><b><a href='http://www.fields.utoronto.ca/aboutus/IMSI.html' style='color:#333;'>International Math Sciences Institutes</a></b></div>");
  document.write("</div>");
  document.write("<br>");
  document.write("</center>");
}
function show_diversity_list2()
{
  document.write("<div id='search_nsf' align='center'>");
  //document.write("<form action='http://www.msri.org:8088/result2.jsp' method='get'>");
  document.write("<form action='http://www.mathinstitutes.org/search.php' method='get'>");
  document.write("<table border=0>");
  document.write("<tr><td><input name='searchvalue' size='20' onFocus='this.value=\"\"' onBlur='if(this.value==\"\") this.value=\"Search math institutes\"' value='Search math institutes' style='font-size:12px;'></td>");

  document.write("<td><input type=submit value='Go'></td>");
  document.write("</tr>");

  document.write("</table>");
  document.write("</form>");

  document.write("</div>");
  document.write("<center>");


  document.write("<div style='width:85%;font-size:12px;color:#000;background-color:#ececff;border:1px solid #999;padding:3px;'>");

  document.write("<div style='line-height:18px;'>");
  document.write("<div style='line-height:18px;'><b>NSF Math Institutes</b></div>");
  document.write("&nbsp;&nbsp;<a href='http://www.aimath.org/' style='color:#333;'>AIM</a><br>");
  document.write("&nbsp;&nbsp;<a href='http://www.math.ias.edu/' style='color:#333;'>IAS</a><br>");
  
document.write("&nbsp;&nbsp;<a href='http://icerm.brown.edu/' style='color:#333;'>ICERM</a><br>");
  document.write("&nbsp;&nbsp;<a href='http://www.ima.umn.edu/' style='color:#333;'>IMA</a><br>");
  document.write("&nbsp;&nbsp;<a href='http://www.ipam.ucla.edu/' style='color:#333;'>IPAM</a><br>");
  document.write("&nbsp;&nbsp;<a href='http://mbi.osu.edu/' style='color:#333;'>MBI</a><br>");
  document.write("&nbsp;&nbsp;<a href='http://www.msri.org/' style='color:#333;'>MSRI</a><br>");
  document.write("&nbsp;&nbsp;<a href='http://www.samsi.info/' style='color:#333;'>SAMSI</a><br>");

document.write("For more information, see <a href='/'>www.mathinstitutes.org</a>.");
  document.write("</div>");
  document.write("</div>");
  document.write("</center>");
}
function show_diversity_list()
{
  document.write("<div id='search_nsf' align='center'>");
  //document.write("<form action='http://www.msri.org:8088/result2.jsp' method='get'>");
  document.write("<form action='http://www.mathinstitutes.org/search.php' method='get'>");
  document.write("<table border=0>");
  document.write("<tr><td><input name='searchvalue' size='20' onFocus='this.value=\"\"' onBlur='if(this.value==\"\") this.value=\"Search math institutes\"' value='Search math institutes' style='font-size:12px;'></td>");

  document.write("<td><input type=submit value='Go'></td>");
  document.write("</tr>");

  document.write("</table>");
  document.write("</form>");

  document.write("</div>");
  document.write("<center>");


  document.write("<div style='width:85%;font-size:12px;color:#000;background-color:#ececff;border:1px solid #999;padding:3px;'>");

  document.write("<div style='line-height:18px;'>");
  document.write("<div style='line-height:18px;'><b>Member Institutes</b></div>");
  document.write("&nbsp;&nbsp;<a href='http://www.aimath.org/' style='color:#333;'>AIM</a><br>");
  document.write("&nbsp;&nbsp;<a href='http://www.birs.ca/' style='color:#333;'>BIRS</a><br>");
  document.write("&nbsp;&nbsp;<a href='http://www.crm.umontreal.ca/en/index.shtml/' style='color:#333;'>CRM</a><br>");
  document.write("&nbsp;&nbsp;<a href='http://www.fields.utoronto.ca/' style='color:#333;'>FIELDS</a><br>");
  document.write("&nbsp;&nbsp;<a href='http://www.math.ias.edu/' style='color:#333;'>IAS</a><br>");
  
document.write("&nbsp;&nbsp;<a href='http://icerm.brown.edu/' style='color:#333;'>ICERM</a><br>");
  document.write("&nbsp;&nbsp;<a href='http://www.ihes.fr/' style='color:#333;'>IHES</a><br>");
  document.write("&nbsp;&nbsp;<a href='http://www.ima.umn.edu/' style='color:#333;'>IMA</a><br>");
  document.write("&nbsp;&nbsp;<a href='http://www.ipam.ucla.edu/' style='color:#333;'>IPAM</a><br>");
  document.write("&nbsp;&nbsp;<a href='http://mbi.osu.edu/' style='color:#333;'>MBI</a><br>");
  document.write("&nbsp;&nbsp;<a href='http://www.msri.org/' style='color:#333;'>MSRI</a><br>");
  document.write("&nbsp;&nbsp;<a href='http://www.nimbios.org/ ' style='color:#333;'>NIMBioS</a><br>");
  document.write("&nbsp;&nbsp;<a href='http://www.niss.org//' style='color:#333;'>NISS</a><br>");
  document.write("&nbsp;&nbsp;<a href='http://www.pims.math.ca/' style='color:#333;'>PIMS</a><br>");
  document.write("&nbsp;&nbsp;<a href='http://www.samsi.info/' style='color:#333;'>SAMSI</a><br>");


  document.write("</div>");
  document.write("</div>");
  document.write("<br>");
  document.write("<div style='width:85%;font-size:12px;color:#000;background-color:#ececff;border:1px solid #999;padding:3px;'>");
  document.write("<div><b><a href='http://www.fields.utoronto.ca/aboutus/IMSI.html' style='color:#333;'>International Math Sciences Institutes</a></b></div>");
  document.write("</div>");
  document.write("<br>");
  document.write("</center>");
}
function show_other()
{

}


