
<!--
// This code is from Dynamic Web Coding www.dyn-web.com 
// Copyright 2002 by Sharon Paine Permission granted to use this code as long as this entire notice is included.
// Courtesy of SimplytheBest.net - http://simplythebest.net/scripts/

var dom = (document.getElementById) ? true : false;
var ns5 = ((navigator.userAgent.indexOf("Gecko")>-1) && dom) ? true: false;
var ie5 = ((navigator.userAgent.indexOf("MSIE")>-1) && dom) ? true : false;
var ns4 = (document.layers && !dom) ? true : false;
var ie4 = (document.all && !dom) ? true : false;
var nodyn = (!ns5 && !ns4 && !ie4 && !ie5) ? true : false;

var origWidth, origHeight;
if (ns4) {
	origWidth = window.innerWidth; origHeight = window.innerHeight;
	window.onresize = function() { if (window.innerWidth != origWidth || window.innerHeight != origHeight) history.go(0); }
}

if (nodyn) { event = "nope" }
var tipFollowMouse	= true;	
var tipWidth		= 150;
var offX		 	= -180;	// how far from mouse to show tip
var offY		 	= -200; 
var tipFontFamily 	= "Verdana, arial, helvetica, sans-serif";
var tipFontSize		= "8pt";
var tipFontColor		= "#000000";
var tipBgColor		= "#DDECFF"; 
var origBgColor 		= tipBgColor; // in case no bgColor set in array
var tipBorderColor 	= "#000080";
var tipBorderWidth 	= 2;
var tipBorderStyle 	= "ridge";
var tipPadding	 	= 4;

