var HINTS_CFG = {
	'top'        : 0, // a vertical offset of a hint from mouse pointer
	'left'       : 20, // 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' : 7000, // a delay between hint appearing and hint hiding
	'wise'       : true,
	'follow'     : true,
	'z-index'    : 0 // a z-index for all hint layers
},

HINTS_ITEMS = {
	0:'<table border="1" bordercolorlight="#cccccc" bordercolordark="#F7F7F7" cellspacing="0" cellpadding="2" bgcolor="#F7F7F7" width="200px"><tr><td><font face="Verdana" size="1">nA - number of Adults(A)</td></tr><tr><td><font face="Verdana" size="1">nC - number of Children(C)</td></tr><tr><td><font face="Verdana" size="1">nI - number of Infants(I)</td></tr><tr><td><font face="Verdana" size="1">/n - followed by child ages (if any)</td></tr><tr><td><font face="Verdana" size="1">(n) - followed by Room number</td></tr></table>', 
	1:'<table border="1" bordercolorlight="#cccccc" bordercolordark="#F7F7F7" cellspacing="0" cellpadding="2" bgcolor="#F7F7F7" width="200px"><tr><td><font face="Verdana" size="1">RO - Room Only</td></tr><tr><td><font face="Verdana" size="1">BB - Bed and Breakfast</td></tr><tr><td><font face="Verdana" size="1">SC - Self Catering</td></tr><tr><td><font face="Verdana" size="1">HB - Half Board</td></tr><tr><td><font face="Verdana" size="1">FB - Full Board</td></tr><tr><td><font face="Verdana" size="1">AI - All Inclusive</td></tr></table>',
        2:'<table border="1" bordercolorlight="#cccccc" bordercolordark="#F7F7F7" cellspacing="0" cellpadding="2" bgcolor="#F7F7F7" width="120px"><tr><td><font face="Verdana" size="1">First Page</td></tr></table>',
        3:'<table border="1" bordercolorlight="#cccccc" bordercolordark="#F7F7F7" cellspacing="0" cellpadding="2" bgcolor="#F7F7F7" width="120px"><tr><td><font face="Verdana" size="1">Previous Page</td></tr></table>',
        4:'<table border="1" bordercolorlight="#cccccc" bordercolordark="#F7F7F7" cellspacing="0" cellpadding="2" bgcolor="#F7F7F7" width="120px"><tr><td><font face="Verdana" size="1">Next Page</td></tr></table>',
        5:'<table border="1" bordercolorlight="#cccccc" bordercolordark="#F7F7F7" cellspacing="0" cellpadding="2" bgcolor="#F7F7F7" width="120px"><tr><td><font face="Verdana" size="1">Last Page</td></tr></table>',
        6:'<table border="1" bordercolorlight="#cccccc" bordercolordark="#F7F7F7" cellspacing="0" cellpadding="2" bgcolor="#F7F7F7" width="120px"><tr><td><font face="Verdana" size="1">Search Previous Day</td></tr></table>',
        7:'<table border="1" bordercolorlight="#cccccc" bordercolordark="#F7F7F7" cellspacing="0" cellpadding="2" bgcolor="#F7F7F7" width="120px"><tr><td><font face="Verdana" size="1">Search Next Day</td></tr></table>',
        8:'<table border="1" bordercolorlight="#cccccc" bordercolordark="#F7F7F7" cellspacing="0" cellpadding="2" bgcolor="#F7F7F7" width="120px"><tr><td><font face="Verdana" size="1">Click here to update shopping basket, by removing items ticked to remove</td></tr></table>',
        9:'<table border="1" bordercolorlight="#cccccc" bordercolordark="#F7F7F7" cellspacing="0" cellpadding="2" bgcolor="#F7F7F7" width="120px"><tr><td><font face="Verdana" size="1">Click here to go to CheckOut page</td></tr></table>',
       10:'<table border="1" bordercolorlight="#cccccc" bordercolordark="#F7F7F7" cellspacing="0" cellpadding="2" bgcolor="#F7F7F7" width="120px"><tr><td><font face="Verdana" size="1">Click here to find Rules for this flight</td></tr></table>',
       11:'<table border="1" bordercolorlight="#cccccc" bordercolordark="#F7F7F7" cellspacing="0" cellpadding="2" bgcolor="#F7F7F7" width="120px"><tr><td><font face="Verdana" size="1">Click here to determine exact selling price</td></tr></table>',
       12:'<table border="1" bordercolorlight="#cccccc" bordercolordark="#F7F7F7" cellspacing="0" cellpadding="2" bgcolor="#F7F7F7" width="120px"><tr><td><font face="Verdana" size="1">Click here to show TOD details</td></tr></table>',
	   13:'<table border="1" bordercolorlight="#cccccc" bordercolordark="#F7F7F7" cellspacing="0" cellpadding="2" bgcolor="#F7F7F7" width="120px"><tr><td><font face="Verdana" size="1">Return to original flight selection</td></tr></table>',
	   14:'<table border="1" bordercolorlight="#cccccc" bordercolordark="#F7F7F7" cellspacing="0" cellpadding="2" bgcolor="#F7F7F7" width="120px"><tr><td><font face="Verdana" size="1">Click here for the next batch of flights</td></tr></table>',
	   15:'<table border="1" bordercolorlight="#cccccc" bordercolordark="#F7F7F7" cellspacing="0" cellpadding="2" bgcolor="#F7F7F7" width="280px"><tr><td><font face="Verdana" size="1">Last three digits shown on cards signature strip</td></tr></table>',
	   16:'<table border="1" bordercolorlight="#cccccc" bordercolordark="#F7F7F7" cellspacing="0" cellpadding="2" bgcolor="#F7F7F7" width="120px"><tr><td>Please enter a question only you will know the answer to - eg office cats name</td></tr></table>',
	   17:'<table border="1" bordercolorlight="#cccccc" bordercolordark="#F7F7F7" cellspacing="0" cellpadding="2" bgcolor="#F7F7F7" width="180px"><tr><td><font face="Verdana" size="1">We would like to email you with offers relating to products of ours we think you might be interested in - Please uncheck the box if you do not want to receive such offers</td></tr></table>',
	   18:'<table border="1" bordercolorlight="#cccccc" bordercolordark="#F7F7F7" cellspacing="0" cellpadding="2" bgcolor="#F7F7F7" width="280px"><tr><td><font face="Verdana" size="1">By clicking here you will be provided with more accommodation options to choose from - The number of property options can be found at the top of the accommodation section</td></tr></table>',
	   19:'<table border="1" bordercolorlight="#cccccc" bordercolordark="#F7F7F7" cellspacing="0" cellpadding="2" bgcolor="#F7F7F7" width="120px"><tr><td><font face="Verdana" size="1">Click here to search again -1 day</td></tr></table>',
	   20:'<table border="1" bordercolorlight="#cccccc" bordercolordark="#F7F7F7" cellspacing="0" cellpadding="2" bgcolor="#F7F7F7" width="120px"><tr><td><font face="Verdana" size="1">Click here to search again +1 day</td></tr></table>',
	   21:'<table border="1" bordercolorlight="#cccccc" bordercolordark="#F7F7F7" cellspacing="0" cellpadding="2" bgcolor="#F7F7F7" width="120px"><tr><td><font face="Verdana" size="1">Click here to search again</td></tr></table>',
	   22:'<table border="1" bordercolorlight="#cccccc" bordercolordark="#F7F7F7" cellspacing="0" cellpadding="2" bgcolor="#F7F7F7" width="120px"><tr><td><font face="Verdana" size="1">To change your flight please click display alternative flights and choose a new flight</td></tr></table>',
	   23:'<table border="1" bordercolorlight="#cccccc" bordercolordark="#F7F7F7" cellspacing="0" cellpadding="2" bgcolor="#F7F7F7" width="120px"><tr><td><font face="Verdana" size="1">Searches dates either side of your chosen date</td></tr></table>',
	   24:'<table border="1" bordercolorlight="#cccccc" bordercolordark="#F7F7F7" cellspacing="0" cellpadding="2" bgcolor="#F7F7F7" width="200px"><tr><td><font face="Verdana" size="1">Price shown is the average price per person based the total number of pax including children divided by the total cost of the holiday</td></tr></table>',
	   25:'<table border="1" bordercolorlight="#cccccc" bordercolordark="#F7F7F7" cellspacing="0" cellpadding="2" bgcolor="#F7F7F7" width="150px"><tr><td><font face="Verdana" size="1">Click here for the next batch of properties</td></tr></table>',
	   26:'<table border="1" bordercolorlight="#cccccc" bordercolordark="#F7F7F7" cellspacing="0" cellpadding="2" bgcolor="#F7F7F7" width="150px"><tr><td><font face="Verdana" size="1">Click here for the previous batch of properties</td></tr></table>'
};

var ADVHints = 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/1"+(b_ques?"q":"")+".gif'></td><td><img src='/images/pixel.gif' width='1' height='15'></td></tr><tr><td background='images/2.gif' height='28' nowrap>"+s_+"</td><td><img src='images/4.gif'></td></tr></table>"
}

function wrap_img (s_file, s_title) {
	return "<table cellpadding=5 bgcolor=white style='border:1px solid #777777'><tr><td><img src='images/k0"+s_file+".jpg' class='picI'></td></tr><tr><td align=center>"+s_title+"</td></tr></table>"
}
