// dia_hints_cfg.js
// tigra hints config for diamonds page

var HINTS_CFG = {
	'top'        : 0, // a vertical offset of a hint from mouse pointer
	'left'       : 0, // a horizontal offset of a hint from mouse pointer
	'css'        : 'hintsClass', // a style class name for all hints, TD object
	'show_delay' : 0, // a delay between object mouseover and hint appearing
	'hide_delay' : 15000, // a delay between hint appearing and hint hiding
	'wise'       : true,
	'follow'     : false,
	'z-index'    : 0 // a z-index for all hint layers
},

HINTS_ITEMS = {
	'carat':'<table width="200" border="2" cellspacing="0" cellpadding="0" bgcolor="#000"><tr><td><table border="0" cellspacing="1" cellpadding="3"><tr class="row"><td bgcolor="#cccccc"><b><font size="2">Carat Weight &#8212; The weight of a diamond is typically measured in carats and is used to describe the size of a diamond.</font></b></td></tr></table></td></tr></table>',
	'color':'<table width="200" border="2" cellspacing="0" cellpadding="0" bgcolor="#000"><tr><td><table border="0" cellspacing="1" cellpadding="3"><tr class="row"><td bgcolor="#cccccc"><b><font size="2">Color &#8212; Diamonds with very little color are the most highly valued types of diamonds and are priced accordingly. Grading of our diamond&#8217;s color is based on the Gemological Institute of America&#8217;s (GIA) Color Scale of D (colorless) - Z (vivid colors).</font></b></td></tr></table></td></tr></table>',
	'clarity':'<table width="200" border="2" cellspacing="0" cellpadding="0" bgcolor="#000"><tr><td><table border="0" cellspacing="1" cellpadding="3"><tr class="row"><td bgcolor="#cccccc"><b><font size="2">Clarity &#8212; The clarity of our diamonds is based on the Gemological Institute of America&#8217;s (GIA) Clarity scale of of FL (flawless with no inclusions) to I3 (significantly included).</font></b></td></tr></table></td></tr></table>',
	'price':'<table width="200" border="2" cellspacing="0" cellpadding="0" bgcolor="#000"><tr><td><table border="0" cellspacing="1" cellpadding="3"><tr class="row"><td bgcolor="#cccccc"><b><font size="2">Price &#8212; Determine your budget and decide how much you would like to spend on a diamond, and the &#8220;absolute maximum&#8221; amount of money you can afford to spend before you begin your search.</font></b></td></tr></table></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 bgcolor='#cccccc' 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='#cccccc' 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>"
}