/*
Nav menu image swap
*/

if (document.images) {
nb_b1_off = new Image(); nb_b1_off.src = "nb.gif"
nb_b1_over = new Image(); nb_b1_over.src = "nb_over.gif"
nb_b2_off = new Image(); nb_b2_off.src = "nb.gif"
nb_b2_over = new Image(); nb_b2_over.src = "nb_over.gif"
nb_b3_off = new Image(); nb_b3_off.src = "nb.gif"
nb_b3_over = new Image(); nb_b3_over.src = "nb_over.gif"
nb_b4_off = new Image(); nb_b4_off.src = "nb.gif"
nb_b4_over = new Image(); nb_b4_over.src = "nb_over.gif"
nb_b5_off = new Image(); nb_b5_off.src = "nb.gif"
nb_b5_over = new Image(); nb_b5_over.src = "nb_over.gif"
nb_b6_off = new Image(); nb_b6_off.src = "nb.gif"
nb_b6_over = new Image(); nb_b6_over.src = "nb_over.gif"
nb_b7_off = new Image(); nb_b7_off.src = "nb.gif"
nb_b7_over = new Image(); nb_b7_over.src = "nb_over.gif"
nb_b8_off = new Image(); nb_b8_off.src = "nb.gif"
nb_b8_over = new Image(); nb_b8_over.src = "nb_over.gif"
nb_b9_off = new Image(); nb_b9_off.src = "nb.gif"
nb_b9_over = new Image(); nb_b9_over.src = "nb_over.gif"
nb_bA_off = new Image(); nb_bA_off.src = "nb.gif"
nb_bA_over = new Image(); nb_bA_over.src = "nb_over.gif"
nb_bB_off = new Image(); nb_bB_off.src = "nb.gif"
nb_bB_over = new Image(); nb_bB_over.src = "nb_over.gif"
nb_bC_off = new Image(); nb_bC_off.src = "nb.gif"
nb_bC_over = new Image(); nb_bC_over.src = "nb_over.gif"
nb_bD_off = new Image(); nb_bD_off.src = "nb.gif"
nb_bD_over = new Image(); nb_bD_over.src = "nb_over.gif"
nb_bE_off = new Image(); nb_bE_off.src = "nb.gif"
nb_bE_over = new Image(); nb_bE_over.src = "nb_over.gif"
nb_bF_off = new Image(); nb_bF_off.src = "nb.gif"
nb_bF_over = new Image(); nb_bF_over.src = "nb_over.gif"
nb_bG_off = new Image(); nb_bG_off.src = "nb.gif"
nb_bG_over = new Image(); nb_bG_over.src = "nb_over.gif"
nb_bH_off = new Image(); nb_bH_off.src = "nb.gif"
nb_bH_over = new Image(); nb_bH_over.src = "nb_over.gif"
nb_bI_off = new Image(); nb_bI_off.src = "nb.gif"
nb_bI_over = new Image(); nb_bI_over.src = "nb_over.gif"
nb_bJ_off = new Image(); nb_bJ_off.src = "nb.gif"
nb_bJ_over = new Image(); nb_bJ_over.src = "nb_over.gif"
nb_bK_off = new Image(); nb_bK_off.src = "nb.gif"
nb_bK_over = new Image(); nb_bK_over.src = "nb_over.gif"
}

function turn_off(ImageName) {
	if (document.images != null) {
		document[ImageName].src = eval(ImageName + "_off.src");
	}
}

function turn_over(ImageName) {
	if (document.images != null) {
		document[ImageName].src = eval(ImageName + "_over.src");
	}
}

