/*************************************************************************
  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 Office-Trailers-Quote.html
messages[0] = [, 'this is unused so the message and question numbers match - RL', 200];
messages[1] = [, 'Please select the primary use for your office trailer', 200];
messages[2] = [, 'Please tell us how many office trailers you will need to rent.  Note: offices can be at different locations.', 200];
messages[3] = [, 'Please tell us how much <em>total</em> square footage you need for your mobile office trailer(s).  A helpful guideline is 100-150 sq ft per person.', 200];
messages[4] = [, 'unused', 200];
messages[5] = [, 'Please tell us when you would like your office trailer(s) delivered.  Note: this is an estimate only and not a binding commitment on your part.', 200];
messages[6] = [, 'Please let us know how many of the following your office trailer(s) will need.', 200];
messages[7] = [, 'We need this information to make sure we are matching you up with suppliers who serve your area.', 200];
messages[8] = [, 'unused', 200];
messages[9] = [, 'unused', 200];

// used on Modular-Building-Quote.html
messages[10] = [, 'this is unused so the message and question numbers match - RL', 200];
messages[11] = [, 'Please select the primary use for your modular building.', 200];
messages[12] = [, 'A general guideline is 100-150 square feet per person.', 200];
messages[13] = [, 'Please let us know your preferred method of paying for your modular building.', 200];
messages[14] = [, 'Please let us know how long you will need your modular building', 200];
messages[15] = [, 'Please tell us when you would like your modular building delivered and completed.  Note: it takes 45 days or more to build and deliver a modular building, and additional time to assemble it on-site.', 200];
messages[16] = [, 'Please let us know how many of the following your modular building will need.', 200];
messages[17] = [, 'We need this information to make sure we are matching you up with modular building suppliers who serve your area.', 200];
messages[18] = [, 'The more our suppliers know about your needs, the better they can serve you.', 200];
messages[19] = [, 'not used', 200];

// used on Storage-Container-Quote.html
messages[20] = [, 'Please select the primary use for your storage container.', 200];
messages[21] = [, 'Please let us know approximately how many storage containers you will need.', 200];
messages[22] = [, 'Please let us know the required length for your storage container(s).  Note: most standard storage containers are 8 feet wide and 8 feet 6 inches tall (external dimensions).  If you need storage containers of differing lengths, please specify the longest length here and note your other requests in the text box at the bottom of this page.', 200];
messages[23] = [, 'Please let us know your preferred door type for your storage container.', 200];
messages[24] = [, 'Please let us know how long you will need your storage container.', 200];
messages[25] = [, 'Please tell us when you would like your storage container(s) delivered.  Note: this is an estimate only and not a binding commitment on your part.', 200];
messages[26] = [, 'We need this information to make sure we are matching you up with storage container suppliers who serve your area.', 200];
messages[27] = [, 'The more our suppliers know about your needs, the better they can serve you.', 200];
messages[28] = [, 'unused.', 200];
messages[29] = [, 'unused.', 200];

// used on Self-Storage-Quote.html
messages[30] = [, 'unused.', 200];
messages[31] = [, 'Please tell us why you need a storage container.  If you aren\'t sure how you want to use your mobile self-storage container, please choose \"unsure/no preference.\".', 200];
messages[32] = [, 'Please tell us how many rooms worth of stuff you have to move and/or store.  If you aren\'t sure about the amount of belongings you need to move and/or store, please choose \"unsure/no preference.\".', 200];
messages[33] = [, 'Please tell us how long you will need to use your storage container (including storage time).  If you aren\'t sure how long you will need your mobile self-storage container, please mark \"unsure/no preference.\".', 200];
messages[34] = [, 'Please tell us when you need to start using your mobile self-storage container. If you aren\'t sure when you need it, then please mark \"unsure/no preference.\".', 200];
messages[35] = [, 'We need this information to make sure we are matching you up with suppliers in your area.', 200];
messages[36] = [, 'Please give us the ZIP code of your final residence if you are moving.', 200];
messages[37] = [, 'unused.', 200];
messages[38] = [, 'unused.', 200];
messages[39] = [, 'unused.', 200];

// used on manufactured homes
messages[50] = ['resources/helptag.jpg', 'not used', 200];
messages[51] = ['resources/helptag.jpg', 'Manufactured homes can be relocated easily and usually provide more square footage for the money.  A modular home requires a permanent location and usually have more architectural options.', 200];
messages[52] = ['resources/helptag.jpg', 'not used', 200];
messages[53] = ['resources/helptag.jpg', 'not used', 200];
messages[54] = ['resources/helptag.jpg', 'not used', 200];
messages[55] = ['resources/helptag.jpg', 'not used', 200];
messages[56] = ['resources/helptag.jpg', 'not used', 200];
messages[57] = ['resources/helptag.jpg', 'not used', 200];
messages[58] = ['resources/helptag.jpg', 'not used', 200];
messages[59] = ['resources/helptag.jpg', 'not used', 200];
