function preload_images()
{

  image1on = new Image();
  image1on.src = "/images/but1b.jpg";

  image2on = new Image();
  image2on.src = "/images/but2b.jpg";

  image3on = new Image();
  image3on.src = "/images/but3b.jpg";

  image4on = new Image();
  image4on.src = "/images/but4b.jpg";

  image5on = new Image();
  image5on.src = "/images/but5b.jpg";

  image6on = new Image();
  image6on.src = "/images/but6b.jpg";

  image7on = new Image();
  image7on.src = "/images/but7b.jpg";

  image8on = new Image();
  image8on.src = "/images/but8b.jpg";

  image9on = new Image();
  image9on.src = "/images/but9b.jpg";

  image10on = new Image();
  image10on.src = "/images/but10b.jpg";

  image11on = new Image();
  image11on.src = "/images/but11b.jpg";

  image1off = new Image();
  image1off.src = "/images/but1a.jpg";

  image2off = new Image();
  image2off.src = "/images/but2a.jpg";

  image3off = new Image();
  image3off.src = "/images/but3a.jpg";

  image4off = new Image();
  image4off.src = "/images/but4a.jpg";

  image5off = new Image();
  image5off.src = "/images/but5a.jpg";

  image6off = new Image();
  image6off.src = "/images/but6a.jpg";

  image7off = new Image();
  image7off.src = "/images/but7a.jpg";

  image8off = new Image();
  image8off.src = "/images/but8a.jpg";

  image9off = new Image();
  image9off.src = "/images/but9a.jpg";

  image10off = new Image();
  image10off.src = "/images/but10a.jpg";

  image11off = new Image();
  image11off.src = "/images/but11a.jpg";

}

function turnOn(imagename) {
  if (document.images) {
    document[imagename].src = eval(imagename + "on.src");
  }
}

function turnOff(imagename) {
  if (document.images) {
    document[imagename].src = eval(imagename + "off.src");
  }
}

function show_date()
{
// ***********************************************
// AUTHOR: WWW.CGISCRIPT.NET, LLC
// URL: http://www.cgiscript.net
// Use the script, just leave this message intact.
// Download your FREE CGI/Perl Scripts today!
// ( http://www.cgiscript.net/scripts.htm )
// ***********************************************

// Get today's current date.
var now = new Date();

// Array list of days.
var days = new Array('Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday');

// Array list of months.
var months = new Array('January','February','March','April','May','June','July','August','September','October','November','December');

// Calculate the number of the current day in the week.
var date = ((now.getDate()<10) ? "0" : "")+ now.getDate();

// Calculate four digit year.
function fourdigits(number)	{
	return (number < 1000) ? number + 1900 : number;
								}

// Join it all together
// today =  days[now.getDay()] + ", " +
//               months[now.getMonth()] + " " +
//                date + ", " +
//                 (fourdigits(now.getYear())) ;
// 
day_of_week = days[now.getDay()]
today =  months[now.getMonth()] + " " +
               date + ", " +
                (fourdigits(now.getYear())) ;

// Print out the data.
document.write("<font size='2' face='arial, helvetica, sans serif'>"+day_of_week+", "+today+"</font>");
}

function vertical_menu()
{
  document.write("<table width=\"209\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">");
  document.write("<tr><td><a href=\"/\" onMouseOver=\"turnOn('image1')\" onMouseOut=\"turnOff('image1')\"><img src = \"/images/but1a.jpg\" name=\"image1\" border=\"0\" width=\"209\" height=\"23\" align=\"bottom\"></a></td></tr>");
  document.write("<tr><td><a href=\"/summary/\" onMouseOver=\"turnOn('image2')\" onMouseOut=\"turnOff('image2')\"><img src = \"/images/but2a.jpg\" name=\"image2\" border=\"0\" width=\"209\" height=\"22\" align=\"bottom\"></a></td></tr>");
  document.write("<tr><td><a href=\"\/clinical/\" onMouseOver=\"turnOn('image3')\" onMouseOut=\"turnOff('image3')\"><img src = \"/images/but3a.jpg\" name=\"image3\" border=\"0\" width=\"209\" height=\"22\" align=\"bottom\"></a></td></tr>");

  document.write("<tr><td><a href=\"\/fda/\" onMouseOver=\"turnOn('image8')\" onMouseOut=\"turnOff('image8')\"><img src = \"/images/but8a.jpg\" name=\"image8\" border=\"0\" width=\"209\" height=\"22\" align=\"bottom\"></a></td></tr>");

  document.write("<tr><td><a href=\"\/about/\" onMouseOver=\"turnOn('image4')\" onMouseOut=\"turnOff('image4')\"><img src = \"/images/but4a.jpg\" name=\"image4\" border=\"0\" width=\"209\" height=\"22\" align=\"bottom\"></a></td></tr>");
  document.write("<tr><td><a href=\"\/presentation/\" onMouseOver=\"turnOn('image5')\" onMouseOut=\"turnOff('image5')\"><img src = \"/images/but5a.jpg\" name=\"image5\" border=\"0\" width=\"209\" height=\"22\" align=\"bottom\"></a></td></tr>");
  document.write("<tr><td><a href=\"\/partners/\" onMouseOver=\"turnOn('image6')\" onMouseOut=\"turnOff('image6')\"><img src = \"/images/but6a.jpg\" name=\"image6\" border=\"0\" width=\"209\" height=\"22\" align=\"bottom\"></a></td></tr>");
  document.write("<tr><td><a href=\"\/links/\" onMouseOver=\"turnOn('image7')\" onMouseOut=\"turnOff('image7')\"><img src = \"/images/but7a.jpg\" name=\"image7\" border=\"0\" width=\"209\" height=\"22\" align=\"bottom\"></a></td></tr>");
  document.write("<tr><td><a href=\"\/about/contact_us.htm\" onMouseOver=\"turnOn('image10')\" onMouseOut=\"turnOff('image10')\"><img src = \"/images/but10a.jpg\" name=\"image10\" border=\"0\" width=\"209\" height=\"32\" align=\"bottom\"></a></td></tr>");
  document.write("</table>");
}

function footer()
{
  document.write("<hr size='3' color='#4393b8' width='500'>");
  document.write("<br>");
  document.write("<div align='center' style='font: 10pt arial, helvetica, sans serif;'>");
  document.write("<a href='/' class='text_9pt'>Home</a> :: ");
  document.write("<a href='/summary/' class='text_9pt'>Executive Summary</a> :: ");
  document.write("<a href='/clinical/' class='text_9pt'>Clinical Studies</a> :: ");
  document.write("<a href='/fda/' class='text_9pt'>FDA</a> :: ");
  document.write("<a href='/about/' class='text_9pt'>Management Team</a><br> ");
  document.write("<a href='/presentation/' class='text_9pt'>Presentation</a> :: ");
  document.write("<a href='/partners/' class='text_9pt'>Partners</a> :: ");
  document.write("<a href='/links/' class='text_9pt'>Links</a> :: ");
  document.write("<a href='/about/contact_us.htm' class='text_9pt'>Contact Us</a>");
  document.write("</div>");
}

function dna_movie()
{
  document.write("<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0\" width=\"240\" height=\"180\">");
  document.write("<param name=movie value=\"/dna.swf\">");
  document.write("<param name=quality value=high>");
  document.write("<param name=wmode value=transparent>");
  document.write("<embed src=\"/dna.swf\" quality=high wmode=transparent pluginspage=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\" type=\"application/x-shockwave-flash\" width=\"240\" height=\"180\">");
  document.write("</embed>");
  document.write("</object>");
}