var messages = new Array();
messages[0] = new Array('Bible.jpg','II Timothy 3:16 All scripture is given by inspiration of God, and is profitable for doctrine, for reproof, for correction, for instruction in righteousness:',"#FFFFFF");
messages[1] = new Array('Bible.jpg','Deuteronomy 6:4 Hear, O Israel: The LORD our God is one LORD: ',"#FFFFFF");
messages[2] = new Array('Bible.jpg','John 1:1 In the beginning was the Word, and the Word was with God, and the Word was God.',"#FFFFFF");
messages[3] = new Array('Bible.jpg','Ephesians 2 :8-9 For by grace are ye saved through faith; and that not of yourselves: it is the gift of God: Not of works, lest any man should boast. ',"#FFFFFF");
messages[4] = new Array('Bible.jpg','Romans 3:21-24 But now the righteousness of God without the law is manifested, being witnessed by the law and the prophets; Even the righteousness of God which is by faith of Jesus Christ unto all and upon all them that believe: for there is no difference: For all have sinned, and come short of the glory of God; Being justified freely by his grace through the redemption that is in Christ Jesus:',"#FFFFFF");
messages[5] = new Array('Bible.jpg','Matthew 28:19 Go ye therefore, and teach all nations, baptizing them in the name of the Father, and of the Son, and of the Holy Ghost:',"#FFFFFF");
messages[6] = new Array('Bible.jpg','Acts 2:38 Then Peter said unto them, Repent, and be baptized every one of you in the name of Jesus Christ for the remission of sins, and ye shall receive the gift of the Holy Ghost.',"#FFFFFF");
messages[7] = new Array('Bible.jpg','Romans 6:4 Therefore we are buried with him by baptism into death: that like as Christ was raised up from the dead by the glory of the Father, even so we also should walk in newness of life.',"#FFFFFF");
messages[8] = new Array('Bible.jpg','I Timothy 3:16 And without controversy great is the mystery of godliness: God was manifest in the flesh, justified in the Spirit, seen of angels, preached unto the Gentiles, believed on in the world, received up into glory.',"#FFFFFF");
messages[9] = new Array('Bible.jpg','II Corinthians 7:1 Having therefore these promises, dearly beloved, let us cleanse ourselves from all filthiness of the flesh and spirit, perfecting holiness in the fear of God.',"#FFFFFF");
messages[10] = new Array('Bible.jpg','Acts 1:8 But ye shall receive power, after that the Holy Ghost is come upon you: and ye shall be witnesses unto me both in Jerusalem, and in all Judaea, and in Samaria, and unto the uttermost part of the earth.',"#FFFFFF");
messages[11] = new Array('Bible.jpg','Acts 2:4 And they were all filled with the Holy Ghost, and began to speak with other tongues, as the Spirit gave them utterance.',"#FFFFFF");
messages[12] = new Array('Bible.jpg','Acts 8:14-17 Now when the apostles which were at Jerusalem heard that Samaria had received the word of God, they sent unto them Peter and John: Who, when they were come down, prayed for them, that they might receive the Holy Ghost: (For as yet he was fallen upon none of them: only they were baptized in the name of the Lord Jesus.) Then laid they their hands on them, and they received the Holy Ghost.',"#FFFFFF");
messages[13] = new Array('Bible.jpg','I Corinthians 12:4-7 Now there are diversities of gifts, but the same Spirit. And there are differences of administrations, but the same Lord. And there are diversities of operations, but it is the same God which worketh all in all. But the manifestation of the Spirit is given to every man to profit withal.',"#FFFFFF");
messages[14] = new Array('Bible.jpg','Ephesians 3:10 To the intent that now unto the principalities and powers in heavenly places might be known by the church the manifold wisdom of God,',"#FFFFFF");
messages[15] = new Array('Bible.jpg','I Corinthians 12:2-6 Ye know that ye were Gentiles, carried away unto these dumb idols, even as ye were led. Wherefore I give you to understand, that no man speaking by the Spirit of God calleth Jesus accursed: and that no man can say that Jesus is the Lord, but by the Holy Ghost. Now there are diversities of gifts, but the same Spirit. And there are differences of administrations, but the same Lord. And there are diversities of operations, but it is the same God which worketh all in all.',"#FFFFFF");
messages[16] = new Array('Bible.jpg','I Corinthians 12:7-11 But the manifestation of the Spirit is given to every man to profit withal. For to one is given by the Spirit the word of wisdom; to another the word of knowledge by the same Spirit; To another faith by the same Spirit; to another the gifts of healing by the same Spirit; To another the working of miracles; to another prophecy; to another discerning of spirits; to another divers kinds of tongues; to another the interpretation of tongues: But all these worketh that one and the selfsame Spirit, dividing to every man severally as he will.',"#FFFFFF");
messages[17] = new Array('Bible.jpg','I Peter 2:5 Ye also, as lively stones, are built up a spiritual house, an holy priesthood, to offer up spiritual sacrifices, acceptable to God by Jesus Christ.',"#FFFFFF");
messages[18] = new Array('Bible.jpg','I Timothy 4:14 Neglect not the gift that is in thee, which was given thee by prophecy, with the laying on of the hands of the presbytery.',"#FFFFFF");
messages[19] = new Array('Bible.jpg','Ephesians 4:11-13 And he gave some, apostles; and some, prophets; and some, evangelists; and some, pastors and teachers; For the perfecting of the saints, for the work of the ministry, for the edifying of the body of Christ: Till we all come in the unity of the faith, and of the knowledge of the Son of God, unto a perfect man, unto the measure of the stature of the fulness of Christ:',"#FFFFFF");
messages[20] = new Array('Bible.jpg','Ephesians 4:14-16 That we henceforth be no more children, tossed to and fro, and carried about with every wind of doctrine, by the sleight of men, and cunning craftiness, whereby they lie in wait to deceive; But speaking the truth in love, may grow up into him in all things, which is the head, even Christ: From whom the whole body fitly joined together and compacted by that which every joint supplieth, according to the effectual working in the measure of every part, maketh increase of the body unto the edifying of itself in love.',"#FFFFFF");
messages[21] = new Array('Bible.jpg','Acts 1:9-11 And when he had spoken these things, while they beheld, he was taken up; and a cloud received him out of their sight. And while they looked stedfastly toward heaven as he went up, behold, two men stood by them in white apparel; Which also said, Ye men of Galilee, why stand ye gazing up into heaven? this same Jesus, which is taken up from you into heaven, shall so come in like manner as ye have seen him go into heaven.',"#FFFFFF");
messages[22] = new Array('Bible.jpg','Revelation 22:1-4 And he showed me a pure river of water of life, clear as crystal, proceeding out of the throne of God and of the Lamb. In the midst of the street of it, and on either side of the river, was there the tree of life, which bare twelve manner of fruits, and yielded her fruit every month: and the leaves of the tree were for the healing of the nations. And there shall be no more curse: but the throne of God and of the Lamb shall be in it; and his servants shall serve him: And they shall see his face; and his name shall be in their foreheads.',"#FFFFFF");
messages[23] = new Array('Bible.jpg','Revelation 22:5-7 And there shall be no night there; and they need no candle, neither light of the sun; for the Lord God giveth them light: and they shall reign for ever and ever. And he said unto me, These sayings are faithful and true: and the Lord God of the holy prophets sent his angel to show unto his servants the things which must shortly be done. Behold, I come quickly: blessed is he that keepeth the sayings of the prophecy of this book.',"#FFFFFF");
messages[24] = new Array('Bible.jpg','Hebrews 7: 1-4 For this Melchisedec, king of Salem, priest of the most high God, who met Abraham returning from the slaughter of the kings, and blessed him; To whom also Abraham gave a tenth part of all; first being by interpretation King of righteousness, and after that also King of Salem, which is, King of peace; Without father, without mother, without descent, having neither beginning of days, nor end of life; but made like unto the Son of God; abideth a priest continually. Now consider how great this man was, unto whom even the patriarch Abraham gave the tenth of the spoils.',"#FFFFFF");
messages[25] = new Array('Bible.jpg','Hebrews 7: 5-10 And verily they that are of the sons of Levi, who receive the office of the priesthood, have a commandment to take tithes of the people according to the law, that is, of their brethren, though they come out of the loins of Abraham: But he whose descent is not counted from them received tithes of Abraham, and blessed him that had the promises. And without all contradiction the less is blessed of the better. And here men that die receive tithes; but there he receiveth them, of whom it is witnessed that he liveth. And as I may so say, Levi also, who receiveth tithes, payed tithes in Abraham. For he was yet in the loins of his father, when Melchisedec met him.',"#FFFFFF");
messages[26] = new Array('Bible.jpg','Malachi 3:7-9 Even from the days of your fathers ye are gone away from mine ordinances, and have not kept them. Return unto me, and I will return unto you, saith the LORD of hosts. But ye said, Wherein shall we return? Will a man rob God? Yet ye have robbed me. But ye say, Wherein have we robbed thee? In tithes and offerings. Ye are cursed with a curse: for ye have robbed me, even this whole nation.',"#FFFFFF");
messages[27] = new Array('Bible.jpg','James 5:14 Is any sick among you? let him call for the elders of the church; and let them pray over him, anointing him with oil in the name of the Lord:',"#FFFFFF");


