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' : 6500, // a delay between hint appearing and hint hiding
	'wise'       : true,
	'follow'     : true,
	'z-index'    : 0 // a z-index for all hint layers
},

// Must not store more than 500 verses (license restriction by ESV)
HINTS_ITEMS = {
	'Exodus 3:14':wrap_verse("God said to Moses, &#8220;I am who I am.&#8221; And he said, &#8220;Say this to the people of Israel, I am has sent me to you.&#8221"),
	'Exodus 34:6':wrap_verse("The Lord passed before him and proclaimed, &#8220;The LORD, the LORD, a God merciful and gracious, slow to anger, and abounding in steadfast love and faithfulness.&#8221;"),
	'Job 11:7':wrap_verse("Can you find out the deep things of God? Can you find out the limit of the Almighty?"),
	'Psalm 90:2':wrap_verse("Before the mountains were brought forth, or ever you had formed the earth and the world, from everlasting to everlasting you are God."),
	'Psalm 147:5':wrap_verse("Great is our Lord, and abundant in power; his understanding is beyond measure."),
	'Matthew 28:19':wrap_verse("Go therefore and make disciples of all nations, baptizing them in the name of the Father and of the Son and of the Holy Spirit."),
	'John 1:12':wrap_verse("But to all who did receive him, who believed in his name, he gave the right to become children of God."),
	'John 4:24':wrap_verse("God is spirit, and those who worship him must worship in spirit and truth."),
	'Acts 4:12':wrap_verse("And there is salvation in no one else, for there is no other name under heaven given among men by which we must be saved."),
	'Acts 17:30':wrap_verse("The times of ignorance God overlooked, but now he commands all people everywhere to repent."),
	'Romans 1:19-23':wrap_verse("For what can be known about God is plain to them, because God has shown it to them..."),
	'Romans 6:23':wrap_verse("For the wages of sin is death, but the free gift of God is eternal life in Christ Jesus our Lord."),
	'Romans 16:27':wrap_verse("To the only wise God be glory forevermore through Jesus Christ! Amen."),
	'1 Timothy 1:15':wrap_verse("The saying is trustworthy and deserving of full acceptance, that Christ Jesus came into the world to save sinners, of whom I am the foremost."),
	'2 Timothy 3:16':wrap_verse("All Scripture is breathed out by God and profitable for teaching, for reproof, for correction, and for training in righteousness."),
	'2 Peter 1:3':wrap_verse("His divine power has granted to us all things that pertain to life and godliness, through the knowledge of him who called us to his own glory and excellence."),
	'Revelation 4:8':wrap_verse("And the four living creatures, each of them with six wings, are full of eyes all around and within, and day and night they never cease to say, &#8220;Holy, holy, holy, is the Lord God Almighty, who was and is and is to come!&#8221;")
};

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>"
}

function wrap_verse(s_) {
  return "<table width=\"200\" cellpadding=5 bgcolor=white style='font-size: 9pt; border:1px solid #777777'><tr><td>"
    + s_ + "</td></tr></table>"
}