/*************************************************************************
 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 commercial-generator-quote.html
messages[0] = ['resources/HelpTagLogo.gif', 'unused', 260];
messages[1] = ['resources/HelpTagLogo.gif', '<div class="AtoolTip"><p><strong>Standby Generators</strong> are installed permanently as an emergency, backup power source. They are typically hardwired into your business&rsquo; electrical system and fueled by city gas or propane lines (and are usually installed outside of your business either at ground level or on the roof). They resemble an air conditioning unit. </p><p><strong>Trailer-mounted/Towable Generators</strong> are tough and rugged; they are most commonly used as a temporary power source in an unpowered location; such as a construction site. </p><p><strong>PTO Generators</strong> get power from the engine of another piece of equipment, such as a tractor. Their most common use is agricultural.</p></div>', 260];
messages[2] = ['resources/HelpTagLogo.gif', '<div class="AtoolTip"><p>Please tell us the number of commercial generators you are looking to purchase.</p></div>', 260];
messages[3] = ['resources/HelpTagLogo.gif', '<div class="AtoolTip"><p>Please tell us how you will use your generator the majority of the time. If you will be using your commercial generator for a use not specified in the question, please mark \"Other\" and fill in the box.</p></div>', 260];
messages[4] = ['resources/HelpTagLogo.gif', '<div class="AtoolTip"><p>For <strong>standby generators</strong>, <strong>propane or natural gas</strong> is clean burning, quieter, and doesn&rsquo;t require a fuel tank as they are directly hooked up to your business&rsquo; fuel lines. They best suit the power needs of small to medium-sized businesses.</p><p><strong>Diesel</strong> generators are the &ldquo;work horse&rdquo; of commercial generators. They are very dependable and require less maintenance, but as they are noisier and require fuel delivery and fuel storage, they are best for larger, industrial applications.</p><p><strong>Gasoline</strong> generators are not common for most commercial applications.</p></div>', 260];
messages[5] = ['resources/HelpTagLogo.gif', '<div class="AtoolTip"><p>For commercial applications, a very loose rule of thumb: Less than 20kW is for small to medium-sized business use, 20kW &ndash; 50kW for medium to large commercial applications, 50+kW for large commercial/industrial use.</p></div>', 260];
messages[6] = ['resources/HelpTagLogo.gif', '<div class="AtoolTip"><p>Since a commercial-sized generator is a major purchase that can come with a hefty price tag, many dealers offer lease-to-purchase payment options. Renting a generator is also an option, however, it is common for portable generators to be for purchase only.</p></div>', 260];
messages[7] = ['resources/HelpTagLogo.gif', '<div class="AtoolTip"><p>Because a standby generator is wired into your business&rsquo; electrical system, correct installation is essential. Therefore, professional installation is required. Towable generators come mounted on a trailer, ready to be towed to your site, so there is no installation process.</p></div>', 260];
messages[8] = ['resources/HelpTagLogo.gif', '<div class="AtoolTip"><p>Please select your preferred delivery time frame. Although this is just a suggestion, and is non-binding, your potential commercial generator suppliers will be made aware of your time constraints.</p></div>', 260];
messages[9] = ['resources/HelpTagLogo.gif', '<div class="AtoolTip"><p>Please specify the 5 digit ZIP code of the location you would like the commercial generator(s) for.</p></div>', 260];
messages[10] = ['resources/HelpTagLogo.gif', '<div class="AtoolTip"><p>Enter any additional info for our service providers.</p></div>', 260];

// used on residential-generator-quote.html
messages[11] = ['resources/HelpTagLogo.gif', '<div class="AtoolTip"><p><strong>Standby Generators</strong> are installed permanently as an emergency power source. They are hardwired into your home&rsquo;s electrical system, fueled by city gas or propane lines, and resemble an air conditioning unit. </p><p><strong>Portable Generators</strong> are meant to provide temporary power for short periods of time, and are useful in remote locations, such as a campsite, to plug in tools or lights. </p><p><strong>PTO Generators</strong> get power from the engine of another piece of equipment, such as a tractor. Their most common uses are for agricultural purposes.</p></div>', 260];
messages[12] = ['resources/HelpTagLogo.gif', '<div class="AtoolTip"><p>Please tell us the number of home generators you are looking to purchase.</p></div>', 260];
messages[13] = ['resources/HelpTagLogo.gif', '<div class="AtoolTip"><p><strong>Standby generators</strong> typically run on <strong>natural gas</strong> and <strong>propane</strong>, depending on what is available in your area. </p><p><strong>Portable Generators</strong> typically run on <strong>gasoline</strong> and are used for shorter periods, and may have to be refueled periodically. Gasoline is inexpensive and widely available, but is highly flammable and has a short shelf life. </p><p><strong>Diesel</strong> fueled generators are common for larger, industrial purposes, as they are noisier and require delivery and storage of diesel fuel, which typically requires an unsightly fuel tank.</p></div>', 260];
messages[14] = ['resources/HelpTagLogo.gif', '<div class="AtoolTip"><p>The smallest standby home generators typically start at <strong>15kW</strong>. This enough to operate the basic survival equipment in the event of an outage: a four-ton AC unit, refrigerator/freezer, microwave, some lighting, &amp; coffee pot.</p><p><strong>20-25kW</strong> will power a slightly larger home, including a five-ton AC unit, home computer and some additional appliances.</p><p><strong>30-40kW</strong> will power a large home, and keep all the comforts of home running, including multiple AC units, a water well, swimming pool, and exercise equipment, as well as the above-mentioned equipment. To be sure of your power needs, you will need to measure the startup requirements of the appliances you wish the generator to power. It is advisable to have an electrician do this for accuracy and safety.</p></div>', 260];
messages[15] = ['resources/HelpTagLogo.gif', '<div class="AtoolTip"><p>Please select your preferred method of payment. If you are unsure which option would be the best for you, select \"unsure, please advise.\" If you are open to leasing, renting, or purchasing a home generator, select \"no preference.\"</p></div>', 260];
messages[16] = ['resources/HelpTagLogo.gif', '<div class="AtoolTip"><p>Professional installation is required for standby generators since they are hard-wired to your home&rsquo;s electrical system. A portable generator doesn&rsquo;t require installation. You just have to pull it out, start it, and plug appliances into it. But never use a portable generator indoors.</p></div>', 260];
messages[17] = ['resources/HelpTagLogo.gif', '<div class="AtoolTip"><p>Please select your preferred delivery time frame. Although this is just a suggestion, and is non-binding, your potential home generator suppliers will be made aware of your time constraints.</p></div>', 260];
messages[18] = ['resources/HelpTagLogo.gif', '<div class="AtoolTip"><p>Please specify the 5 digit ZIP code of the residence you would like the home generator(s) for.</p></div>', 260];
messages[19] = ['resources/HelpTagLogo.gif', '<div class="AtoolTip"><p>Enter any additional info for our service providers.</p></div>', 260];

// used on marine-generator-quote.html
messages[21] = ['resources/HelpTagLogo.gif', 'Please tell us the number of marine generators you are looking to purchase.', 180];
messages[22] = ['resources/HelpTagLogo.gif', 'Please specify what type of engine you would like your commercial generator(s) to have. Please not that the maximum power of gasoline marine generators is 15 kW.', 180];
messages[23] = ['resources/HelpTagLogo.gif', 'Please select the best power range for your marine generator needs. Note, gasoline generators are not available above 15 kW.', 180];
messages[24] = ['resources/HelpTagLogo.gif', 'Please select your preferred method of payment. If you are unsure which option would be the best for you, select \"unsure, please advise.\" If you are open to leasing, renting, or purchasing a marine generator, select \"no preference.\".', 180];
messages[25] = ['resources/HelpTagLogo.gif', 'Please specify whether or not you would like your marine generator to be professionally installed.', 180];
messages[26] = ['resources/HelpTagLogo.gif', 'Please select your preferred delivery time frame. Although this is just a suggestion, and is non-binding, your potential marine generator suppliers will be made aware of your time constraints.', 180];
messages[27] = ['resources/HelpTagLogo.gif', 'Please specify the 5 digit ZIP code of the location you would like the marine generator(s) for.', 180];
messages[28] = ['resources/HelpTagLogo.gif', 'unused.', 180];
messages[29] = ['resources/HelpTagLogo.gif', 'unused.', 180];