messages[28] = new Array('Bible.jpg','Matthew 6:5-8 5And when thou prayest, thou shalt not be as the hypocrites are: for they love to pray standing in the synagogues and in the corners of the streets, that they may be seen of men. Verily I say unto you, They have their reward. 6But thou, when thou prayest, enter into thy closet, and when thou hast shut thy door, pray to thy Father which is in secret; and thy Father which seeth in secret shall reward thee openly. 7But when ye pray, use not vain repetitions, as the heathen do: for they think that they shall be heard for their much speaking. 8Be not ye therefore like unto them: for your Father knoweth what things ye have need of, before ye ask him.',"#FFFFFF");
messages[29] = new Array('Bible.jpg','Psalm 150 1    Praise ye the LORD. Praise God in his sanctuary: praise him in the firmament of his power.  2    Praise him for his mighty acts: praise him according to his excellent greatness.  3    Praise him with the sound of the trumpet: praise him with the psaltery and harp.  4    Praise him with the timbrel and dance: praise him with stringed instruments and organs.  5    Praise him upon the loud cymbals: praise him upon the high sounding cymbals.  6    Let every thing that hath breath praise the LORD. Praise ye the LORD.',"#FFFFFF");
messages[30] = new Array('Bible.jpg','John 4:20-24 20Our fathers worshipped in this mountain; and ye say, that in Jerusalem is the place where men ought to worship. 21Jesus saith unto her, Woman, believe me, the hour cometh, when ye shall neither in this mountain, nor yet at Jerusalem, worship the Father. 22Ye worship ye know not what: we know what we worship: for salvation is of the Jews. 23But the hour cometh, and now is, when the true worshippers shall worship the Father in spirit and in truth: for the Father seeketh such to worship him. 24God is a Spirit: and they that worship him must worship him in spirit and in truth.',"#FFFFFF");
messages[31] = new Array('Bible.jpg','Mark 11:22-24 22And Jesus answering saith unto them, Have faith in God. 23For verily I say unto you, That whosoever shall say unto this mountain, Be thou removed, and be thou cast into the sea; and shall not doubt in his heart, but shall believe that those things which he saith shall come to pass; he shall have whatsoever he saith. 24Therefore I say unto you, What things soever ye desire, when ye pray, believe that ye receive them, and ye shall have them. ',"#FFFFFF");
messages[32] = new Array('Bible.jpg','Isaiah 58: 1-3 1Cry aloud, spare not, lift up thy voice like a trumpet, and show my people their transgression, and the house of Jacob their sins. 2Yet they seek me daily, and delight to know my ways, as a nation that did righteousness, and forsook not the ordinance of their God: they ask of me the ordinances of justice; they take delight in approaching to God.  3Wherefore have we fasted, say they, and thou seest not? wherefore have we afflicted our soul, and thou takest no knowledge? Behold, in the day of your fast ye find pleasure, and exact all your labours.',"#FFFFFF");
messages[33] = new Array('Bible.jpg','II Timothy 2:15 15Study to show thyself approved unto God, a workman that needeth not to be ashamed, rightly dividing the word of truth.',"#FFFFFF");
messages[34] = new Array('Bible.jpg','Psalm 1:2 But his delight is in the law of the LORD; and in his law doth he meditate day and night.',"#FFFFFF");
messages[35] = new Array('Bible.jpg','Galatians 5:16 16This I say then, Walk in the Spirit, and ye shall not fulfil the lust of the flesh.',"#FFFFFF");
messages[36] = new Array('Bible.jpg','Romans 1:24 24Wherefore God also gave them up to uncleanness through the lusts of their own hearts, to dishonour their own bodies between themselves:',"#FFFFFF");
messages[37] = new Array('Bible.jpg','Philippians 4:8 8Finally, brethren, whatsoever things are true, whatsoever things are honest, whatsoever things are just, whatsoever things are pure, whatsoever things are lovely, whatsoever things are of good report; if there be any virtue, and if there be any praise, think on these things.',"#FFFFFF");
messages[38] = new Array('Bible.jpg','Revelation 21:8 8But the fearful, and unbelieving, and the abominable, and murderers, and whoremongers, and sorcerers, and idolaters, and all liars, shall have their part in the lake which burneth with fire and brimstone: which is the second death.',"#FFFFFF");
messages[39] = new Array('Bible.jpg','Ephesians 5:15-17 15See then that ye walk circumspectly, not as fools, but as wise, 16Redeeming the time, because the days are evil. 17Wherefore be ye not unwise, but understanding what the will of the Lord is.',"#FFFFFF");
messages[40] = new Array('Bible.jpg','Matthew 5:37 37But let your communication be, Yea, yea; Nay, nay: for whatsoever is more than these cometh of evil.',"#FFFFFF");
messages[41] = new Array('Bible.jpg','John 13:34 34A new commandment I give unto you, That ye love one another; as I have loved you, that ye also love one another. ',"#FFFFFF");
messages[42] = new Array('Bible.jpg','Matthew 5:43-48 43Ye have heard that it hath been said, Thou shalt love thy neighbour, and hate thine enemy. 44But I say unto you, Love your enemies, bless them that curse you, do good to them that hate you, and pray for them which despitefully use you, and persecute you; 45That ye may be the children of your Father which is in heaven: for he maketh his sun to rise on the evil and on the good, and sendeth rain on the just and on the unjust. 46For if ye love them which love you, what reward have ye? do not even the publicans the same? 47And if ye salute your brethren only, what do ye more than others? do not even the publicans so? 48Be ye therefore perfect, even as your Father which is in heaven is perfect.',"#FFFFFF");
messages[43] = new Array('Bible.jpg','Mark 6:34 34And Jesus, when he came out, saw much people, and was moved with compassion toward them, because they were as sheep not having a shepherd: and he began to teach them many things. ',"#FFFFFF");
messages[44] = new Array('Bible.jpg','Matthew 6:14-15 14For if ye forgive men their trespasses, your heavenly Father will also forgive you: 15But if ye forgive not men their trespasses, neither will your Father forgive your trespasses.',"#FFFFFF");
messages[45] = new Array('Bible.jpg','John 15:4-5 4Abide in me, and I in you. As the branch cannot bear fruit of itself, except it abide in the vine; no more can ye, except ye abide in me. 5I am the vine, ye are the branches: He that abideth in me, and I in him, the same bringeth forth much fruit: for without me ye can do nothing.',"#FFFFFF");
messages[46] = new Array('Bible.jpg','I Corinthians 6:15-18 15Know ye not that your bodies are the members of Christ? shall I then take the members of Christ, and make them the members of an harlot? God forbid. 16What? know ye not that he which is joined to an harlot is one body? for two, saith he, shall be one flesh. 17But he that is joined unto the Lord is one spirit. 18Flee fornication. Every sin that a man doeth is without the body; but he that committeth fornication sinneth against his own body.',"#FFFFFF");
messages[47] = new Array('Bible.jpg','Mark 10:7 7For this cause shall a man leave his father and mother, and cleave to his wife;',"#FFFFFF");
messages[48] = new Array('Bible.jpg','Ephesians 5:22-26 22Wives, submit yourselves unto your own husbands, as unto the Lord. 23For the husband is the head of the wife, even as Christ is the head of the church: and he is the saviour of the body. 24Therefore as the church is subject unto Christ, so let the wives be to their own husbands in every thing. 25Husbands, love your wives, even as Christ also loved the church, and gave himself for it; 26That he might sanctify and cleanse it with the washing of water by the word,',"#FFFFFF");
messages[49] = new Array('Bible.jpg','Ephesians 6:1-4 1Children, obey your parents in the Lord: for this is right. 2Honour thy father and mother; (which is the first commandment with promise;) 3That it may be well with thee, and thou mayest live long on the earth. 4And, ye fathers, provoke not your children to wrath: but bring them up in the nurture and admonition of the Lord.',"#FFFFFF");
messages[50] = new Array('Bible.jpg','Colossians 3:20 20Children, obey your parents in all things: for this is well pleasing unto the Lord.',"#FFFFFF");
messages[51] = new Array('Bible.jpg','I Corinthians 6:19-20 19What? know ye not that your body is the temple of the Holy Ghost which is in you, which ye have of God, and ye are not your own? 20For ye are bought with a price: therefore glorify God in your body, and in your spirit, which are God’s.',"#FFFFFF");
messages[52] = new Array('Bible.jpg','Matthew 6:9-15 9After this manner therefore pray ye: Our Father which art in heaven, Hallowed be thy name. 10Thy kingdom come. Thy will be done in earth, as it is in heaven. 11Give us this day our daily bread. 12And forgive us our debts, as we forgive our debtors. 13And lead us not into temptation, but deliver us from evil: For thine is the kingdom, and the power, and the glory, for ever. Amen. 14For if ye forgive men their trespasses, your heavenly Father will also forgive you: 15But if ye forgive not men their trespasses, neither will your Father forgive your trespasses.',"#FFFFFF");
messages[53] = new Array('Bible.jpg','Isaiah 58:10-12 10And if thou draw out thy soul to the hungry, and satisfy the afflicted soul; then shall thy light rise in obscurity, and thy darkness be as the noonday: 11And the LORD shall guide thee continually, and satisfy thy soul in drought, and make fat thy bones: and thou shalt be like a watered garden, and like a spring of water, whose waters fail not. 12And they that shall be of thee shall build the old waste places: thou shalt raise up the foundations of many generations; and thou shalt be called, The repairer of the breach, The restorer of paths to dwell in.',"#FFFFFF");
messages[54] = new Array('Bible.jpg','Isaiah 58:13-14  13If thou turn away thy foot from the sabbath, from doing thy pleasure on my holy day; and call the sabbath a delight, the holy of the LORD, honourable; and shalt honour him, not doing thine own ways, nor finding thine own pleasure, nor speaking thine own words: 14Then shalt thou delight thyself in the LORD; and I will cause thee to ride upon the high places of the earth, and feed thee with the heritage of Jacob thy father: for the mouth of the LORD hath spoken it.',"#FFFFFF");
messages[55] = new Array('Bible.jpg','Ephesians 4:4-6 There is one body, and one Spirit, even as ye are called in one hope of your calling; One Lord, one faith, one baptism, One God and Father of all, who is above all, and through all, and in you all.',"#FFFFFF");
messages[56] = new Array('Bible.jpg','Malachi 3:10-11 Bring ye all the tithes into the storehouse, that there may be meat in mine house, and prove me now herewith, saith the LORD of hosts, if I will not open you the windows of heaven, and pour you out a blessing, that there shall not be room enough to receive it. And I will rebuke the devourer for your sakes, and he shall not destroy the fruits of your ground; neither shall your vine cast her fruit before the time in the field, saith the LORD of hosts.',"#FFFFFF");
messages[57] = new Array('Bible.jpg','Isaiah 58: 4-6 Behold, ye fast for strife and debate, and to smite with the fist of wickedness: ye shall not fast as ye do this day, to make your voice to be heard on high. 5Is it such a fast that I have chosen? a day for a man to afflict his soul? is it to bow down his head as a bulrush, and to spread sackcloth and ashes under him? wilt thou call this a fast, and an acceptable day to the LORD? 6Is not this the fast that I have chosen? to loose the bands of wickedness, to undo the heavy burdens, and to let the oppressed go free, and that ye break every yoke?',"#FFFFFF");
messages[58] = new Array('Bible.jpg','Isaiah 58:7-9  7Is it not to deal thy bread to the hungry, and that thou bring the poor that are cast out to thy house? when thou seest the naked, that thou cover him; and that thou hide not thyself from thine own flesh?  8Then shall thy light break forth as the morning, and thine health shall spring forth speedily: and thy righteousness shall go before thee; the glory of the LORD shall be thy rereward. 9Then shalt thou call, and the LORD shall answer; thou shalt cry, and he shall say, Here I am. If thou take away from the midst of thee the yoke, the putting forth of the finger, and speaking vanity;',"#FFFFFF");
messages[59] = new Array('Bible.jpg','Ephesians 5:27-31 27That he might present it to himself a glorious church, not having spot, or wrinkle, or any such thing; but that it should be holy and without blemish. 28So ought men to love their wives as their own bodies. He that loveth his wife loveth himself. 29For no man ever yet hated his own flesh; but nourisheth and cherisheth it, even as the Lord the church: 30For we are members of his body, of his flesh, and of his bones. 31For this cause shall a man leave his father and mother, and shall be joined unto his wife, and they two shall be one flesh.',"#FFFFFF");




