/*************************************************************************
  This code is from Dynamic Web Coding at www.dyn-web.com
  Copyright 2001-5 by Sharon Paine 
  See Terms of Use at www.dyn-web.com/bus/terms.html
  regarding conditions under which you may use this code.
  This notice must be retained in the code as is!
*************************************************************************/

function doTooltip(e, ar) {
    if ( typeof Tooltip == "undefined" || !Tooltip.ready ) return;
    var cntnt = wrapTipContent(ar);
    var tip = document.getElementById( Tooltip.tipID );
    if ( ar[2] ) tip.style.width = ar[2] + "px";
    else tip.style.width = Tooltip.defaultWidth + "px";
    Tooltip.show(e, cntnt);
}

function hideTip() {
    if ( typeof Tooltip == "undefined" || !Tooltip.ready ) return;
    Tooltip.hide();
}

function wrapTipContent(ar) {
    var cntnt = "";
    if ( ar[0] ) cntnt += '<div class="img"><img src="' + ar[0] + '" /></div>';
    if ( ar[1] ) cntnt += '<div class="txt">' + ar[1] + '</div>';
    return cntnt;
}

// tooltip content here
var messages = new Array();
// array elements: image file name, optional text, optional width of tooltip 
// NOTE: Be sure width you specify is at least image width + 2 X border-width + 2 X padding-width !

// used on service-one-quote.html (which is actually service category #3 !!!)
messages[0] = ['resources/HelpTagLogo.gif', 'unused', 180];
messages[1] = ['resources/HelpTagLogo.gif', 'Please select the appropriate range for the number of telephones you will need connected to your phone system.', 180];
messages[2] = ['resources/HelpTagLogo.gif', 'Please remember that each call, including people on hold, uses a line.  Please choose the option that best fits your business needs.', 180];
messages[3] = ['resources/HelpTagLogo.gif', 'Please specify whether or not you are interested in financing and leasing options for your phone system.  If you are unsure, please mark the \"unsure/no preference\" option.', 180];
messages[4] = ['resources/HelpTagLogo.gif', 'Please specify when you would like your phone systems to be delivered.  Although this is a non-binding estimate on your part, your potential phone system vendors will be notified of your time constraints.', 180];
messages[5] = ['resources/HelpTagLogo.gif', 'Please put the ZIP code of the location the phone systems will be.', 180];
messages[6] = ['resources/HelpTagLogo.gif', 'category 1, question 6', 180];
messages[7] = ['resources/HelpTagLogo.gif', 'category 1, question 7', 180];
messages[8] = ['resources/HelpTagLogo.gif', 'category 1, question 8', 180];
messages[9] = ['resources/HelpTagLogo.gif', 'category 1, question 9', 180];

// used on service-two-quote.html
messages[10] = ['resources/HelpTagLogo.gif', 'unused', 180];
messages[11] = ['resources/HelpTagLogo.gif', 'Please choose the option that best fits your need.  If you are unsure, please mark \"unsure/no preference\".', 180];
messages[12] = ['resources/HelpTagLogo.gif', 'Please mark the choice that best describes your needs.  Here\'s a hint: the number of phones you need connected to the system is equal to the number of users you want the system to support. ', 180];
messages[13] = ['resources/HelpTagLogo.gif', 'If you do not currently have a LAN, then click here to order T1 data services, as you will need it in order to operate your VoIP phone system.  Ask the VoIP phone system dealers about their connections.  If you do have a LAN, the VoIP phone system provider will make bandwidth recommendations.', 180];
messages[14] = ['resources/HelpTagLogo.gif', 'These are just rough estimates-you will not be held to these estimates. However, potential VoIP vendors will be informed of your requested time constraints. ', 180];
messages[15] = ['resources/HelpTagLogo.gif', 'Please specify the 5 digit ZIP code of the location at which the VoIP phone system will be installed.', 180];
messages[16] = ['resources/HelpTagLogo.gif', 'category 2, question 6', 180];
messages[17] = ['resources/HelpTagLogo.gif', 'category 2, question 7', 180];
messages[18] = ['resources/HelpTagLogo.gif', 'category 2, question 8', 180];
messages[19] = ['resources/HelpTagLogo.gif', 'category 2, question 9', 180];

