// hints_cfg.js

var HINTS_CFG = {
	'wise'       : true,            // the script attempts to always keep the hint in the visible area of the document
	'margin'     : 10,				// minimum allowed distance between the hint and the window edge
	'gap'        : 0,               // minimum allowed distance between the hint and the origin
	'align'      : 'tlbl', 			// align of the hint and the origin - origin first				 
	'css'        : 'hintsClass',    // style class name for all hints
	'show_delay' : 300,             // delay between object mouseover and hint appearing
	'hide_delay' : 300,             // delay between hint appearing and hint hiding having moved off target
	'follow'     : true,			// hint follows the mouse as it moves
	'z-index'    : 100,             // z-index for all hint layers
	'opacity'    : 100 				// opacity of the hint in %%
};

var HINTS_BOOKCLUB = [
	'<div class="header bordered"><img src="Images/1007/edwardMarston.jpg" alt="Edward Marston" width="150px" height="196px" /><p>Any book by<br />Edward Marston</p></div>'
];

var HINTS_PLAYREADERS = [
	'<div class="header bordered"><img src="Images/1009/johnGodber.jpg" alt="John Godber" width="150px" height="164px" /><p>Happy Families<br />by John Godber</p></div>',
];

var HINTS_QUAYFUNDRAISERS = [
	'<div class="header bordered"><p><img src="Images/1009/openMusicNights.gif" alt="Open Music Nights" width="152px" height="148px" /></p><p>In The Quay Bar<br />from 7.30pm<br />FREE ADMISSION</p></div>',
	'<div class="header bordered"><p><img src="Images/1010/openMusicNights.gif" alt="Open Music Nights" width="152px" height="148px" /></p><p>In The Quay Bar<br />from 7.30pm<br />FREE ADMISSION</p></div>',
	'<div class="header bordered"><img src="Images/1011/christmasCraftFair.jpg" alt="Christmas Craft Fair" width="400px" height="180px" /><p><span class="emphasis">CHRISTMAS CRAFT FAIR</span><br />in The Quay Foyer and Bar<br />11am - 3pm</p></div>'
];

var bookClubHint = new THints (HINTS_BOOKCLUB, HINTS_CFG);
var playReadersHint = new THints (HINTS_PLAYREADERS, HINTS_CFG);
var quayFundraisersHint = new THints (HINTS_QUAYFUNDRAISERS, HINTS_CFG);