if (document.images) {
	var theImgs = new Array();
	for (var i=0; i<messages.length; i++) {
  	theImgs[i] = new Image();
		theImgs[i].src = messages[i][0];
  }
}

var startStr = '<table width="' + tipWidth + '"><tr><td align="center" width="100%"><img src="';
var midStr = '" border="0"></td></tr><tr><td valign="top">';
var endStr = '</td></tr></table>';

var tooltip, tipcss;
function initTip() {
	if (nodyn) return;
	tooltip = (ns4)? document.tipDiv.document: (ie4)? document.all['tipDiv']: (ie5||ns5)? document.getElementById('tipDiv'): null;
	tipcss = (ns4)? document.tipDiv: tooltip.style;
	if (ie4||ie5||ns5) {	// ns4 would lose all this on rewrites
		tipcss.width = tipWidth+"px";
		tipcss.fontFamily = tipFontFamily;
		tipcss.fontSize = tipFontSize;
		tipcss.color = tipFontColor;
		tipcss.backgroundColor = tipBgColor;
		tipcss.borderColor = tipBorderColor;
		tipcss.borderWidth = tipBorderWidth+"px";
		tipcss.padding = tipPadding+"px";
		tipcss.borderStyle = tipBorderStyle;
	}
	if (tooltip&&tipFollowMouse) {
		if (ns4) document.captureEvents(Event.MOUSEMOVE);
		document.onmousemove = trackMouse;
	}
}

