/* *****
 * User defined fade objects and messages
 *
 * These messages are used in fades triggered by mouseovers and
 * mouseouts on table cells.  They are the simplest type of fade and
 * require no extra Javascript code.
 */
var fader = new Array();

fader[0] = new fadeObject('fade0', 'dddddd', '000000', 20, 20);
fader[0].msg[0] = "This is an optional default message; the fade object on the right side has no default.  Mouseover each topic to make quotes fade in and out.";
fader[0].msg[1] = "Nowhere can a man find a quieter or more untroubled retreat than in his own soul.<br />- Marcus Aurelius";
fader[0].msg[2] = "Feeding the starving poor only increases their number.<br />- Ben Bova";
fader[0].msg[3] = "The limits of tyrants are prescribed by the endurance of those whom they oppose.<br />- Frederick Douglass";
fader[0].msg[4] = "The foolish man seeks happiness in the distance, the wise grows it under his feet.<br />- James Oppenheim";

fader[1] = new fadeObject('fade1', 'bbbbbb', '000000', 20, 20);
fader[1].msg[1] = "Success is relative. It is what we can make of the mess we have made of things.<br />- T.S. Eliot";
fader[1].msg[2] = "We have two ears and one mouth so we may listen more and talk the less.<br />- Epictetus";
fader[1].msg[3] = "It is better to be violent, if there is violence in our hearts, than to put on the cloak of nonviolence to cover impotence.<br />- Mahatma Gandhi";
fader[1].msg[4] = "Don't part with your illusions. When they are gone you may still exist, but you have ceased to live.<br />- Mark Twain";



/* *****
 * The code below describes how to make a throbbing or automatic fade
 * sequence of messages.  It is important to note that this function is
 * NOT part of the Buffered Text-Fade Effect, but merely an example of
 * how it can be used.  In this example, the throb() function controls
 * the commands which are sent to the fade engine; it is called
 * repeatedly at set time intervals rather than using mouseover events
 * as triggers.
 *
 * Notes:
 * - A global array "hash" is used to keep track of where each
 *   animation is currently in the sequence.
 * - The list of messages defined in the fader *must* start at one (1)
 *   and count upwards without skipping any integers.
 * - The third line of the throb() function controls how fast
 *   commands get sent to the fade engine.  It waits only 100 milli-
 *   seconds when fading out, but 5000 milliseconds (5 seconds) when
 *   fading in; this means the message will remain visible for about 5
 *   seconds before fading out again.
 *
 * Other types of fade animation are possible simply by designing
 * different ways to control the fade-ins and fade-outs!
 */
var hash = new Array();
function throb(item) {

  // If the hash array does not have an entry for this item, initialise it at 2
  if (!hash[item]) hash[item] = 2;

  // Send a fade command, using the hash array to tell us what parameters we should use
  fader[item].fade(Math.floor(hash[item] / 2), !(hash[item] % 2));

  // Call this function again for this same item after a certain amount of time
  setTimeout(function() {throb(item);}, (hash[item] % 2) ? 500 : 9000);

  // If we have exceeded the number of messages in this fader, start over again at 2
  if (++hash[item] > fader[item].msg.length * 2 - 1) hash[item] = 2;
}

fader[2] = new fadeObject('quote1', 'ffffff', '666666', 30, 30);
fader[2].msg[1] = "VNet Professionals went above and beyond our expectations! Antonio has followed up with phone calls and emails to ensure we were satisfied with computer support and IT services received. We HIGHLY recommend their IT service to anyone!<br /><br />- Keller Williams, Temecula, CA";
fader[2].msg[2] = "VNet Professionals has provided IT service for our company for the past three years. They have always been quick to respond, very professional, and reliable. Thank you VNET!<br /><br />- Fire Etc., San Diego, CA";
fader[2].msg[3] = "VNet Professionals is the right solution provider for VoIP and data networking in the greater San Diego area. Antonio is an expert on IP Telephony and converged data applications such as presence management, find me/follow me, remote phones, site-to-site calling and SIP Trunking. I highly recommend Antonio and his team as your one stop IP solutions partner.<br /> <br />- Allworx, Wester Region, USA";
fader[2].msg[4] = "We are working remotely and have successfully with VNet Professionals' help (Antonio.) He helped us setup our server and desktops to allow for Mobile and remote access as our staff is always on the move at job sites. We need to be responsive and VNet made it happen for us. Thanks for your help and for making us productive.<br /> <br />- Jaime Construction, San Diego, CA";
fader[2].msg[5] = "You guys had clarity in brevity, and the responsiveness and willingness to go the extra mile was awesome. I am going to tell all my friends, family, neighbors, associates, and colleagues how awesome it is to interact with VNet Professionals.<br /> <br />- OCIO Design Group, San Diego, CA";
fader[2].msg[6] = "Antonio and his staff are always there when you need your IT Team. We have used VNet Professionals to resolve several major issues as well as some common PC errors. They are currently working to change our server out to incorporate Small Business server.<br /> <br />- Allegro Furniture, Otay Mesa, CA";
fader[2].msg[7] = "VNet Professionals has friendly staff, excellent and prompt service every time. No disruption to our business, the changes and updates needed to our systems were <br /> <br />- Spa Velia, San Diego, CA";
fader[2].msg[8] = "I couldn't have asked for better service. VNet Professionals were quick to respond. They were very professional and personable. I'm not very tech savvy and they were able to explain the situation to me in plain English. They were very efficient, fast, reliable, what more can I say. A+++ all around! Thank you VNet Professionals. You saved me and my business!<br /><br />- SD Photography, Chula Vista, CA";
fader[2].msg[9] = "When I need support I expect it right away. When I call their office there is always someone there to answer my call. This is important to me and my business, my business runs on “NOW TIME” and cannot wait for the next day. When I need support they are always there for me. So I am posting this for them.<br /><br />- Law Firm, Downtown San Diego, CA";
fader[2].msg[10] = "Antonio is a true professional. He always goes the extra mile for his clients in service and commitment. His expertise and his reputation as an honest, hard-working, ethical and devout professional are an inspiration to his staff.<br /><br />- DLC Interior Design, Del Mar, CA";


