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' : 50, // a delay between object mouseover and hint appearing
	'hide_delay' : 5000, // a delay between hint appearing and hint hiding
	'wise'       : true,
	'follow'     : true,
	'z-index'    : 100 // a z-index for all hint layers
},

HINTS_ITEMS = {
	'TT01':wrap_img("grawik01",""), 
	'TT02':wrap_img("grawik02",""), 
	'TT03':wrap_img("grawik03",""), 
	'TT04':wrap_img("grawik04",""), 
	'TT05':wrap_img("grawik05",""), 
	'TT06':wrap_img("grawik06",""), 
	'TT07':wrap_img("grawik07",""), 
	'TT08':wrap_img("grawik08",""), 
	'TT09':wrap_img("grawik09",""), 
	'TT10':wrap_img("grawik10",""), 
	'TT11':wrap_img("grawik11",""), 
	'TT12':wrap_img("grawik12",""), 
	'TT13':wrap_img("grawik13",""), 
	'TT14':wrap_img("grawik14",""), 
	'TT15':wrap_img("grawik15",""), 
	'TT16':wrap_img("grawik16",""), 
	'TT17':wrap_img("grawik17",""), 
	'TT18':wrap_img("grawik18",""), 
	'TT19':wrap_img("grawik19",""), 
	'TT20':wrap_img("grawik20",""), 
	'TT21':wrap_img("grawik21",""), 
	'TT22':wrap_img("grawik22",""), 
	'TT23':wrap_img("grawik23",""), 
	'TT24':wrap_img("grawik24",""), 
	'TT25':wrap_img("grawik25",""), 
	'TT26':wrap_img("grawik26",""), 
	'TT27':wrap_img("grawik27",""), 
	'TT28':wrap_img("grawik28","") 
};

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='foto/"+s_file+".jpg'></td></tr></table>"
}