function logo_over() {
	setTimeout("turn_over('nb_b1');",50);
	setTimeout("turn_off('nb_b1');",100);
	setTimeout("turn_over('nb_b2');",150);
	setTimeout("turn_off('nb_b2');",200);
	setTimeout("turn_over('nb_b3');",250);
	setTimeout("turn_off('nb_b3');",300);
	setTimeout("turn_over('nb_b4');",350);
	setTimeout("turn_off('nb_b4');",400);
	setTimeout("turn_over('nb_b5');",450);
	setTimeout("turn_off('nb_b5');",500);
	setTimeout("turn_over('nb_b6');",550);
	setTimeout("turn_off('nb_b6');",600);
	setTimeout("turn_over('nb_b7');",650);
	setTimeout("turn_off('nb_b7');",700);
	setTimeout("turn_over('nb_b8');",750);
	setTimeout("turn_off('nb_b8');",800);
	setTimeout("turn_over('nb_b9');",850);
	setTimeout("turn_off('nb_b9');",900);
	setTimeout("turn_over('nb_bA');",950);
	setTimeout("turn_off('nb_bA');",1000);
	setTimeout("turn_over('nb_bB');",1050);
	setTimeout("turn_off('nb_bB');",1100);
	setTimeout("turn_over('nb_bC');",1150);
	setTimeout("turn_off('nb_bC');",1200);
}

if (!document.layers) {
  document.write("<div id=\"divStayTopLeft\" style=\"position:absolute\">");
}

document.write("<layer id=\"divStayTopLeft\">");

document.write("<a href=\"index.html\" onmouseover=\"logo_over();\" ><img src=\"nb_logo.gif\" border=0 style=\"position: absolute; left: 0px; top: 0px;\"></a>");

document.write("<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" style=\"position: absolute; left: 0px; top: 100px;\">");

document.write("<tr><td><img src=\"nb_top.gif\" width=\"146\" height=\"21\"></td></tr>");

document.write("<tr><td><a href=\"index.html\" onmouseout=\"turn_off('nb_b1')\" onmouseover=\"turn_over('nb_b1')\" ><img name=\"nb_b1\" src=\"nb.gif\" width=\"146\" height=\"25\" border=\"0\"></a></td></tr>");

document.write("<tr><td><a href=\"about.html\" onmouseout=\"turn_off('nb_b2')\" onmouseover=\"turn_over('nb_b2')\" ><img name=\"nb_b2\" src=\"nb.gif\" width=\"146\" height=\"25\" border=\"0\"></a></td></tr>");

document.write("<tr><td><a href=\"articles/index.html\" onmouseout=\"turn_off('nb_b3')\" onmouseover=\"turn_over('nb_b3')\" ><img name=\"nb_b3\" src=\"nb.gif\" width=\"146\" height=\"25\" border=\"0\"></a></td></tr>");

document.write("<tr><td><a href=\"seminars/index.html\" onmouseout=\"turn_off('nb_b4')\" onmouseover=\"turn_over('nb_b4')\" ><img name=\"nb_b4\" src=\"nb.gif\" width=\"146\" height=\"25\" border=\"0\"></a></td></tr>");

document.write("<tr><td><a href=\"products/index.html\" onmouseout=\"turn_off('nb_b5')\" onmouseover=\"turn_over('nb_b5')\" ><img name=\"nb_b5\" src=\"nb.gif\" width=\"146\" height=\"25\" border=\"0\"></a></td></tr>");

document.write("<tr><td><a href=\"studies/index.html\" onmouseout=\"turn_off('nb_b6')\" onmouseover=\"turn_over('nb_b6')\" ><img name=\"nb_b6\" src=\"nb.gif\"  width=\"146\" height=\"25\" border=\"0\"></a></td></tr>");

document.write("<tr><td><a href=\"newsletter.html\" onmouseout=\"turn_off('nb_b7')\" onmouseover=\"turn_over('nb_b7')\" ><img name=\"nb_b7\" src=\"nb.gif\" width=\"146\" height=\"25\" border=\"0\"></a></td></tr>");

document.write("<tr><td><a href=\"passover/index.html\" onmouseout=\"turn_off('nb_b8')\" onmouseover=\"turn_over('nb_b8')\" ><img name=\"nb_b8\" src=\"nb.gif\" width=\"146\" height=\"25\" border=\"0\"></a></td></tr>");

document.write("<tr><td><a href=\"links/index.html\" onmouseout=\"turn_off('nb_b9')\" onmouseover=\"turn_over('nb_b9')\" ><img name=\"nb_b9\" src=\"nb.gif\" width=\"146\" height=\"25\" border=\"0\"></a></td></tr>");

