/*************************************************************************
  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 !

// the image path is the path from the location of the tooltip in the html to the image file.

// used on dedicated-quote.html
messages[0] = ['resources/helptag.jpg', 'this is unused so the message and question numbers match - RL', 200];
messages[1] = ['resources/helptag.jpg', 'Please tell us the type of dedicated long distance service for which you are seeking quotes.', 200];
messages[2] = ['resources/helptag.jpg', 'If you currently do not have dedicated long distance service at the location you are seeking quotes, select - New service.', 200];
messages[3] = ['resources/helptag.jpg', 'Please tell us the number of locations you are looking to set up or replace dedicated long distance service.', 200];
messages[4] = ['resources/helptag.jpg', 'Please tell us where you will be calling. If you regularly call other countries, please choose \"Other\" and list the top three countries that you most commonly call.', 200];
messages[5] = ['resources/helptag.jpg', 'Please tell us when you plan on having a purchasing decision made.', 200];
messages[6] = ['resources/helptag.jpg', 'Enter the zip code at the dedicated long distance service locations. Our dedicated long distance providers will use this information to figure out if they can serve your location(s).', 200];
messages[7] = ['resources/helptag.jpg', 'not used', 200];
messages[8] = ['resources/helptag.jpg', 'not used', 200];
messages[9] = ['resources/helptag.jpg', 'not used', 200];

// used on internet-quote.html
messages[10] = ['resources/helptag.jpg', 'not used', 200];
messages[11] = ['resources/helptag.jpg', 'Please tell us the type of Internet service you would like. T1 connection is perfect for businesses with up to 30 regular internet users. T3 connection is equal to 28 T1 connections, and is best for large businesses, or businesses with very heavy data requirements.', 200];
messages[12] = ['resources/helptag.jpg', 'If you currently do not have business Internet service at the location you are seeking quotes, select - No.', 200];
messages[13] = ['resources/helptag.jpg', 'Please tell us the number of locations you are looking to set up or replace business Internet service.', 200];
messages[14] = ['resources/helptag.jpg', 'Please tell us when you plan on having a purchasing decision made.', 200];
messages[15] = ['resources/helptag.jpg', 'Enter the zip code at the dedicated long distance service locations. Our dedicated long distance providers will use this information to figure out if they can serve your location(s).', 200];
messages[16] = ['resources/helptag.jpg', 'not used', 200];
messages[17] = ['resources/helptag.jpg', 'not used', 200];
messages[18] = ['resources/helptag.jpg', 'not used', 200];
messages[19] = ['resources/helptag.jpg', 'not used', 200];

// used on integrated-quote.html
messages[20] = ['resources/helptag.jpg', 'not used', 200];
messages[21] = ['resources/helptag.jpg', 'Please tell us how many voice and/or fax lines you need. Note: you typically need 30-40% fewer voice lines than people at a location.  If you are unsure, select - Not sure.', 200];
messages[22] = ['resources/helptag.jpg', 'Please tell us the amount of Internet bandwidth you need. If you are unsure, select - Not sure.', 200];
messages[23] = ['resources/helptag.jpg', 'If you currently do not have integrated access at the location you are seeking quotes, select - No.', 200];
messages[24] = ['resources/helptag.jpg', 'Please tell us the number of locations you are looking to set up or replace integrated access service.', 200];
messages[25] = ['resources/helptag.jpg', 'Please tell us where you will be calling. If you regularly call other countries, please choose \"Other\" and list the top three countries that you most commonly call.', 200];
messages[26] = ['resources/helptag.jpg', 'Please tell us when you plan on having a purchasing decision made.', 200];
messages[27] = ['resources/helptag.jpg', 'Enter the zip code at the dedicated long distance service locations. Our dedicated long distance providers will use this information to figure out if they can serve your location(s).', 200];
messages[28] = ['resources/helptag.jpg', 'not used', 200];
messages[29] = ['resources/helptag.jpg', 'not used', 200];

// used on conferencing-quote.html
messages[30] = ['resources/helptag.jpg', 'not used', 200];
messages[31] = ['resources/helptag.jpg', 'Please estimate the number of conference calls that you plan on hosting per month. Estimates work fine for quotes.', 200];
messages[32] = ['resources/helptag.jpg', 'Each unique phone number connected to the conference call counts as one unique location. Do not count multiple users at the same phone number as more than one location.', 200];
messages[33] = ['resources/helptag.jpg', 'Please estimate how often your conference calls will include international locations.', 200];
messages[34] = ['resources/helptag.jpg', 'Please tell us when you plan on having a purchasing decision made.', 200];
messages[35] = ['resources/helptag.jpg', 'Please tell us the five digit ZIP code for the location you need your conference calling service.', 200];
messages[36] = ['resources/helptag.jpg', 'Please tell us whether you need voice conferencing, web conferencing or video conferencing', 200];
messages[37] = ['resources/helptag.jpg', 'Please tell us how frequently you will be hosting conference calls', 200];
messages[38] = ['resources/helptag.jpg', 'not used', 200];
messages[39] = ['resources/helptag.jpg', 'not used', 200];

// used on sign-up.html
messages[40] = ['resources/helptag.jpg', 'not used', 200];
messages[41] = ['resources/helptag.jpg', 'User names can be up to 64 characters long, with no spaces, single or double quotes', 200];
messages[42] = ['resources/helptag.jpg', 'Passwords can be up to 64 characters long, with no spaces, single or double quotes', 200];
messages[43] = ['resources/helptag.jpg', 'not used', 200];
messages[44] = ['resources/helptag.jpg', 'not used', 200];
messages[45] = ['resources/helptag.jpg', 'not used', 200];
messages[46] = ['resources/helptag.jpg', 'not used', 200];
messages[47] = ['resources/helptag.jpg', 'not used', 200];
messages[48] = ['resources/helptag.jpg', 'not used', 200];
messages[49] = ['resources/helptag.jpg', 'not used', 200];

// used on voip-quote.html
messages[50] = ['resources/helptag.jpg', 'not used', 200];
messages[51] = ['resources/helptag.jpg', 'If you would like to use VoIP in your home, select the \"residential\" option, and if you are using VoIP in an office, select the \"commercial\" option.', 200];
messages[52] = ['resources/helptag.jpg', 'Please tell us if whether or not your phone can accommodate VoIP service.  If you are unsure, please mark \"unsure, please advise\".', 200];
messages[53] = ['resources/helptag.jpg', 'Please tell us how many VoIP lines for your business.', 200];
messages[54] = ['resources/helptag.jpg', 'Broadband Internet is required for VoIP usage.', 200];
messages[55] = ['resources/helptag.jpg', 'If you will be using this VoIP service to regularly make international calls, please name the specific countries you will call in the comments box at the end of the form.', 200];
messages[56] = ['resources/helptag.jpg', 'These are just estimations, and in no way binding.  The VoIP agents will be informed of your time constraints.', 200];
messages[57] = ['resources/helptag.jpg', 'Please tell us the five digit ZIP code for the location you need your VoIP service.', 200];
messages[58] = ['resources/helptag.jpg', 'not used', 200];
messages[59] = ['resources/helptag.jpg', 'not used', 200];

