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' : 20000, // a delay between hint appearing and hint hiding
	'wise'       : true,
	'follow'     : true,
	'z-index'    : 0 // a z-index for all hint layers
},
/*EVENT CALL:
onMouseOver="myHint.show('1')" onMouseOut="myHint.hide()"*/

HINTS_ITEMS = {
	1:'<table width="200" cellpadding="4" cellspacing="0" bgcolor="#78b162" style="font-family:Tahoma, Arial, sans-serif; font-size:10px; color:#ffffff"><tr><td>You are logged in. Always remember to logout using the Logout link on the bottom of page when you are done.</td></tr></table>',
	2:'<table width="200" cellpadding="4" cellspacing="0" bgcolor="#78b162" style="font-family:Tahoma, Arial, sans-serif; font-size:10px; color:#ffffff"><tr><td>Top MUR News are the news currently scrolling in the frontpage. All validated users can contribute to this content.</td></tr></table>',
	3:'<table width="200" cellpadding="4" cellspacing="0" bgcolor="#78b162" style="font-family:Tahoma, Arial, sans-serif; font-size:10px; color:#ffffff"><tr><td>This is the date of the News event, not necessarily today&acute;s date. The date format MUST be: dd/mm/yyyy.</td></tr></table>',
	4:'<table width="200" cellpadding="4" cellspacing="0" bgcolor="#78b162" style="font-family:Tahoma, Arial, sans-serif; font-size:10px; color:#ffffff"><tr><td>Please enter the details of the MUR news here. Keep entry short to no more than 200 characters.</td></tr></table>',
	5:'<table width="200" cellpadding="4" cellspacing="0" bgcolor="#78b162" style="font-family:Tahoma, Arial, sans-serif; font-size:10px; color:#ffffff"><tr><td>Please enter the link to news item in the format: http://www.xyz.com.</td></tr></table>',
	6:'<table width="200" cellpadding="4" cellspacing="0" bgcolor="#78b162" style="font-family:Tahoma, Arial, sans-serif; font-size:10px; color:#ffffff"><tr><td>This is the date of the News event, not necessarily today&acute;s date. The date format MUST be: dd/mm/yyyy.</td></tr></table>',
	7:'<table width="200" cellpadding="4" cellspacing="0" bgcolor="#78b162" style="font-family:Tahoma, Arial, sans-serif; font-size:10px; color:#ffffff"><tr><td>This is the date of the News event, not necessarily today&acute;s date. The date format MUST be: dd/mm/yyyy.</td></tr></table>',
	8:'<table width="200" cellpadding="4" cellspacing="0" bgcolor="#78b162" style="font-family:Tahoma, Arial, sans-serif; font-size:10px; color:#ffffff"><tr><td>MUR quotes are displayed on our homepage. If you will like to contribute a quote...please be our guest.</td></tr></table>',
	9:'<table width="200" cellpadding="4" cellspacing="0" bgcolor="#78b162" style="font-family:Tahoma, Arial, sans-serif; font-size:10px; color:#ffffff"><tr><td>Please enter the MUR quotation. No more than 200 characters.</td></tr></table>',
	10:'<table width="200" cellpadding="4" cellspacing="0" bgcolor="#78b162" style="font-family:Tahoma, Arial, sans-serif; font-size:10px; color:#ffffff"><tr><td>URL is Uniform or Universal Resource Locator and it denotes the link to the quotation source. Format: http://www.xyz.com/pqrs.html. This entry is optional.</td></tr></table>',
	11:'<table width="200" cellpadding="4" cellspacing="0" bgcolor="#78b162" style="font-family:Tahoma, Arial, sans-serif; font-size:10px; color:#ffffff"><tr><td>Check the messageboard regularly for information, tips and alerts about using the services provided by MUROnline.</td></tr></table>'
	};

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='img/1"+(b_ques?"q":"")+".gif'></td><td><img src='/img/pixel.gif' width='1' height='15'></td></tr><tr><td background='img/2.gif' height='28' nowrap>"+s_+"</td><td><img src='img/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='img/k0"+s_file+".jpg' class='picI'></td></tr><tr><td align=center>"+s_title+"</td></tr></table>"
}