document.write("<tr><td><a href=\"banners/index.html\" onmouseout=\"turn_off('nb_bA')\" onmouseover=\"turn_over('nb_bA')\" ><img name=\"nb_bA\" src=\"nb.gif\" width=\"146\" height=\"25\" border=\"0\"></a></td></tr>");

document.write("<tr><td><a href=\"javascript:go()\" onmouseout=\"turn_off('nb_bB')\" onmouseover=\"turn_over('nb_bB')\" ><img name=\"nb_bB\" src=\"nb.gif\" width=\"146\" height=\"25\" border=\"0\"></a></td></tr>");

document.write("<tr><td><a href=\"mailto:cg@eshcolvalley.com?subject=" + document.title + "\" onmouseout=\"turn_off('nb_bC')\" onmouseover=\"turn_over('nb_bC')\" ><img name=\"nb_bC\" src=\"nb.gif\"  width=\"146\" height=\"25\" border=\"0\"></a></td></tr>");

document.write("<tr><td><img src=\"nb_bottom.gif\" width=\"146\" height=\"20\"></td></tr>");

document.write("</table>");

document.write("<FONT FACE=\"Arial\" SIZE=1 COLOR=\"Black\"><B>");

document.write("<DIV style=\"position: absolute; left: 13px; top: 129px;\"><a href=\"index.html\" onmouseout=\"turn_off('nb_b1')\" onmouseover=\"turn_over('nb_b1')\" style=\"color: 000000; text-decoration: none;\"><NOBR>Home</NOBR></a></DIV>");

document.write("<DIV style=\"position: absolute; left: 13px; top: 154px;\"><a href=\"about.html\" onmouseout=\"turn_off('nb_b2')\" onmouseover=\"turn_over('nb_b2')\" style=\"color: 000000; text-decoration: none;\"><NOBR>About</NOBR></a></DIV>");

document.write("<DIV style=\"position: absolute; left: 13px; top: 179px;\"><a href=\"articles/index.html\" onmouseout=\"turn_off('nb_b3')\" onmouseover=\"turn_over('nb_b3')\" style=\"color: 000000; text-decoration: none;\"><NOBR>Article Archives</NOBR></a></DIV>");

document.write("<DIV style=\"position: absolute; left: 13px; top: 204px;\"><a href=\"seminars/index.html\" onmouseout=\"turn_off('nb_b4')\" onmouseover=\"turn_over('nb_b4')\" style=\"color: 000000; text-decoration: none;\"><NOBR>Seminars</NOBR></a></DIV>");

document.write("<DIV style=\"position: absolute; left: 13px; top: 229px;\"><a href=\"products/index.html\" onmouseout=\"turn_off('nb_b5')\" onmouseover=\"turn_over('nb_b5')\" style=\"color: 000000; text-decoration: none;\"><NOBR>Product Catalog</NOBR></a></DIV>");

document.write("<DIV style=\"position: absolute; left: 13px; top: 254px;\"><a href=\"studies/index.html\" onmouseout=\"turn_off('nb_b6')\" onmouseover=\"turn_over('nb_b6')\" style=\"color: 000000; text-decoration: none;\"><NOBR>Bible Study Series</NOBR></a></DIV>");

document.write("<DIV style=\"position: absolute; left: 13px; top: 279px;\"><a href=\"newsletter.html\" onmouseout=\"turn_off('nb_b7')\" onmouseover=\"turn_over('nb_b7')\" style=\"color: 000000; text-decoration: none;\"><NOBR>Newsletter Sign-up</NOBR></a></DIV>");

document.write("<DIV style=\"position: absolute; left: 13px; top: 304px;\"><a href=\"passover/index.html\" onmouseout=\"turn_off('nb_b8')\" onmouseover=\"turn_over('nb_b8')\" style=\"color: 000000; text-decoration: none;\"><NOBR>Jesus & Passover</NOBR></a></DIV>");

document.write("<DIV style=\"position: absolute; left: 13px; top: 329px;\"><a href=\"links/index.html\" onmouseout=\"turn_off('nb_b9')\" onmouseover=\"turn_over('nb_b9')\" style=\"color: 000000; text-decoration: none;\"><NOBR>Links & Awards</NOBR></a></DIV>");

