/*************************************************************************
  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 !

// Note the numbering of the indexes - category 1 will have 1#, category 2 will have 2#, etc... RL

// rendered on office-chairs-quote.html
messages[10]  = ['resources/helptag.jpg', 'unused', 200];
messages[11]  = ['resources/helptag.jpg', 'Please choose the best option. If you would like more than one type of office chair please put your additional requests in the comments box at the end of the form.', 200];
messages[12]  = ['resources/helptag.jpg', 'Select the box that best fits your needs.', 200];
messages[13]  = ['resources/helptag.jpg', 'If you would like chairs in more than one price category please mark the category for the most expensive chair and detail your request in the comments box at the end of the form.', 200];
messages[14]  = ['resources/helptag.jpg', 'The suppliers will be informed of your time constraints.', 200];
//messages[15]  = ['resources/helptag.jpg', 'Please separate multiple ZIP codes with a comma', 200];
messages[15]  = ['resources/helptag.jpg', '5 digit US: 78749 or 6 character Canadian postal code: A2B 4C5.', 200];
messages[16]  = ['resources/helptag.jpg', 'Make sure to include specific numbers and any size and color preferences.', 200];
messages[17]  = ['resources/helptag.jpg', 'Please tell us whether you want price quotes for a new chair or a pre-owned chair. If you are unsure, or if you would like to receive price quotes for both used and pre-owned chairs, please mark \"Unsure/no preference.\"', 200];
messages[18]  = ['resources/helptag.jpg', 'unused', 200];
messages[19]  = ['resources/helptag.jpg', 'unused', 200];

// rendered on office-desks-quote.html
messages[20] = ['resources/helptag.jpg', 'unused', 200];
messages[21] = ['resources/helptag.jpg', 'Please choose the best option.  If you would like more than one type of desk please put your additional request in the comments box at the end of the form.', 200];
messages[22] = ['resources/helptag.jpg', 'Select the box that best fits your needs.', 200];
messages[23] = ['resources/helptag.jpg', 'If you want desks in more than one material choose one from the list and specify the rest of your request in the comments box below.', 200];
messages[24] = ['resources/helptag.jpg', 'If you would like desks in more than one price category please mark the category for the most expensive desk and detail your request in the comments box below.', 200];
messages[25] = ['resources/helptag.jpg', 'The suppliers will be informed of your time constraints.', 200];
//messages[26] = ['resources/helptag.jpg', 'Please separate multiple ZIP codes with a comma.', 200];
messages[26] = ['resources/helptag.jpg', '5 digit US: 78749 or 6 character Canadian postal code: A2B 4C5.', 200];
messages[27] = ['resources/helptag.jpg', 'Make sure to include specific numbers and any size, color, or material preference.', 200];
messages[28] = ['resources/helptag.jpg', 'Please tell us whether you want price quotes for a new desk or a pre-owned desk. If you are unsure, or if you would like to receive price quotes for both pre-owned and new office desks, please mark \"Unsure/no preference.\"', 200];
messages[29] = ['resources/helptag.jpg', 'unused', 200];

// rendered on office-tables-quote.html
messages[30] = ['resources/helptag.jpg', 'unused', 200];
messages[31] = ['resources/helptag.jpg', 'Please choose the best option. If you would like more than one type of office table please put your additional requests in the comments box at the end of the form.', 200];
messages[32] = ['resources/helptag.jpg', 'Please select the choice that most resembles your needs.', 200];
messages[33] = ['resources/helptag.jpg', 'If you would like tables in more than one price category please mark the category for the most expensive table and detail your request in the comments box at the end of the form.', 200];
messages[34] = ['resources/helptag.jpg', 'Please choose the best option.  If you would like tables made from more than one of these materials put down your additional requests in the comments box at the end of the form.', 200];
messages[35] = ['resources/helptag.jpg', 'We will inform your potential suppliers of your time constraints.', 200];
//messages[36] = ['resources/helptag.jpg', 'Please separate multiple ZIP codes with a comma .', 200];
messages[36] = ['resources/helptag.jpg', '5 digit US: 78749 or 6 character Canadian postal code: A2B 4C5.', 200];
messages[37] = ['resources/helptag.jpg', 'Make sure to include specific numbers and any other preferences.', 200];
messages[38] = ['resources/helptag.jpg', 'Please tell us whether you want price quotes for a new office table or a pre-owned office table. If you are unsure, or if you would like to receive price quotes for both pre-owned and new office tables, please mark \"Unsure/no preference.\"', 200];
messages[39] = ['resources/helptag.jpg', 'unused', 200];

// rendered on filing-cabinets-quote.html
messages[40] = ['resources/helptag.jpg', 'unused', 200];
messages[41] = ['resources/helptag.jpg', 'Please choose the best option.  If you would like more than one type of filing cabinet please put your additional request in the comments box at the end of the form.', 200];
messages[42] = ['resources/helptag.jpg', 'Select the box that best fits your needs.', 200];
messages[43] = ['resources/helptag.jpg', 'If you want filing cabinets in more than one price category mark the category for the most expensive cabinet and detail your request in the comments box below.', 200];
messages[44] = ['resources/helptag.jpg', 'Your potential suppliers will be informed of your time constraints.', 200];
//messages[45] = ['resources/helptag.jpg', 'Please separate multiple ZIP codes with a comma.', 200];
messages[45] = ['resources/helptag.jpg', '5 digit US: 78749 or 6 character Canadian postal code: A2B 4C5.', 200];
messages[46] = ['resources/helptag.jpg', 'Make sure to include specific numbers and any size and material preferences.', 200];
messages[47] = ['resources/helptag.jpg', 'Please tell us whether you want price quotes for a new filing cabinet or a pre-owned filing cabinet. If you are unsure, or if you would like to receive price quotes for both pre-owned and new filing cabinets, please mark \"Unsure/no preference.\"', 200];
messages[48] = ['resources/helptag.jpg', 'unused', 200];
messages[49] = ['resources/helptag.jpg', 'unused', 200];

// rendered on cubicles-systems-furniture-quote.html
messages[50] = ['resources/helptag.jpg', 'unused', 200];
messages[51] = ['resources/helptag.jpg', 'Select the option that best fits your needs.  If you would like multiple features from this list detail them in the comments box at the end of the form.', 200];
messages[52] = ['resources/helptag.jpg', 'Select the box that best fits your needs.', 200];
messages[53] = ['resources/helptag.jpg', 'Your potential suppliers will be made aware of your time constraints.', 200];
//messages[54] = ['resources/helptag.jpg', 'Please separate multiple ZIP codes with a comma.', 200];
messages[54] = ['resources/helptag.jpg', '5 digit US: 78749 or 6 character Canadian postal code: A2B 4C5.', 200];
messages[55] = ['resources/helptag.jpg', 'For the best service, write down any useful details about your cubicle and modular furniture request here.', 200];
messages[56] = ['resources/helptag.jpg', 'Please tell us whether you want price quotes for a new cubicle or a pre-owned cubicle. If you are unsure, or if you would like to receive price quotes for both pre-owned and new cubicles, please mark \"Unsure/no preference.\"', 200];
messages[57] = ['resources/helptag.jpg', 'unused', 200];
messages[58] = ['resources/helptag.jpg', 'unused', 200];
messages[59] = ['resources/helptag.jpg', 'unused', 200];
