function preloadVoyPics()
{
	if (document.images)
	{
	// If images are supported by the browser, create and array of images and preload them.
	
	var voyPics = new Array()

	voyPics[0] = new Image();
	voyPics[0].src='pics/3_flowers_gr.gif';

	voyPics[1] = new Image();
	voyPics[1].src='pics/3_flowers.gif';

	voyPics[2] = new Image();
	voyPics[2].src='pics/parrot_rule1.gif';

	voyPics[3] = new Image();
	voyPics[3].src='pics/greenrule.gif';

	voyPics[4] = new Image();
	voyPics[4].src='pics/bluerule.gif';

	voyPics[5] = new Image();
	voyPics[5].src='pics/pp-rule.jpg';

	voyPics[6] = new Image();
	voyPics[6].src='pics/bllavabar.gif';

	voyPics[7] = new Image();
	voyPics[7].src='pics/lrose-rule.gif';

	voyPics[8] = new Image();
	voyPics[8].src='pics/vinerule.gif';

	voyPics[9] = new Image();
	voyPics[9].src='pics/sg_pprule.gif';

	voyPics[10] = new Image();
	voyPics[10].src='pics/3_flowers_red-gr.gif';

	voyPics[11] = new Image();
	voyPics[11].src='link_pics/blue_bbtn.gif';

	voyPics[12] = new Image();
	voyPics[12].src='link_pics/blue_ybtn.gif';
	}
}


function preloadBtvsPics()
{
	if (document.images)
	{
	// If images are supported by the browser, create and array of images and preload them.
	
	var btvsPics = new Array()

	btvsPics[0] = new Image();
	btvsPics[0].src='btvs_pics/3_flowers_btvs_gr.gif';

	btvsPics[1] = new Image();
	btvsPics[1].src='btvs_pics/vinerule.gif';

	btvsPics[2] = new Image();
	btvsPics[2].src='btvs_pics/anne_rose_button.gif';

	btvsPics[3] = new Image();
	btvsPics[3].src='btvs_pics/bs_chat.gif';

	btvsPics[4] = new Image();
	btvsPics[4].src='btvs_pics/peperedge-light.jpg';
	}
}


function checkData() 
// Fic Feedback validator (story title, name, email)
// E-mail Form - Validator
// Bravenet Web Services - www.bravenet.com
	{
	var correct = true
	if (document.Bravenet.story.value == "") {correct = false; alert("The story title is required.")}
	if (document.Bravenet.name.value == "") {correct = false; alert("Please enter your name.")}
	if (document.Bravenet.replyemail.value == "") {correct = false; alert("Please enter your e-mail address.")}

	/*	You can add more variables above.
	The name after the word Bravenet has to match the name in the form below.
	*/
	if (correct){alert("Thank you for taking the time to fill out this form.")}
	return correct
	}


function checkContestData() 
// Contest validator (name, email)
// E-mail Form - Validator
// Bravenet Web Services - www.bravenet.com
	{
	var correct = true
	if (document.Bravenet.name.value == "") {correct = false; alert("Please enter your name.")}
	if (document.Bravenet.replyemail.value == "") {correct = false; alert("Please enter your e-mail address.")}

	/*	You can add more variables above.
	The name after the word Bravenet has to match the name in the form below.
	*/
	if (correct){alert("Thank you for taking the time to fill out this form.")}
	return correct
	}


function checkLaunchingPad() 
// Contest validator (name, email)
// E-mail Form - Validator
// Bravenet Web Services - www.bravenet.com
	{
	var correct = true
	if ((document.Bravenet.name.value == "") || (document.Bravenet.name.value == "Name")) {correct = false; alert("Please enter your name.")}
	if ((document.Bravenet.replyemail.value == "") || (document.Bravenet.replyemail.value == "Email")) {correct = false; alert("Please enter your e-mail address.")}

	/*	You can add more variables above.
	The name after the word Bravenet has to match the name in the form below.
	*/
	if (correct){alert("Thank you for taking the time to fill out this form.")}
	return correct
	}




function sIndexTopHalf()
{
document.write("<table cellspacing=\"0\" cellpadding=\"0\" width=\"100%\" border=\"0\">")
document.write("<tr><td bgcolor=\"#FDFBEE\">&nbsp;</td><td width=\"90%\" class=\"box_text_b_drk\">&nbsp;</td><td bgcolor=\"#FDFBEE\">&nbsp;</td></tr>")
document.write("<tr><td colspan=\"3\"><table cellspacing=\"0\" cellpadding=\"0\" width=\"100%\" border=\"0\">")
document.write("<tr><td class=\"box_text_l\">&nbsp;</td><td bgcolor=\"#F5E1FF\" width=\"90%\" class=\"box_text_noline\">")
}


function sIndexBottomHalf()
{
document.write("</td><td class=\"box_text_r\">&nbsp;</td></tr></table>")
document.write("</td></tr>")
document.write("<tr><td bgcolor=\"#FDFBEE\">&nbsp;</td><td class=\"box_text_t_drk\">&nbsp;</td><td bgcolor=\"#FDFBEE\">&nbsp;</td>")
document.write("</tr></table>")
}




function btvsIndexTopHalf()
{
document.write("<table cellspacing=\"0\" cellpadding=\"0\" width=\"100%\" border=\"0\">")
document.write("<tr><td bgcolor=\"#E6F5CE\">&nbsp;</td><td width=\"90%\" class=\"box_text_b_drk\">&nbsp;</td><td bgcolor=\"#E6F5CE\">&nbsp;</td></tr>")
document.write("<tr><td colspan=\"3\"><table cellspacing=\"0\" cellpadding=\"0\" width=\"100%\" border=\"0\">")
document.write("<tr><td class=\"box_text_l\">&nbsp;</td><td bgcolor=\"#CADDB9\" width=\"90%\" class=\"box_text_noline\">")
}


function btvsIndexBottomHalf()
{
document.write("</td><td class=\"box_text_r\">&nbsp;</td></tr></table>")
document.write("</td></tr>")
document.write("<tr><td bgcolor=\"#E6F5CE\">&nbsp;</td><td class=\"box_text_t_drk\">&nbsp;</td><td bgcolor=\"#E6F5CE\">&nbsp;</td>")
document.write("</tr></table>")
}