document.write("<DIV style=\"position: absolute; left: 13px; top: 354px;\"><a href=\"banners/index.html\" onmouseout=\"turn_off('nb_bA')\" onmouseover=\"turn_over('nb_bA')\" style=\"color: 000000; text-decoration: none;\"><NOBR>Banners & Rings</NOBR></a></DIV>");

document.write("<DIV style=\"position: absolute; left: 13px; top: 379px;\"><a onClick=\"go();\" onmouseout=\"turn_off('nb_bB')\" onmouseover=\"turn_over('nb_bB')\" style=\"color: 000000; text-decoration: none;\"><NOBR>Bible Search</NOBR></a></DIV>");

document.write("<DIV style=\"position: absolute; left: 13px; top: 404;\">");
document.write("<a href=\"mailto:cg@eshcolvalley.com?subject=" + document.title + "\" onmouseout=\"turn_off('nb_bC')\" onmouseover=\"turn_over('nb_bC')\" style=\"color: 000000; text-decoration:  none;\"><NOBR>Send eMail</NOBR></a></DIV>");
document.write("</B></FONT>");

document.write("<DIV style=\"position: absolute; left: -1px; top: 441px;\" ID=Flip Style=\"Visibility:hidden; Filter:revealTrans(duration=2);width:179;height:110\">");

document.write("<FORM METHOD=\"POST\" ACTION=\"http://bible.crosswalk.com/OnlineStudyBible/bible.cgi\" TARGET=\"_new\"><TABLE CELLPADDING=\"2\" CELLSPACING=\"0\" BORDER=\"0\" BGCOLOR=\"#CC0000\">");
document.write("<TR>");
document.write("<TD COLSPAN=\"2\" BGCOLOR=\"#661A15\"><FONT FACE=\"Arial, Helvetica\" SIZE=\"2\" COLOR=\"#FFF0BE\"><B><I>Search the Bible:</I></B></FONT></TD></TR>");
document.write("<TR !BGCOLOR=\"#BB3A35\">");
document.write("<TD><FONT FACE=\"Arial, Helvetica\" SIZE=\"2\"><input type=\"Text\" name=\"word\" size=\"15\"><BR>");
document.write("<SELECT NAME=section>");
document.write("<OPTION VALUE=\"0\" >Whole Bible");
document.write("<OPTION VALUE=\"1\">-----------------------");
document.write("<OPTION VALUE=\"1\" >Old Testament");
document.write("<OPTION VALUE=\"2\" >New Testament");
document.write("<OPTION VALUE=\"3\">----------------------");
document.write("<OPTION VALUE=\"3\" >Books of Law");
document.write("<OPTION VALUE=\"4\" >Books of History");
document.write("<OPTION VALUE=\"5\" >Books of Wisdom");
document.write("<OPTION VALUE=\"6\" >Major Prophets");
document.write("<OPTION VALUE=\"7\" >Minor Prophets");
document.write("<OPTION VALUE=\"8\" >The Gospels");
document.write("<OPTION VALUE=\"9\" >Pauline Epistles");
document.write("<OPTION VALUE=\"10\" >General Epistles");
document.write("<OPTION VALUE=\"11\" >Apocalyptic Books");
document.write("</SELECT>");
document.write("<BR>");
document.write("<SELECT NAME=\"version\">");
document.write("<OPTION VALUE=\"nas\" >NAS");
document.write("<OPTION VALUE=\"asv\" >ASV");
document.write("<OPTION VALUE=\"nkj\" >NKJ");
document.write("<OPTION VALUE=\"kjv\" >KJV");
document.write("<OPTION VALUE=\"csb\" >CSB");
document.write("<OPTION VALUE=\"tmb\" >TMB");
document.write("<OPTION VALUE=\"nlt\" >NLT");
document.write("<OPTION VALUE=\"nrs\" >NRS");
document.write("<OPTION VALUE=\"rsv\" >RSV");
document.write("<OPTION VALUE=\"gnt\" >GNT");
document.write("<OPTION VALUE=\"rhe\" >RHE");
document.write("<OPTION VALUE=\"str\" >STR");
document.write("<OPTION VALUE=\"nsn\" >NSN");
document.write("<OPTION VALUE=\"msg\" >MSG");
document.write("<OPTION VALUE=\"cjb\" >CJB");
document.write("<OPTION VALUE=\"ncv\" >NCV");
document.write("<OPTION VALUE=\"gwd\" >GWD");
document.write("<OPTION VALUE=\"hnv\" >HNV");
document.write("<OPTION VALUE=\"web\" >WEB");
document.write("<OPTION VALUE=\"bbe\" >BBE");
document.write("<OPTION VALUE=\"ylt\" >YLT");
document.write("<OPTION VALUE=\"dby\" >DBY");
document.write("<OPTION VALUE=\"wbt\" >WBT");
document.write("<OPTION VALUE=\"vul\" >VUL");
document.write("<OPTION VALUE=\"wnt\" >WNT");
document.write("</SELECT>");
document.write("<INPUT TYPE=\"hidden\" NAME=\"language\" VALUE=\"en\">&nbsp;");
document.write("<input type=\"Submit\" name=\"submit\" value=\"Find \">");
//document.write("<A HREF=\"http://bible.crosswalk.com/Information/SearchHelp.cgi\">");
//document.write("<B>HELP</B>");
//document.write("</A>");
document.write("</FONT>");
document.write("</TD>");
document.write("</TR>");
document.write("</TABLE>");
document.write("</FORM>");