// Start this fader
setTimeout(function() {throb(2);}, 1000);



var hash = new Array();

function throb(item) {

  // If the hash array does not have an entry for this item, initialise it at 2
  if (!hash[item]) hash[item] = 3;

  // Send a fade command, using the hash array to tell us what parameters we should use
  fader[item].fade(Math.floor(hash[item] / 3), !(hash[item] % 3));

  // Call this function again for this same item after a certain amount of time
  setTimeout(function() {throb(item);}, (hash[item] % 3) ? 500 : 9000);

  // If we have exceeded the number of messages in this fader, start over again at 2
  if (++hash[item] > fader[item].msg.length * 3 - 1) hash[item] = 3;
}

fader[3] = new fadeObject('quote2', 'ffffff', '666666', 30, 30);
fader[3].msg[1] = "VNet Professionals provides monitoring 24 / 7 and support on demand. We understand your emergency is our emergency and we are quick to respond.";
fader[3].msg[2] = "We LOVE Small & Medium Size Business clients and will do whatever it takes to customize the right solutions to meet your specific needs.";
fader[3].msg[3] = "Fast respond to our client request is our Number One Commitment.";
fader[3].msg[4] = "We are Committed to you as a business and we build long term business relationships.";
fader[3].msg[5] = "We are VNet Professionals, The Next Generation of Computer and IT Services. Providing complete IT Services for Small & Medium Businesses (SMB) is our area of expertise.";
fader[3].msg[6] = "VNet Professionals is the IT Specialist San Diego Small and Medium Size Businesses trust most.";
fader[3].msg[7] = "We know how important it is to minimize interruption. We schedule system upgrades and service calls after normal business hours to avoid disrupting your business.";
fader[3].msg[8] = "VNet Professionals give Small & Medium Size Business the computer infrastructure and support enjoyed by Large Businesses.";
fader[3].msg[9] = "VNet Professionals has invested to have the most advanced tools in the IT industry to troubleshoot and resolve any IT Support request.";
fader[3].msg[10] = "We promise to never confuse or frustrate you with “computer mumbo jumbo” and will answer all of your questions in “plain English”.";

// Start this fader
setTimeout(function() {throb(3);}, 1000);



var hash = new Array();

function throb(item) {

  // If the hash array does not have an entry for this item, initialise it at 2
  if (!hash[item]) hash[item] = 4;

  // Send a fade command, using the hash array to tell us what parameters we should use
  fader[item].fade(Math.floor(hash[item] / 4), !(hash[item] % 4));

  // Call this function again for this same item after a certain amount of time
  setTimeout(function() {throb(item);}, (hash[item] % 4) ? 500 : 9000);

  // If we have exceeded the number of messages in this fader, start over again at 2
  if (++hash[item] > fader[item].msg.length * 4 - 1) hash[item] = 3;
}

fader[4] = new fadeObject('quote3', 'ffffff', '666666', 30, 30);
fader[4].msg[1] = "We are always there when you need us (locally based in San Diego) and we know that adds Value to our Service.";
fader[4].msg[2] = "We take the time to understand your business process and customize a solution to sustain your business. As every business needs are different so should the solution.";
fader[4].msg[3] = "We have the most advanced IT tools in the industry to troubleshoot and resolve any Computer, Server, VoIP and Network request.";
fader[4].msg[4] = "We save our customers real dollars while increasing uptime of their systems. Just by having the right IT Tools to improve efficiency.";
fader[4].msg[5] = "Our Remote Management Solution provides you a quick respond to solve any request within minutes from your call, email or ticket creation..";
fader[4].msg[6] = "Going GREEN? We are one of the very few IT firms that can provide energy use per device daily, monthly and yearly and we can schedule shutdown to save energy.";
fader[4].msg[7] = "Our Executive scheduled Reports on all your networked devices will provide you with Real Time, Trend and Predictive analysis.";
fader[4].msg[8] = "We provide Peace of Mind on Increased Network Visibility, Security, Remote Support, Green Power Management and much more...";
fader[4].msg[9] = "Try our VNet Professionals' Complete IT Outsourcing Solution, month to month Service, no long term agreements. It is up to us to keep you as a Client.";
fader[4].msg[10] = "Our Data Protection Solution is second to none and we will restore to any hardware in time of need. Saving your Business...See our Case Studies.";

// Start this fader
setTimeout(function() {throb(4);}, 1000);