/*************************************************************************
  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 in telemarketing-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 indicate the primary type of outbound telemarketing services you need.', 200];
messages[2] = ['resources/helptag.jpg', 'Tell us if you would like your outbound telemarketing service to have credit card processing capabilities.', 200];
messages[3] = ['resources/helptag.jpg', 'Indicate whether you need English-only speakers.', 200];
messages[4] = ['resources/helptag.jpg', 'Tell us if you would like your outbound telemarketing service to have product fulfillment capabilities.', 200];
messages[5] = ['resources/helptag.jpg', 'Please indicate the type of customers your outbound telemarketing service will be targeting.', 200];
messages[6] = ['resources/helptag.jpg', 'Please tell us if this is expected to be a one-time or an ongoing campaign.', 200];
messages[7] = ['resources/helptag.jpg', 'Please tell us the approximate number of outbound calls you expect per month. Estimates are OK', 200];
messages[8] = ['resources/helptag.jpg', 'Please give us an approximate start date for this campaign.  Note: this is an estimate only and does not bind you to a specific start date.', 200];
messages[9] = ['resources/helptag.jpg', 'Please specify the ZIP code of your office location', 200];

// used on call-center-quote.html
messages[10] = ['resources/helptag.jpg', 'Please indicate the type of inbound call services you need.', 200];
messages[11] = ['resources/helptag.jpg', 'Tell us if you would like your outbound telemarketing service to have credit card processing capabilities.', 200];
messages[12] = ['resources/helptag.jpg', 'Indicate whether you need English-only speakers.', 200];
messages[13] = ['resources/helptag.jpg', 'Tell us if you would like your outbound telemarketing service to have product fulfillment capabilities.', 200];
messages[14] = ['resources/helptag.jpg', 'Please tell us the approximate number of inbound calls you expect to receive per month. Estimates are OK.', 200];
messages[15] = ['resources/helptag.jpg', 'Please tell us what call coverage hours you wish to have.', 200];
messages[16] = ['resources/helptag.jpg', 'Please give us an approximate start date.  Note: this is an estimate only and does not bind you to a specific start date.', 200];
messages[17] = ['resources/helptag.jpg', 'Please specify the ZIP code of your office location', 200];
messages[18] = ['resources/helptag.jpg', 'unused.', 200];
messages[19] = ['resources/helptag.jpg', 'unused', 200];


