var HINTS_CFG = {
	'top'        : 5, // a vertical offset of a hint from mouse pointer
	'left'       : 5, // a horizontal offset of a hint from mouse pointer
	'css'        : 'hintsClass', // a style class name for all hints, TD object
	'show_delay' : 500, // a delay between object mouseover and hint appearing
	'hide_delay' : 8000, // a delay between hint appearing and hint hiding
	'wise'       : true,
	'follow'     : true,
	'z-index'    : 0 // a z-index for all hint layers
},

HINTS_ITEMS = {
	'SPSeries1':wrap_img("spseries-1","SP Series"),
	'SPSeries2':wrap_img("spseries-2","SP Series"),
	'SPSeries3':wrap_img("spseries-3","SP Series"),
	'SPSeries4':wrap_img("spseries-4","SP Series"),
	'SPSeries5':wrap_img("spseries-5","SP Series"),
	'SPSeries6':wrap_img("spseries-6","SP Series"),
	'SPSeries7':wrap_img("spseries-7","SP Series"),
	'SPSeries8':wrap_img("sptrailer","SP Series 1500T to 3600T Trailer Base"),

	'SP1500T1':wrap_img("sp1500t-1","SP1500T"),
	'SP1500T2':wrap_img("sp1500t-2","SP1500T"),
	'SP1500T3':wrap_img("sp1500t-3","SP1500T"),
	'SP1500T4':wrap_img("sp1500t-4","SP1500T"),
	'SP1500T5':wrap_img("sp1500t-5","SP1500T Trailer Base"),

	'SP2400T1':wrap_img("sp2400t-1","SP2400T"),
	'SP2400T2':wrap_img("sp2400t-2","SP2400T"),
	'SP2400T3':wrap_img("sp2400t-3","SP2400T"),
	'SP2400T4':wrap_img("sp2400t-4","SP2400T"),
	'SP2400T5':wrap_img("sptrailer","SP2400T Trailer Base"),

	'SP3600T1':wrap_img("sp3600t-1","SP3600T"),
	'SP3600T2':wrap_img("sp3600t-2","SP3600T"),
	'SP3600T3':wrap_img("sp3600t-3","SP3600T"),
	'SP3600T4':wrap_img("sp3600t-4","SP3600T"),
	'SP3600T5':wrap_img("sp3600t-5","SP3600T"),

	'SP4000T1':wrap_img("sp4000t-1","SP4000T"),
	'SP4000T2':wrap_img("sp4000t-2","SP4000T"),
	'SP4000T3':wrap_img("sp4000t-3","SP4000T"),
	'SP4000T4':wrap_img("sp4000t-4","SP4000T"),
	'SP4000T5':wrap_img("sptrailer2","SP4000T Trailer Base"),

	'SP5500T1':wrap_img("sp5500t-1","SP5500T"),
	'SP5500T2':wrap_img("sp5500t-2","SP5500T"),
	'SP5500T3':wrap_img("sp5500t-3","SP5500T"),
	'SP5500T4':wrap_img("sp5500t-4","SP5500T"),
	'SP5500T5':wrap_img("sp5500t-5","SP5500T Tilt Trailer Base"),

	'SH1000P1':wrap_img("sh1000p-1","SH1000P"),
	'SH1000P2':wrap_img("sh1000p-2","SH1000P"),
	'SH1000P3':wrap_img("sh1000p-3","SH1000P"),
	'SH1000P4':wrap_img("sh1000p-4","SH1000P"),
	'SH1000P5':wrap_img("shcart","SH1000P Cart Base"),

	'SH1250P1':wrap_img("sh1250p-1","SH1250P"),
	'SH1250P2':wrap_img("sh1250p-2","SH1250P"),
	'SH1250P3':wrap_img("sh1250p-3","SH1250P"),
	'SH1250P4':wrap_img("sh1250p-4","SH1250P"),
	'SH1250P5':wrap_img("shcart","SH1250P Cart Base"),

	'SH1800P1':wrap_img("sh1800p-1","SH1800P"),
	'SH1800P2':wrap_img("sh1800p-2","SH1800P"),
	'SH1800P3':wrap_img("sh1800p-3","SH1800P"),
	'SH1800P4':wrap_img("sh1800p-4","SH1800P"),
	'SH1800P5':wrap_img("shcart","SH1000P Cart Base"),

	'SH2000P1':wrap_img("sh2000p-1","SH2000P"),
	'SH2000P2':wrap_img("sh2000p-2","SH2000P"),
	'SH2000P3':wrap_img("sh2000p-3","SH2000P"),
	'SH2000P4':wrap_img("sh2000p-4","SH2000P"),
	'SH2000P5':wrap_img("shcart","SH2000P Cart Base"),

	'SH2400P1':wrap_img("sh2400p-1","SH2400P"),
	'SH2400P2':wrap_img("sh2400p-2","SH2400P"),
	'SH2400P3':wrap_img("sh2400p-3","SH2400P"),
	'SH2400P4':wrap_img("sh2400p-4","SH2400P"),
	'SH2400P5':wrap_img("shcart","SH2400P Cart Base"),

	'SH3000P1':wrap_img("sh3000p-1","SH3000P"),
	'SH3000P2':wrap_img("sh3000p-2","SH3000P"),
	'SH3000P3':wrap_img("sh3000p-3","SH3000P"),
	'SH3000P4':wrap_img("sh3000p-4","SH3000P"),
	'SH3000P5':wrap_img("shcart","SH3000P Cart Base"),

        'DESC'    : wrap("Product Description"),
        'SPECS'   : wrap("Product Specifications"),
        'PRICE'   : wrap("Product Pricing"),
        'PHOTO'   : wrap("Photo Gallery"),

        'BATTERYTEMPSENSOR' : wrap_img("batterytempsensor","<h6 class='bottomborderdashed'>Battery Temperature Sensor (BTS)</h6>The BTS provides accurate sensing of the battery temperature and uses this to control charging.  Purchasing this option can extend battery life and improve overall charging."),
	'DIGITALMETER'      : wrap_img("digitalmeter","<h6 class='bottomborderdashed'>Digital Meter</h6>Provides for monitoring of the charge controller operation, providing a digital display of battery voltage, solar array amperage, amp-hours since last reset and total amp-hours."),
        'TRAILERJACK'       : wrap_img("trailerjack","<h6 class='bottomborderdashed'>Trailer Jack</h6>The optional swing back trailer jack allows you to easily level your trailer.  The wheel allows for easy movement and setting the direction of the solar panels."),
        'SPARETIRE'         : wrap_img("sparetire","<h6 class='bottomborderdashed'>Spare Tire</h6>The optional spare tire is affordable and highly recommended if towing the system frequently.  It is mounted on the right side front of the system enclosure."),
        'SPARETIRECOVER'    : wrap_img("sparetirecover","<h6 class='bottomborderdashed'>Vinyl Spare Tire Cover</h6>The optional cover protects the spare tire from the elements."),
        'DRREMOTE'          : wrap_img("drremotecontrol","<h6 class='bottomborderdashed'>Remote Control Switch and Inverter Status Panel</h6>Mounted on the exterior of the system, the remote control provides for convenient status monitoring and on/off inverter activation."),
        'SWREMOTE'          : wrap_img("swremotecontrol","<h6 class='bottomborderdashed'>Remote Control Switch and Inverter Control Panel</h6>A full-function remote control with backlit LCD display mounted on the exterior of the system allows for full control over all inverter functions.")

};


var myHint = new THints (HINTS_CFG, HINTS_ITEMS);


function wrap (s_, b_ques) {
	return "<table cellpadding='0' cellspacing='0' border='0' style='-moz-opacity:90%;filter:progid:DXImageTransform.Microsoft.dropShadow(Color=#777777,offX=4,offY=4)'><tr><td rowspan='2'><img src='images/h1"+(b_ques?"q":"")+".gif'></td><td><img src='/images/pixel.gif' width='1' height='15'></td></tr><tr><td background='images/h2.gif' height='28' nowrap>"+s_+"</td><td><img src='images/h4.gif'></td></tr></table>"
}


function wrap_img (s_file, s_title) {
	return "<table width='280' cellpadding='5' style='border:1px solid #777777; background-color: white'><tr><td align='center'><img src='productimages/"+s_file+".jpg' class='picI'></td></tr><tr><td align='center'>"+s_title+"</td></tr></table>"
}
