// Copyright © 1999 Doug Popeney
// Created by Doug Popeney (easyjava@easyjavascipt.com)
// JavaScript Made Easy!! - http://www.easyjavascript.com
// Modified by Justin Hannum for http://www.businesscomputersystem.com

// Script #1 for service page changing text
var sid="mitnamdliw_wildmantim";
//Array function compatible with Netscape 2.0x and 3.0x
function MakeArray(n) {                 
   this.length = n;
   for (var i = 1; i <= n; i++) { 
     this[i] = 0 }
     return this
     }
//create an array to store tips
//each button in the graphic requires an entry here
var ToolTips = new MakeArray(1);
        ToolTips[0] = 1; //number of tips
        ToolTips[1] = "Check out our Monthly Computer Specials!";
        ToolTips[2] = "Affordable and Backed by Our 90 Day Warranty.";
        ToolTips[3] = "Tired of Running that old 486? Contact Us for an Upgrade Price!";
        ToolTips[4] = "Printers, Scanners, and All Computer Related Add-Ons.";
        ToolTips[5] = "BCS Has a Long History of Recovering Data When the Others Fail.";
        ToolTips[6] = "Regular Cleanings Keep Equipment Looking and Working Like New.";
        ToolTips[7] = "New Installations and Diagnostic Help for All Your Networking Needs.";
        ToolTips[8] = "";

function writeTip(imgIndex ){        
      document.tooltipsform.tips.value=(ToolTips[imgIndex]);
}

// Script #2 for image changing buttons
   var NN3 = false;
   img = new Array
    
   // Main Menu
   image4 = new Image();
   image4.src = "../images/mm-home-off.gif";
   image4on = new Image();
   image4on.src = "../images/mm-home-on.gif";

   image5 = new Image();
   image5.src = "../images/mm-products-off.gif";
   image5on = new Image();
   image5on.src = "../images/mm-products-on.gif";

   image6 = new Image();
   image6.src = "../images/mm-services-off.gif";
   image6on = new Image();
   image6on.src = "../images/mm-services-on.gif";

   image7 = new Image();
   image7.src = "../images/mm-classifieds-off.gif";
   image7on = new Image();
   image7on.src = "../images/mm-classifieds-on.gif";

   image8 = new Image();
   image8.src = "../images/mm-feedback-off.gif";
   image8on = new Image();
   image8on.src = "../images/mm-feedback-on.gif";

   image9 = new Image();
   image9.src = "../images/mm-about_us-off.gif";
   image9on = new Image();
	image9on.src = "../images/mm-about_us-on.gif";
      
   function on3(name)
   {
   document[name].src = eval(name + "on.src");
   }

   function off3(name)
   {
   document[name].src = eval(name + ".src");
   }

   NN3 = true;

   function on(name)
   {
   if (NN3) on3(name);
   }

   function off(name)
   {
   if (NN3) off3(name);
   }

