//******************************************************************************
//
//    Martin Labs News JavaScript Tools v1.0
//
//    Created: June 25, 2002
//    Last Updated: Original
//    Author: Capt. W. L. "Bill" Martin Jr., ATP
//    JavaScript Code Copyright (c) 2002-2009 - Martin Labs
//
//    Change History:
//
//    20020625:
//    Capt. W. L. "Bill" Martin Jr., ATP
//    Original
//
//******************************************************************************


//    Global Variables
//    **************************************************************************

   var NW = '';      // News Write *********************************************

   var MLNewsBriefs = [
      // Key to MLNewsBriefs Array *********************************************
      // link , NewsBrief Title/Status Text
      ['020618' , 'Final Projector Selection Delayed'],
      ['020516' , 'VABU Hardware &quot;Locked Down&quot;']
      ];
      // Make sure that there is NO comma on the last valid entry!

   var MLPressReleases = [
      // Key to MLPressReleases Array ******************************************
      // .htm file   , Press Release Title/Status Text
      ['20020506pr1' , 'First Public Showing A &quot;Grand&quot; Success'],
      ['20020501pr1' , 'Patent Process Proceeding To Public Showings'],
      ['20011104pr1' , 'Proof Of Concept System Complete']
      ];
      // Make sure that there is NO comma on the last valid entry!


//    News Writer
//    **************************************************************************

function MLWriteNews()
{
   var i;
   MLMenuDepthLinkCalc();
   NW = NW + '<br>';
   NW = NW + '<p class="newsflash">';
   NW = NW + '<a ';
   NW = NW + 'href="' + MLMenuDepthLink + 'parents/news.htm#news" ';
   NW = NW + 'style="text-decoration: none ! important; color: #eeeeee ! important;" ';
   NW = NW + 'onmouseover="self.status = \'       Jump to Martin Labs News\'; ';
   NW = NW + 'return true;">';
   NW = NW + 'NewsBriefs';
   NW = NW + '</a>';
   NW = NW + '</p>';
   for (i = 0; i <MLNewsBriefs.length; i++)
      {
      if (i > 0)
         {
         NW = NW + '<hr align = "center" size = "3" width = "50%" color = "003366" noshade>';
         }
      NW = NW + '<p class="address">';
      NW = NW + '<a ';
      NW = NW + 'href="' + MLMenuDepthLink + 'parents/news.htm#' + MLNewsBriefs[i][0] + '" ';
      NW = NW + 'style="text-decoration: none ! important;" ';
      NW = NW + 'MLMouseOverStyle="font-size: 10px ! important;" ';
      NW = NW + 'onmouseover="MLMouseOver(this);';
      NW = NW + 'self.status = \'       Jump to ' + MLNewsBriefs[i][1] + ' NewsBrief\'; ';
      NW = NW + 'return true;" ';
      NW = NW + 'onmouseout="MLMouseOut(this);">' + MLNewsBriefs[i][1]
      NW = NW + '</a>';
      NW = NW + '</p>';
      }
   NW = NW + '<br>';
   NW = NW + '<p class="newsflash">';
   NW = NW + '<a ';
   NW = NW + 'href="' + MLMenuDepthLink + 'parents/news.htm#press" ';
   NW = NW + 'style="text-decoration: none ! important; color: #eeeeee ! important;" ';
   NW = NW + 'onmouseover="self.status = \'       Jump to Martin Labs News\'; ';
   NW = NW + 'return true;">';
   NW = NW + 'Press Releases';
   NW = NW + '</a>';
   NW = NW + '</p>';
   for (i = 0; i < MLPressReleases.length; i++)
      {
      if (MLPageName != MLPressReleases[i][0])
         {
         NW = NW + '<p class="address">';
         NW = NW + '<a ';
         NW = NW + 'href="' + MLMenuDepthLink + 'children/pressreleases/' + MLPressReleases[i][0] + '.htm" ';
         NW = NW + 'style="text-decoration: none ! important;" ';
         NW = NW + 'MLMouseOverStyle="font-size: 10px ! important;" ';
         NW = NW + 'onmouseover="MLMouseOver(this);';
         NW = NW + 'self.status = \'       Jump to ' + MLPressReleases[i][1] + ' Press Release\'; ';
         NW = NW + 'return true;" ';
         NW = NW + 'onmouseout="MLMouseOut(this);">' + MLPressReleases[i][1]
         NW = NW + '</a>';
         NW = NW + '</p>';
         NW = NW + '<hr align = "center" size = "3" width = "50%" color = "003366" noshade>';
         }
      }
   NW = NW + '<p class="addressright">';
   NW = NW + '<a ';
   NW = NW + 'href="mailto:Press@MartinLabs.com" ';
   NW = NW + 'style="text-decoration: none ! important;" ';
   NW = NW + 'MLMouseOverStyle="font-size: 10px ! important;" ';
   NW = NW + 'onmouseover="MLMouseOver(this);self.status = \'       eMail Martin Labs Press Liaison\'; return true;" ';
   NW = NW + 'onmouseout="MLMouseOut(this);"';
   NW = NW + '>';
   NW = NW + 'Press@MartinLabs.com';
   NW = NW + '</a>';
   NW = NW + '</p>';
   document.getElementById("MLNews").innerHTML = NW;
}


//    End
//    **************************************************************************