// used on service-three-quote.html
messages[20] = ['resources/HelpTagLogo.gif', 'unused', 180];
messages[21] = ['resources/HelpTagLogo.gif', 'Please tell us what kind of service you are looking for.', 180];
messages[22] = ['resources/HelpTagLogo.gif', 'Please tell us how many lines are going into your telecommunications set-up.  If you are looking for installation, please tell us how many lines you need for your telecommunications system.', 180];
messages[23] = ['resources/HelpTagLogo.gif', 'Please tell us how many telephones you have hooked up to your system.  If you are looking for an installation, please tell us how many phones you need hooked up.', 180];
messages[24] = ['resources/HelpTagLogo.gif', 'Please tell us how your telecommunication system\'s lines are configured.  If you are looking for an installation please tell us how you hope to have your lines configured.', 180];
messages[25] = ['resources/HelpTagLogo.gif', 'Please tell us whether or not you have voicemail.  If you are looking for an installation, please tell us whether or not you would like voicemail.', 180];
messages[26] = ['resources/HelpTagLogo.gif', 'Please choose the option that best describes your needs.  These timeframes are suggestions, and non-binding.  However, potential telecommunications equipment vendors will be advised of your time constraints.', 180];
messages[27] = ['resources/HelpTagLogo.gif', 'Please include the 5 digit ZIP code for the location requiring the maintenance or installation.', 180];
messages[28] = ['resources/HelpTagLogo.gif', 'category 3, question 8', 180];
messages[29] = ['resources/HelpTagLogo.gif', 'category 3, question 9', 180];

// used on service-four-quote.html
messages[30] = ['resources/HelpTagLogo.gif', 'unused', 180];
messages[31] = ['resources/HelpTagLogo.gif', 'Please mark the choice that best describes your needs.  ', 180];
messages[32] = ['resources/HelpTagLogo.gif', 'Please choose the option that best describes your needs.  If you are unsure, please mark the choice labeled \"unsure/no preference\".', 180];
messages[33] = ['resources/HelpTagLogo.gif', 'Please choose the option that best describes your needs.  If you are unsure, please mark the choice labeled \"Unsure/no preference\".', 180];
messages[34] = ['resources/HelpTagLogo.gif', 'Please choose the option that best describes your needs.  If you are unsure, please mark the choice labeled \"Unsure/no preference\"', 180];
messages[35] = ['resources/HelpTagLogo.gif', 'Please choose the option that best describes your needs.  If you are unsure, please mark the choice labeled \"Unsure/no preference\"', 180];
messages[36] = ['resources/HelpTagLogo.gif', 'Please choose the option that best describes your needs.  If you are unsure, please mark the choice labeled \"unsure\".  These timeframes are suggestions, and non-binding.  However, potential IVR systems carriers will be advised of your time constraints.', 180];
messages[37] = ['resources/HelpTagLogo.gif', 'Please include the 5 digit ZIP code for the location requiring the IVR system.', 180];
messages[38] = ['resources/HelpTagLogo.gif', 'category 4, question 8', 180];
messages[39] = ['resources/HelpTagLogo.gif', 'category 4, question 9', 180];

// used on service-five-quote.html
messages[40] = ['resources/HelpTagLogo.gif', 'unused', 180];
messages[41] = ['resources/HelpTagLogo.gif', 'Please specify how many total users will need to access the call center software.  A \'user\' includes any customer service representatives, operators, telemarketers, agents, etc. ', 180];
messages[42] = ['resources/HelpTagLogo.gif', 'Please specify whether you need software for an existing or for a new call center.', 180];
messages[43] = ['resources/HelpTagLogo.gif', 'Please specify what type of calling your call center specializes in.  If you are unsure what kind of calling your call center will offer, please mark Unsure/no preference.', 180];
messages[44] = ['resources/HelpTagLogo.gif', 'Please specify when you would like to start using your call center software.  These dates are just estimations, and are not binding, however, the call center software vendors will be notified of your time constraints.', 180];
messages[45] = ['resources/HelpTagLogo.gif', 'Please specify the ZIP code of the location at which the call center software will be used.', 180];
messages[46] = ['resources/HelpTagLogo.gif', 'category 5, question 6', 180];
messages[47] = ['resources/HelpTagLogo.gif', 'category 5, question 7', 180];
messages[48] = ['resources/HelpTagLogo.gif', 'category 5, question 8', 180];
messages[49] = ['resources/HelpTagLogo.gif', 'category 5, question 9', 180];