window.onload = initTip;

var t1,t2;	// for setTimeouts
var tipOn = false;	// check if over tooltip link
function doTooltip(evt,num) {

	if (!tooltip) return;
	if (t1) clearTimeout(t1);	if (t2) clearTimeout(t2);
	tipOn = true;
	// set colors if included in messages array
	if (messages[num][2])	var curBgColor = messages[num][2];
	else curBgColor = tipBgColor;
	if (messages[num][3])	var curFontColor = messages[num][3];
	else curFontColor = tipFontColor;
	if (ns4) {
		var tip = '<table bgcolor="' + tipBorderColor + '" width="' + tipWidth + '" cellspacing="0" cellpadding="' + tipBorderWidth + '" border="0"><tr><td><table bgcolor="' + curBgColor + '" width="100%" cellspacing="0" cellpadding="' + tipPadding + '" border="0"><tr><td>'+ startStr + messages[num][0] + midStr + '<span style="font-family:' + tipFontFamily + '; font-size:' + tipFontSize + '; color:' + curFontColor + ';">' + messages[num][1] + '</span>' + endStr + '</td></tr></table></td></tr></table>';
		tooltip.write(tip);
		tooltip.close();
	} else if (ie4||ie5||ns5) {
		var tip = startStr + messages[num][0] + midStr + '<span style="font-family:' + tipFontFamily + '; font-size:' + tipFontSize + '; color:' + curFontColor + ';">' + messages[num][1] + '</span>' + endStr;
		tipcss.backgroundColor = curBgColor;
	 	tooltip.innerHTML = tip;
	}
	if (!tipFollowMouse) positionTip(evt);
	else t1=setTimeout("tipcss.visibility='visible'",100);
}

