/*************************************************************************
  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 !!! ???
messages[0]  = ['resources/HelpTagLogo.gif', 'unused', 180];
messages[1]  = ['resources/HelpTagLogo.gif', 'Please select the option that best fits your needs.', 180];
messages[2]  = ['resources/HelpTagLogo.gif', 'Please select the option that best fits your needs.', 180];
messages[3]  = ['resources/HelpTagLogo.gif', 'Please select the option that best fits your needs.  These are just estimates and are non-binding.  However, your potential commercial oven dealers will be informed of your time constraints.', 180];
messages[4]  = ['resources/HelpTagLogo.gif', 'category 1, question 4', 180];
messages[5]  = ['resources/HelpTagLogo.gif', 'category 1, question 5', 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 !!! ???
messages[10] = ['resources/HelpTagLogo.gif', 'unused', 180];
messages[11] = ['resources/HelpTagLogo.gif', 'Please note that the size of the fryer is measured in oil capacity.  The oil capacity of the fryer is measured in pounds.  Please choose the size fryer that is best for your needs.', 180];
messages[12] = ['resources/HelpTagLogo.gif', 'Please select the option that best fits your needs.', 180];
messages[13] = ['resources/HelpTagLogo.gif', 'Please select the option that best fits your needs.  These are just estimates and are non-binding.  However, your potential commercial oven dealers will be informed of your time constraints.', 180];
messages[14] = ['resources/HelpTagLogo.gif', 'category 2, question 4', 180];
messages[15] = ['resources/HelpTagLogo.gif', 'category 2, question 5', 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 !!! ???
messages[20] = ['resources/HelpTagLogo.gif', 'unused', 180];
messages[21] = ['resources/HelpTagLogo.gif', 'Please select the option that best fits your needs.  If you need a type of ice machine not featured in the question please select the \"Unsure, please advise\" option and specify your preferred ice machine type in the comments box at the end of the question set.  If you are unsure what type of ice machine you need, please select "\Unsure, please advise.\"', 180];
messages[22] = ['resources/HelpTagLogo.gif', 'Please select the option that best fits your needs.', 180];
messages[23] = ['resources/HelpTagLogo.gif', 'Please select the option that best fits your needs.  The timeframes you give us are just estimates, and are non-binding; however, potential ice machine suppliers will be informed of your time constraints.', 180];
messages[24] = ['resources/HelpTagLogo.gif', 'category 3, question 4', 180];
messages[25] = ['resources/HelpTagLogo.gif', 'category 3, question 5', 180];
messages[26] = ['resources/HelpTagLogo.gif', 'category 3, question 6', 180];
messages[27] = ['resources/HelpTagLogo.gif', 'category 3, question 7', 180];
messages[28] = ['resources/HelpTagLogo.gif', 'category 3, question 8', 180];
messages[29] = ['resources/HelpTagLogo.gif', 'category 3, question 9', 180];

// used on !!! ???
messages[30] = ['resources/HelpTagLogo.gif', 'unused', 180];
messages[31] = ['resources/HelpTagLogo.gif', 'Please select the type of refrigerator or freezer you are interested in.  If you are looking for more than one type of refrigerator or freezer, please mark the largest purchase and specify your other needs in the comments box at the end of the form.', 180];
messages[32] = ['resources/HelpTagLogo.gif', 'Please tell us how much total cubic footage (cf.) you would like for your refrigerator or freezer.', 180];
messages[33] = ['resources/HelpTagLogo.gif', 'Please estimate the average number of customers your business serves daily.', 180];
messages[34] = ['resources/HelpTagLogo.gif', 'category 4, question 4', 180];
messages[35] = ['resources/HelpTagLogo.gif', 'category 4, question 5', 180];
messages[36] = ['resources/HelpTagLogo.gif', 'category 4, question 6', 180];
messages[37] = ['resources/HelpTagLogo.gif', 'category 4, question 7', 180];
messages[38] = ['resources/HelpTagLogo.gif', 'category 4, question 8', 180];
messages[39] = ['resources/HelpTagLogo.gif', 'category 4, question 9', 180];

// used on !!! ???
messages[40] = ['resources/HelpTagLogo.gif', 'unused', 180];
messages[41] = ['resources/HelpTagLogo.gif', 'category 5, question 1', 180];
messages[42] = ['resources/HelpTagLogo.gif', 'category 5, question 2', 180];
messages[43] = ['resources/HelpTagLogo.gif', 'category 5, question 3', 180];
messages[44] = ['resources/HelpTagLogo.gif', 'category 5, question 4', 180];
messages[45] = ['resources/HelpTagLogo.gif', 'category 5, question 5', 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];


