function preload_images()
{

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

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

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

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

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

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

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

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

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

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

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

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

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

  image7off = new Image();
  image7off.src = "/images/but7_off.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("<center><font size=2 face=arial><b>"+day_of_week+"</b><br>"+today+"</font></center><hr>");
}

function horizontal_menu()
{
  document.write("<td height=\"33\" valign=\"top\">");
  document.write("<a href=\"/films/\" onMouseOver=\"turnOn('image1')\" onMouseOut=\"turnOff('image1')\"><img src = \"/images/but1_off.jpg\" name=\"image1\" border=\"0\" width=\"138\" height=\"33\" align=\"bottom\"></a>");
  document.write("<a href=\"/acquire/\" onMouseOver=\"turnOn('image2')\" onMouseOut=\"turnOff('image2')\"><img src = \"/images/but2_off.jpg\" name=\"image2\" border=\"0\" width=\"140\" height=\"33\" align=\"bottom\"></a>");
  document.write("<a href=\"/press/\" onMouseOver=\"turnOn('image3')\" onMouseOut=\"turnOff('image3')\"><img src = \"/images/but3_off.jpg\" name=\"image3\" border=\"0\" width=\"140\" height=\"33\" align=\"bottom\"></a>");
  document.write("<a href=\"/about/\" onMouseOver=\"turnOn('image4')\" onMouseOut=\"turnOff('image4')\"><img src = \"/images/but4_off.jpg\" name=\"image4\" border=\"0\" width=\"139\" height=\"33\" align=\"bottom\"></a>");
  document.write("<a href=\"/about/contact_us.htm\" onMouseOver=\"turnOn('image5')\" onMouseOut=\"turnOff('image5')\"><img src = \"/images/but5_off.jpg\" name=\"image5\" border=\"0\" width=\"141\" height=\"33\" align=\"bottom\"></a>");
  document.write("<a href=\"/\" onMouseOver=\"turnOn('image6')\" onMouseOut=\"turnOff('image6')\"><img src = \"/images/but6_off.jpg\" name=\"image6\" border=\"0\" width=\"82\" height=\"33\" align=\"bottom\"></a>");
  document.write("</td>");
}

function horizontal_menu_2()
{
  document.write("<td width=\"780\" height=\"129\" valign=\"top\">");
  document.write("<img src=\"/images/butunder.jpg\" border=\"0\" width=\"780\" height=\"129\" align=\"bottom\">");
  document.write("</td>");
}

function horizontal_menu_bottom()
{
  document.write("<td height=\"35\" valign=\"middle\" align=\"center\">");
  document.write("<font color=\"#BB3500\" size=\"1\" face=\"arial\">");
  document.write("<a href=\"/\" class=\"text_9pt_futura\">Home</a> :: ");
  document.write("<a href=\"/films\" class=\"text_9pt_futura\">Films</a> :: ");
  document.write("<a href=\"/acquire/\" class=\"text_9pt_futura\">Acquisitions</a> :: ");
  document.write("<a href=\"/press/\" class=\"text_9pt_futura\">Press</a> :: ");
  document.write("<a href=\"/about/\" class=\"text_9pt_futura\">About Us</a> :: ");
  document.write("<a href=\"/about/contact_us.htm\" class=\"text_9pt_futura\">Contact</a>");
  document.write("</font></td>");
}

function micarproductions_splash()
{
  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=\"736\" height=\"750\">");
  document.write("<param name=movie value=\"/micarproductions.swf\">");
  document.write("<param name=quality value=high>");
  document.write("<param name=wmode value=transparent>");
  document.write("<embed src=\"/micarproductions.swf\" quality=high wmode=transparent pluginspage=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\" type=\"application/x-shockwave-flash\" width=\"736\" height=\"750\">");
  document.write("</embed>");
  document.write("</object>");
}

function time_and_tide_trailer()
{
  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=\"320\" height=\"188\">");
  document.write("<param name=movie value=\"/trailers/time_and_tide_trailer.swf\">");
  document.write("<param name=loop value=false>");
  document.write("<param name=quality value=high>");
  document.write("<param name=wmode value=transparent>");
  document.write("<embed src=\"/trailers/time_and_tide_trailer.swf\" loop=false quality=high wmode=transparent pluginspage=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\" type=\"application/x-shockwave-flash\" width=\"320\" height=\"188\">");
  document.write("</embed>");
  document.write("</object><br>");
}

function the_sleep_of_reason_trailer()
{
  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=\"320\" height=\"174\">");
  document.write("<param name=movie value=\"/trailers/the_sleep_of_reason_trailer.swf\">");
  document.write("<param name=loop value=false>");
  document.write("<param name=quality value=high>");
  document.write("<param name=wmode value=transparent>");
  document.write("<embed src=\"/trailers/the_sleep_of_reason_trailer.swf\" loop=false quality=high wmode=transparent pluginspage=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\" type=\"application/x-shockwave-flash\" width=\"320\" height=\"174\">");
  document.write("</embed>");
  document.write("</object><br>");
}

function press_quote()
{
  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=\"375\" height=\"42\">");
  document.write("<param name=movie value=\"/press_quote.swf\">");
  document.write("<param name=loop value=false>");
  document.write("<param name=quality value=high>");
  document.write("<param name=wmode value=transparent>");
  document.write("<embed src=\"/press_quote\" loop=false quality=high wmode=transparent pluginspage=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\" type=\"application/x-shockwave-flash\" width=\"375\" height=\"42\">");
  document.write("</embed>");
  document.write("</object><br>");
}

function flame()
{
  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=\"40\" height=\"60\">");
  document.write("<param name=movie value=\"/flame.swf\">");
  document.write("<param name=loop value=false>");
  document.write("<param name=quality value=high>");
  document.write("<param name=wmode value=transparent>");
  document.write("<embed src=\"/flame\" loop=false quality=high wmode=transparent pluginspage=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\" type=\"application/x-shockwave-flash\" width=\"40\" height=\"60\">");
  document.write("</embed>");
  document.write("</object><br>");
}