/* [*]------------------------------------------------------------[*]
    |
    |  JScript Global Variables
    |
   [*]------------------------------------------------------------[*]*/
   var bImagesLoaded = false;

   var imgOn      = new BuildImageArray("images/TitlePage/rollGainOn.jpg",
                                        "images/TitlePage/rollPerformOn.jpg",
                                        "images/TitlePage/rollStreamlineOn.jpg",
                                        "images/TitlePage/rollEnhancedOn.jpg",
                                        "images/TitlePage/rollExpandOn.jpg");

   var imgOff     = new BuildImageArray("images/TitlePage/rollGainOff.jpg",
                                        "images/TitlePage/rollPerformOff.jpg",
                                        "images/TitlePage/rollStreamlineOff.jpg",
                                        "images/TitlePage/rollEnhancedOff.jpg",
                                        "images/TitlePage/rollExpandOff.jpg");

   var imgMessage = new BuildImageArray("images/TitlePage/txtLMIMessage.jpg",
                                        "images/TitlePage/txtGainMessage.jpg",
                                        "images/TitlePage/txtPerformMessage.jpg",
                                        "images/TitlePage/txtStreamlineMessage.jpg",
                                        "images/TitlePage/txtEnhancedMessage.jpg",
                                        "images/TitlePage/txtExpandMessage.jpg");

   var rgsMessage = ["Improve Quality and Profitability by "            +
                     "Outsourcing Transportation Management to LMI",
                     "Take advantage of what over 2,500 manufacturers "  +
                     "and distributors are benefiting from by having "  +
                     "LMI manage your transportation processes.",
                     "LMI will perform a complimentary base line "      +
                     "study assessment of all your LTL and truckload "  +
                     "transportation cost.  Our average savings "       +
                     "projections for most companies fall between "     +
                     "10 to 30 percent.",
                     "Your company can reduce clerical and AP expense " +
                     "through our automated bill processing and "       +
                     "information visibility capabilities.",
                     "Our web-based software (MyLMI) can be your "      +
                     "companies single source for rate quoting and "    +
                     "access to shipment and financial data.",
                     "Our staff of dedicated customer service "         +
                     "professionals can assist your company with any "   +
                     "freight related situation."
                    ];

   bImagesLoaded  = true;

/* [*]------------------------------------------------------------[*]
    |
    |
    |
   [*]------------------------------------------------------------[*]*/
function BuildImageArray()
{
   this.iLength = BuildImageArray.arguments.length;

   for (var i = 0; i < this.iLength; i++)
   {
      this[i]     = new Image();
      this[i].src = BuildImageArray.arguments[i];
   }
}

/* [*]------------------------------------------------------------[*]
    |
    |
    |
   [*]------------------------------------------------------------[*]*/
function MouseOver(imgSource, iIndex)
{
   imgSource.src           = imgOn[iIndex].src;
   imgSource.style.cursor  = "hand";
   frmLogin.imgMessage.src = imgMessage[iIndex + 1].src;
}

/* [*]------------------------------------------------------------[*]
    |
    |
    |
   [*]------------------------------------------------------------[*]*/
function MouseOut(imgSource, iIndex)
{
   imgSource.src           = imgOff[iIndex].src;
   frmLogin.imgMessage.src = imgMessage[0].src;
}

/* [*]------------------------------------------------------------[*]
    |
    |
    |
   [*]------------------------------------------------------------[*]*/
function CenterPanel()
{
   frmLogin.imgMessage.src = imgMessage[0].src;
   divPage.style.left      = (document.body.clientWidth - divPage.clientWidth) / 2;
}

/* [*]------------------------------------------------------------[*]
    |
    |                                End JScript
    |
   [*]------------------------------------------------------------[*]*/
