function MakeArray(n)
  { 
   // Custom-built function that defines an array object. Note; the this keyword is shorthand
   // for the function name MakeArray (Step 2).                   
   this.length = n;
   for (var i = 1; i <= n; i++)
       {this[i] = 0 }
   return this
  }

// When used in conjunction with the custom-built function MakeArray that defines a new type
// of object, the new operator enables the creation of one (1) array (instance of the function
// MakeArray) called LinkTips to store link address tips (Step 1). 
LinkTips = new MakeArray(1); 

// Number of link address tips. 
LinkTips[0]  = "";  // *** Empty message used to clear the window's status bar ***.                 
LinkTips[1]  = "Frequently Asked Questions (FAQ)";        
LinkTips[2]  = "Company Profile, includes mission statement and contact information";        
LinkTips[3]  = "Contact us by telephone, FAX, mail, or Email";        
LinkTips[4]  = "Send an e-mail message to one of our departments";        
LinkTips[5]  = "Send an e-mail message to one of the company’s staff or technical support";         
LinkTips[6]  = "Use MapQuest to obtain maps and driving directions to our location (destination)";
LinkTips[7]  = "Go to top of Web page";
LinkTips[8]  = "Add our Web site to your list of favorites (bookmarks)";
LinkTips[9]  = "Home page, including links, questions and answers, maps and driving instructions";      
LinkTips[10] = "The Weather Channel - Find weather for city or U.S. ZIP";
LinkTips[11] = "Telephone number format - aaa-eee-nnnn. Area code is aaa, exchange is eee, number is nnnn";
LinkTips[12] = "Website provided by 1st Class Horse, please visit our website or call 1 (815) 675-9318";
LinkTips[13] = "Show webpage predefined colors and standard colors";
LinkTips[14] = "Website demo provided by 1st Class Horse, please call 1 (815) 675-9318";
LinkTips[15] = "Edit (update) the fields contained in the administrator record";
LinkTips[16] = "Delete administrator from the administration database (file)";
LinkTips[17] = "Add a new administrator to the administration database (file)";
LinkTips[18] = "Website help";
LinkTips[19] = "Edit (update) the employee fields contained in the Website record";
LinkTips[20] = "Delete Website employee";
LinkTips[21] = "Add a new employee to the Website database (file)";
LinkTips[24] = "The Weather Channel - Doppler Radar 600-Mile";
LinkTips[25] = "Go to Facebook page for 1st Class Horse Equine Directory";
LinkTips[26] = "Go to Facebook page for Chain O' Lakes State Park Riding Stable";

function writeTip(tipIndex)
  {              
   // Write the link tip in the window's status bar.
   window.status=(LinkTips[tipIndex]);
  } 

function getTip(tipIndex)
  {              
   // Obtain the link tip text (message).
   return (LinkTips[tipIndex]);
  } 

// Function used to dynamically change the Title of an element. 
function getElementTitle(elementID, toolTip)
  {
   document.getElementById(elementID).title = getTip(toolTip);
  }

