// configuration variable for the hint object, these setting will be shared among all hints created by this object
var HINTS_CFG = {
	'wise'       : true, // don't go off screen, don't overlap the object in the document
	'margin'     : 10, // minimum allowed distance between the hint and the window edge (negative values accepted)
	'gap'        : -7, // minimum allowed distance between the hint and the origin (negative values accepted)
	'align'      : 'brtl', // align of the hint and the origin (by first letters origin's top|middle|bottom left|center|right to hint's top|middle|bottom left|center|right)
	'css'        : 'wrapped', // a style class name for all hints, applied to DIV element (see style section in the header of the document)
	'show_delay' : 200, // a delay between initiating event (mouseover for example) and hint appearing
	'hide_delay' : 500, // a delay between closing event (mouseout for example) and hint disappearing
	'follow'     : false, // hint follows the mouse as it moves
	'z-index'    : 100, // a z-index for all hint layers
	'IEfix'      : true, // fix IE problem with windowed controls visible through hints (activate if select boxes are visible through the hints)
	'IEtrans'    : ['blendTrans(DURATION=.3)'], // [show transition, hide transition] - transition effects, only work in IE5+
	'opacity'    : 90 // opacity of the hint in %%
};
// text/HTML of the hints
var HINTS_ITEMS = [
	wrapper('Er Skype installeret på din PC, kan du her indtast dit Skype ID og foretage samtale og visninger via Skype. Dette sker ved at trykke på "samtale via Skype" på annoncebeskrivelsen'),
	wrapper('Hvis du via en af BørneBazarens kampagner har modtaget en RABAT KODE, taster du koden ind her. Så får du automatisk glæde af den omtalte rabat.'),
];
function wrapper (s_text) {
	return [
		'<div style="width: 380px"><table>',
		'<tr><td><img src="files/system/tigra/corner_tl.gif" width="10" height="10" /></td><td style="background-image:url(files/system/tigra/side_t.gif)"></td><td><img src="files/system/tigra/corner_tr.gif" width="10" height="10" /></td></tr>',
		'<tr><td style="background-image:url(files/system/tigra/side_l.gif)"></td><td class="hintText">', s_text ,'</td><td style="background-image:url(files/system/tigra/side_r.gif)"></td></tr>',
		'<tr><td><img src="files/system/tigra/corner_bl.gif" width="10" height="10" /></td><td style="background-image:url(files/system/tigra/side_b.gif)"></td><td><img src="files/system/tigra/corner_br.gif" width="10" height="10" /></td></tr>',
		'</table></div>'
	].join('');
}
var myHint = new THints (HINTS_ITEMS, HINTS_CFG);