document.write("</DIV>");

document.write("<img src=\"buffer.gif\" width=129 height=1>");
document.write("<img src=\"nb_over.gif\" width=1 height=1>");

document.write("</layer>");


function go() { 
Flip.filters[0].Apply();

if (Flip.style.visibility == "visible") 
{ 
Flip.style.visibility = "hidden"; 
Flip.filters.revealTrans.transition=12; 
} 
else 
{ 
Flip.style.visibility = "visible"; 
Flip.filters[0].transition=12; 
} 
Flip.filters[0].Play(); 
} 


function showUp() 
{
Flip.filters[0].Apply();
if (Flip.style.visibility == "hidden") 
{ 
Flip.style.visibility = "visible"; 
Flip.filters.revealTrans.transition=12;
}
else { 
Flip.style.visibility = "hidden"; 
Flip.filters[0].transition=12; 
} 
Flip.filters[0].Play(); 
} 


/*
Floating Menu script-  Roy Whittle (http://www.javascript-fx.com/)
Script featured on/available at http://www.dynamicdrive.com/
This notice must stay intact for use
*/

//Enter "frombottom" or "fromtop"
var verticalpos="fromtop"

if (!document.layers)
document.write('</div>')

function JSFX_FloatTopDiv()
{
	var startX = 0,
	startY = 0;
	var ns = (navigator.appName.indexOf("Netscape") != -1);
	var d = document;
	function ml(id)
	{
		var el=d.getElementById?d.getElementById(id):d.all?d.all[id]:d.layers[id];
		if(d.layers)el.style=el;
		el.sP=function(x,y){this.style.left=x;this.style.top=y;};
		el.x = startX;
		if (verticalpos=="fromtop")
		el.y = startY;
		else{
		el.y = ns ? pageYOffset + innerHeight : document.body.scrollTop + document.body.clientHeight;
		el.y -= startY;
		}
		return el;
	}
	window.stayTopLeft=function()
	{
		if (verticalpos=="fromtop"){
		var pY = ns ? pageYOffset : document.body.scrollTop;
		ftlObj.y += (pY + startY - ftlObj.y)/8;
		}
		else{
		var pY = ns ? pageYOffset + innerHeight : document.body.scrollTop + document.body.clientHeight;
		ftlObj.y += (pY - startY - ftlObj.y)/8;
		}
		ftlObj.sP(ftlObj.x, ftlObj.y);
		setTimeout("stayTopLeft()", 10);
	}
	ftlObj = ml("divStayTopLeft");
	stayTopLeft();
}
JSFX_FloatTopDiv();