var mouseX, mouseY;
function trackMouse(evt) {
	mouseX = (ns4||ns5)? evt.pageX: window.event.clientX + document.body.scrollLeft;
	mouseY = (ns4||ns5)? evt.pageY: window.event.clientY + document.body.scrollTop;
	if (tipOn) positionTip(evt);
}

function positionTip(evt) {
	if (!tipFollowMouse) {
		mouseX = (ns4||ns5)? evt.pageX: window.event.clientX + document.body.scrollLeft;
		mouseY = (ns4||ns5)? evt.pageY: window.event.clientY + document.body.scrollTop;
	}
	// tooltip width and height
	var tpWd = (ns4)? tooltip.width: (ie4||ie5)? tooltip.clientWidth: tooltip.offsetWidth;
	var tpHt = (ns4)? tooltip.height: (ie4||ie5)? tooltip.clientHeight: tooltip.offsetHeight;
	// document area in view (subtract scrollbar width for ns)
	var winWd = (ns4||ns5)? window.innerWidth-20+window.pageXOffset: document.body.clientWidth+document.body.scrollLeft;
	var winHt = (ns4||ns5)? window.innerHeight-20+window.pageYOffset: document.body.clientHeight+document.body.scrollTop;
	// check mouse position against tip and window dimensions
	// and position the tooltip 
	if ((mouseX+offX+tpWd)>winWd) 
		tipcss.left = (ns4)? mouseX-(tpWd+offX): mouseX-(tpWd+offX)+"px";
	else tipcss.left = (ns4)? mouseX+offX: mouseX+offX+"px";
	if ((mouseY+offY+tpHt)>winHt) 
		tipcss.top = (ns4)? winHt-(tpHt+offY): winHt-(tpHt+offY)+"px";
	else tipcss.top = (ns4)? mouseY+offY: mouseY+offY+"px";
	if (!tipFollowMouse) t1=setTimeout("tipcss.visibility='visible'",100);
}

function hideTip() {
	if (!tooltip) return;
	t2=setTimeout("tipcss.visibility='hidden'",100);
	tipOn = false;
}
//-->

