
numberoftimes = 0;

function onlyonce() {
	numberoftimes += 1;
	if (numberoftimes > 1) { 
		var themessage = "Please be patient. You have already submitted this form. Pressing submit multiple times will result in your account being billed multiple times. You will receive a response momentarily.";
        if (numberoftimes == 3) {
        	themessage = "DO NOT PRESS SUBMIT MULTIPLE TIMES!!! YOUR ACCOUNT WILL BE BILLED EACH TIME YOU PRESS SUBMIT!!! Processing may take up to one minute.";
        	}
		alert(themessage);
        return false; 
		} 
	else{
    	return true;
		}
	}

function putYear() {
	var now = new Date();
	var m = now.getMonth();
	var y = now.getYear();
	if (m == 0) {
		y-=1;
	}
	temp="";
	temp+="<span class='yearTitle'>" + y + "<br></span>";
	document.write(temp);
}

function putMonthlyRecipe(yr) {
	var now = new Date();
	var m = now.getMonth();
	var y = now.getYear();
	temp="";
	if (m > 0 || (m == 0 && y == yr+1)) {
		temp+="<a href='recipes/2010/2010_01_RECIPE.pdf' target='_blank'>Amaretto Fruit Dip</a><br><br>";
	}
	if (m > 1 || (m == 0 && y == yr+1)) {
		temp+="<a href='recipes/2010/2010_02_RECIPE.pdf' target='_blank'>Mini Egg Rolls With Dipping Sauce</a><br><br>";
	}
	if (m > 2 || (m == 0 && y == yr+1)) {
		temp+="<a href='recipes/2010/2010_03_RECIPE.pdf' target='_blank'>Black Bean Soup</a><br><br>";
	}
	if (m > 3 || (m == 0 && y == yr+1)) {
		temp+="<a href='recipes/2010/2010_04_RECIPE.pdf' target='_blank'>Pumpkin Soup</a><br><br>";
	}
	if (m > 4 || (m == 0 && y == yr+1)) {
		temp+="<a href='recipes/2010/2010_05_RECIPE.pdf' target='_blank'>Pear Salad With Black Raspberry Creamy Dressing</a><br><br>";
	}
	if (m > 5 || (m == 0 && y == yr+1)) {
		temp+="<a href='recipes/2010/2010_06_RECIPE.pdf' target='_blank'>Creamy Spinach</a><br><br>";
	}
	if (m > 6 || (m == 0 && y == yr+1)) {
		temp+="<a href='recipes/2010/2010_07_RECIPE.pdf' target='_blank'>Green Beans With Parsley And Garlic</a><br><br>";
	}
	if (m > 7 || (m == 0 && y == yr+1)) {
		temp+="<a href='recipes/2010/2010_08_RECIPE.pdf' target='_blank'>Carrot-Filled Zucchini Ring</a><br><br>";
	}
	if (m > 8 || (m == 0 && y == yr+1)) {
		temp+="<a href='recipes/2010/2010_09_RECIPE.pdf' target='_blank'>Fettuccine Alfredo</a><br><br>";
	}
	if (m > 9 || (m == 0 && y == yr+1)) {
		temp+="<a href='recipes/2010/2010_10_RECIPE.pdf' target='_blank'>Bruschetta And Cheese Stuffed Chicken Breasts</a><br><br>";
	}
	if (m > 10 || (m == 0 && y == yr+1)) {
		temp+="<a href='recipes/2010/2010_11_RECIPE.pdf' target='_blank'>Chocolate Chip Banana Bread</a><br><br>";
	}
	if (m == 0 && y == yr){
		temp+="<a href='recipes/2009/2009_01_RECIPE.pdf' target='_blank'>Potato Corn Fritters</a><br><br>";
		temp+="<a href='recipes/2009/2009_02_RECIPE.pdf' target='_blank'>Grapefruit Frosting</a><br><br>";
		temp+="<a href='recipes/2009/2009_03_RECIPE.pdf' target='_blank'>Cream of Peanut Soup</a><br><br>";
		temp+="<a href='recipes/2009/2009_04_RECIPE.pdf' target='_blank'>Chocolate Chunk Pecan Pie</a><br><br>";
		temp+="<a href='recipes/2009/2009_05_RECIPE.pdf' target='_blank'>Chili Beef Potato Soup</a><br><br>";
		temp+="<a href='recipes/2009/2009_06_RECIPE.pdf' target='_blank'>Strawberry Milk Shake</a><br><br>";
		temp+="<a href='recipes/2009/2009_07_RECIPE.pdf' target='_blank'>Sausage Chili</a><br><br>";
		temp+="<a href='recipes/2009/2009_08_RECIPE.pdf' target='_blank'>Frozen Fruit Slush</a><br><br>";
		temp+="<a href='recipes/2009/2009_09_RECIPE.pdf' target='_blank'>Chicken Salad</a><br><br>";
		temp+="<a href='recipes/2009/2009_10_RECIPE.pdf' target='_blank'>Tossed Pasta And Vegetables</a><br><br>";
		temp+="<a href='recipes/2009/2009_11_RECIPE.pdf' target='_blank'>Cranberry-Almond Truffles</a><br><br>";
		temp+="<a href='recipes/2009/2009_12_RECIPE.pdf' target='_blank'>Creamy Lime Pie</a>";
	}
    if (m == 0 && y == yr+1){
		temp+="<a href='recipes/2010/2010_12_RECIPE.pdf' target='_blank'>Braided Sweet Potato Bread</a>";
	}
	document.write(temp);
}

function getDisclaimerWithSymbol() {
	var now = new Date();
	var y = now.getYear();
	return "Copyright © 2002-" + y + " Bickford Flavors - All Rights Reserved";
}

function getDisclaimerWithHexCode() {
	var now = new Date();
	var y = now.getYear();
	return "Copyright &#169; 2002-" + y + " Bickford Flavors - All Rights Reserved";
}

var message = "Our catalog is not yet online. Please call 1-800-283-8322 to place an order."
function CopyRight()
{	
	temp="";
	temp+="<span class='bottomlinks2'><div align='center'><br>";
	temp+=getDisclaimerWithSymbol();
	temp+="<br><br></span></div>";
		document.write(temp);
}

function ArtsTopNavigation()
{	
	temp="";
	temp+="<span class='header4'><div align='center'><br><a href='arts_apply.html'><span class='header4'>how to apply</span></a> &#124; <a href='arts_perks.html'><span class='header4'>artist perks</span></a> &#124; <a href='arts_exhibit.html'><span class='header4'>exhibit location & parking</span></a><br><a href='arts_prizes.html'><span class='header4'>prizes and awards</span></a> &#124; <a href='arts_testimonials.html'><span class='header4'>testimonials</span></a><br><br></div></span>";
		document.write(temp);
}

function Contact()
{	
	temp="";
	temp+="<TABLE width='145' cellpadding='2' cellspacing='0' border='0'><TR><TD align='left'><span class='contact'>19007 St. Clair Avenue<BR>Cleveland, OH 44117</span></TD></TR><TR><TD height='5' valign='top'><HR align='left' color='#FF0000' size='1' width='145'></TD></TR><TR><TD align='left'><span class='contact'>TEL: 216.531.6006<BR>FAX: 216.531.2006</span></TD></TR><TR><TD height='4' valign='top'><HR align='left' color='#FF0000' size='1' width='145'></TD></TR><TR><TD align='left'><A class='contact2' title='Would you like to receive our newsletter? Signup now.' href='./contactus.html'>Monthly Newsletter Signup</A><br><br></TD></TR></TABLE>";
		document.write(temp);
}

function ContactContact()
{	
	temp="";
	temp+="<TABLE width='145' cellpadding='2' cellspacing='0' border='0'><TR><TD align='left'><span class='contact'>19007 St. Clair Avenue<BR>Cleveland, OH 44117</span></TD></TR><TR><TD height='5' valign='top'><HR align='left' color='#FF0000' size='1' width='145'></TD></TR><TR><TD align='left'><span class='contact'>TOLL FREE: 800.283.8322<BR>TEL: 216.531.6006<BR>FAX: 216.531.2006</span></TD></TR><TR><TD height='4' valign='top'><HR align='left' color='#FF0000' size='1' width='145'></TD></TR><TR><TD align='left'><A class='contact2' title='Would you like to receive our newsletter? Signup now.' href='./contactus.html'>Monthly Newsletter Signup</A><br><br></TD></TR></TABLE>";
		document.write(temp);
}


function BottomNav()
{	
	temp="";
	temp+="<div align='center'><a class='bottomlinks' href='aboutus.html'>&nbsp;about us&nbsp;</a>&#160;&#160;&#160;&#160;&#160;&#160;<a class='bottomlinks' href='pricelist.asp'>&nbsp;price list&nbsp;</a>&#160;&#160;&#160;&#160;&#160;&#160;<a class='bottomlinks' href='onlineordering.asp'>&nbsp;online ordering&nbsp;</a>&#160;&#160;&#160;&#160;&#160;&#160;<a class='bottomlinks' href='monthlyspecials_specials.asp'>&nbsp;recipe of the month&nbsp;</a>&#160;&#160;&#160;&#160;&#160;&#160;<a class='bottomlinks' href='contactus.html'>&nbsp;contact us&nbsp;</a>&#160;&#160;&#160;&#160;&#160;&#160;<a class='bottomlinks' href='default.htm'>&nbsp;home&nbsp;</a><br><span class='btlinks'>";
	//temp+="<div align='center'><a class='bottomlinks' href='aboutus.html'>&nbsp;about us&nbsp;</a>&#160;&#160;&#160;&#160;&#160;&#160;<a class='bottomlinks' href='pricelist.asp'>&nbsp;price list&nbsp;</a>&#160;&#160;&#160;&#160;&#160;&#160;<a class='bottomlinks' href='onlineordering.asp'>&nbsp;online ordering&nbsp;</a>&#160;&#160;&#160;&#160;&#160;&#160;<a class='bottomlinks' href='monthlyspecials_specials.asp'>&nbsp;recipe of the month&nbsp;</a>&#160;&#160;&#160;&#160;&#160;&#160;<a class='bottomlinks' href='newsletters.html'>newsletters</a>&#160;&#160;&#160;&#160;&#160;&#160;<a class='bottomlinks' href='contactus.html'>&nbsp;contact us&nbsp;</a>&#160;&#160;&#160;&#160;&#160;&#160;<a class='bottomlinks' href='default.htm'>&nbsp;home&nbsp;</a><br><span class='btlinks'>";
	temp+=getDisclaimerWithHexCode();
	temp+="</span></div></TD></TR></TABLE>";
		document.write(temp);
}

function IndexBottomNav()
{	
	temp="";
	temp+="<div align='center'><a class='bottomlinks' href='aboutus.html'>about us</a>&#160;&#160;&#160;&#160;&#160;&#160;<a class='bottomlinks' href='pricelist.asp'>price list</a>&#160;&#160;&#160;&#160;&#160;&#160;<a class='bottomlinks' href='onlineordering.asp'>on-line ordering</a>&#160;&#160;&#160;&#160;&#160;&#160;<a class='bottomlinks' href='monthlyspecials_specials.asp'>recipe of the month</a>&#160;&#160;&#160;&#160;&#160;&#160;<a class='bottomlinks' href='contactus.html'>contact us</a><br><span class='btlinks'>";
	//temp+="<div align='center'><a class='bottomlinks' href='aboutus.html'>about us</a>&#160;&#160;&#160;&#160;&#160;&#160;<a class='bottomlinks' href='pricelist.asp'>price list</a>&#160;&#160;&#160;&#160;&#160;&#160;<a class='bottomlinks' href='onlineordering.asp'>on-line ordering</a>&#160;&#160;&#160;&#160;&#160;&#160;<a class='bottomlinks' href='monthlyspecials_specials.asp'>recipe of the month</a>&#160;&#160;&#160;&#160;&#160;&#160;<a class='bottomlinks' href='newsletters.html'>newsletters</a>&#160;&#160;&#160;&#160;&#160;&#160;<a class='bottomlinks' href='contactus.html'>contact us</a><br><span class='btlinks'>";
	temp+=getDisclaimerWithHexCode();
	temp+="</span></div>";
		document.write(temp);
}


function InsideNav()
{	
	temp="";
	temp+="<TABLE width='750' cellpadding='0' cellspacing='0' border='0'><TR><TD colspan='13' align='center'><IMG SRC='./images/inside_top.gif' border='0' usemap='#home'></TD></TR><TR><TD><IMG width='36' height='23' SRC='./images/inside_spacer1.gif' border='0'></TD><TD><A HREF='aboutus.html' onMouseOver='rollOn(\"inside_aboutus\",\"gif\")' onMouseOut='rollOff(\"inside_aboutus\",\"gif\")'><IMG width='87' height='23' SRC='./images/inside_aboutus_off.gif' border='0' alt='inside_aboutus' name='inside_aboutus'></a></TD><TD><IMG width='34' height='23' SRC='./images/inside_spacer2.gif' border='0'></TD><TD><A HREF='pricelist.asp' onMouseOver='rollOn(\"inside_pricelist\",\"gif\")' onMouseOut='rollOff(\"inside_pricelist\",\"gif\")'><IMG width='84' height='23' SRC='./images/inside_pricelist_off.gif' border='0' alt='links' name='inside_pricelist'></a></TD><TD><IMG width='34' height='23' SRC='./images/inside_spacer3.gif' border='0'></TD><TD><A HREF='onlineordering.asp' onMouseOver='rollOn(\"inside_onlineordering\",\"gif\")' onMouseOut='rollOff(\"inside_onlineordering\",\"gif\")'><IMG width='132' height='23' SRC='./images/inside_onlineordering_off.gif' border='0' alt='inside_onlineordering' name='inside_onlineordering'></a></TD><TD><IMG width='30' height='23' SRC='./images/inside_spacer4.gif' border='0'></td><TD><A HREF='monthlyspecials_specials.asp' onMouseOver='rollOn(\"inside_monthlyspecials\",\"gif\")' onMouseOut='rollOff(\"inside_monthlyspecials\",\"gif\")'><IMG width='144' height='23' SRC='./images/inside_monthlyspecials_off.gif' border='0' alt='inside_monthlyspecials' name='inside_monthlyspecials'></a></TD><TD><IMG width='31' height='23' SRC='./images/inside_spacer6.gif' border='0'></td><TD><A HREF='contactus.html' onMouseOver='rollOn(\"inside_contactus\",\"gif\")' onMouseOut='rollOff(\"inside_contactus\",\"gif\")'><IMG width='101' height='23' SRC='./images/inside_contactus_off.gif' border='0' alt='inside_contactus' name='inside_contactus'></a></TD><TD><IMG width='36' height='23' SRC='./images/inside_spacer7.gif' border='0'></td></TR></TABLE><map name='home'><area coords='30,18,207,94' href='default.htm'></map>";
	//temp+="<TABLE width='750' cellpadding='0' cellspacing='0' border='0'><TR><TD colspan='13' align='center'><IMG SRC='./images/inside_top.gif' border='0' usemap='#home'></TD></TR><TR><TD><IMG width='18' height='23' SRC='./images/inside_spacer1.gif' border='0'></TD><TD><A HREF='aboutus.html' onMouseOver='rollOn(\"inside_aboutus\",\"gif\")' onMouseOut='rollOff(\"inside_aboutus\",\"gif\")'><IMG width='87' height='23' SRC='./images/inside_aboutus_off.gif' border='0' alt='inside_aboutus' name='inside_aboutus'></a></TD><TD><IMG width='15' height='23' SRC='./images/inside_spacer2.gif' border='0'></TD><TD><A HREF='pricelist.asp' onMouseOver='rollOn(\"inside_pricelist\",\"gif\")' onMouseOut='rollOff(\"inside_pricelist\",\"gif\")'><IMG width='84' height='23' SRC='./images/inside_pricelist_off.gif' border='0' alt='links' name='inside_pricelist'></a></TD><TD><IMG width='15' height='23' SRC='./images/inside_spacer3.gif' border='0'></TD><TD><A HREF='onlineordering.asp' onMouseOver='rollOn(\"inside_onlineordering\",\"gif\")' onMouseOut='rollOff(\"inside_onlineordering\",\"gif\")'><IMG width='132' height='23' SRC='./images/inside_onlineordering_off.gif' border='0' alt='inside_onlineordering' name='inside_onlineordering'></a></TD><TD><IMG width='11' height='23' SRC='./images/inside_spacer4.gif' border='0'></td><TD><A HREF='monthlyspecials_specials.asp' onMouseOver='rollOn(\"inside_monthlyspecials\",\"gif\")' onMouseOut='rollOff(\"inside_monthlyspecials\",\"gif\")'><IMG width='144' height='23' SRC='./images/inside_monthlyspecials_off.gif' border='0' alt='inside_monthlyspecials' name='inside_monthlyspecials'></a></TD><TD><IMG width='13' height='23' SRC='./images/inside_spacer5.gif' border='0'></td><TD><A HREF='newsletters.html' onMouseOver='rollOn(\"inside_newsletters\",\"gif\")' onMouseOut='rollOff(\"inside_newsletters\",\"gif\")'><IMG width='101' height='23' SRC='./images/inside_newsletters_off.gif' border='0' alt='inside_newsletters' name='inside_newsletters'></a></TD><TD><IMG width='13' height='23' SRC='./images/inside_spacer6.gif' border='0'></td><TD><A HREF='contactus.html' onMouseOver='rollOn(\"inside_contactus\",\"gif\")' onMouseOut='rollOff(\"inside_contactus\",\"gif\")'><IMG width='101' height='23' SRC='./images/inside_contactus_off.gif' border='0' alt='inside_contactus' name='inside_contactus'></a></TD><TD><IMG width='18' height='23' SRC='./images/inside_spacer7.gif' border='0'></td></TR></TABLE><map name='home'><area coords='30,18,207,94' href='default.htm'></map>";
		document.write(temp);
}


function ContactUsSubNav()
{	
	temp="";
	temp+="<TR><TD height='37'></TD></TR><TR><TD height='20' halign='middle'>&nbsp;&nbsp;&nbsp;</TD></TR>";
		document.write(temp);
}


function AboutUsSubNav()
{	
	temp="";
	temp+="<TR><TD height='37'></TD></TR><TR><TD height='20' class='menutext22' halign='middle'>&nbsp;&nbsp;&nbsp;<IMG SRC='./images/red_arrow.gif' border='0'>&nbsp;<A class='menutext' HREF='aboutus_companyhistory.html'>company history</A></TD></TR>";
		document.write(temp);
}

function PriceListSubNav()
{	
	temp="";
	temp+="<TR><TD height='37'></TD></TR><TR><TD height='20' halign='middle'>&nbsp;&nbsp;&nbsp;</TD></TR>";
		document.write(temp);
}

function OnlineOrderingSubNav()
{	
	temp="";
	temp+="<TR><TD height='37'></TD></TR><TR><TD height='20' class='menutext22' halign='middle'>&nbsp;&nbsp;&nbsp;<IMG SRC='./images/red_arrow.gif' border='0'>&nbsp;<A class='menutext' HREF='cpack_1.asp?id=144'>collection packs</A></TD></TR><TR><TD height='8'></TD></TR><TR><TD height='20' class='menutext22' halign='middle'>&nbsp;&nbsp;&nbsp;<IMG SRC='./images/red_arrow.gif' border='0'>&nbsp;<A class='menutext' HREF='item.asp?id=142'>colors</A></TD></TR><TR><TD height='8'></TD></TR><TR><TD height='20' class='menutext22' halign='middle'>&nbsp;&nbsp;&nbsp;<IMG SRC='./images/red_arrow.gif' border='0'>&nbsp;<A class='menutext' HREF='item.asp?id=141'>flavors</A></TD></TR><TR><TD height='8'></TD></TR><TR><TD height='20' class='menutext22' halign='middle'>&nbsp;&nbsp;&nbsp;<IMG SRC='./images/red_arrow.gif' border='0'>&nbsp;<A class='menutext' HREF='item.asp?id=140'>oils</A></TD></TR><TR><TD height='8'></TD></TR><TR><TD height='20' class='menutext22' halign='middle'>&nbsp;&nbsp;&nbsp;<IMG SRC='./images/red_arrow.gif' border='0'>&nbsp;<A class='menutext' HREF='item.asp?id=143'>miscellaneous</A></TD></TR><TR><TD height='8'></TD></TR><TR><TD height='20' class='menutext22' halign='middle'>&nbsp;&nbsp;&nbsp;<IMG SRC='./images/red_arrow.gif' border='0'>&nbsp;<A class='menutext' HREF='onlineordering_termsandconditions.asp'>terms and conditions</A></TD></TR>";
		document.write(temp);
}

function MonthlySpecialsSubNav()
{	
	temp="";
	//temp+="<TR><TD height='37'></TD></TR><TR><TD height='20' class='menutext22' halign='middle'>&nbsp;&nbsp;&nbsp;<IMG SRC='./images/red_arrow.gif' border='0'>&nbsp;<A class='menutext' HREF='monthlyspecials_specials.asp'>specials</A></TD></TR>";
		document.write(temp);
}

function image()
{	
	temp="";
	temp+="<img src='images/top.gif' width='760' height='87' border='0' usemap='#Navigation'>";
		document.write(temp);
}


///////////////////
//rollover script
//////////////////

//ALL ROLLOVERS REQUIRE A NAMING PROTOCOL SUFFIXING IMAGE NAMES WITH "_ON" AND "_OFF"///////////////

function rollOn(number,type){
document[number].src="images/"+number+"_on."+type;
}

function rollOff(number,type){
document[number].src="images/"+number+"_off."+type;
}


var preload = new Array("menu_faq","menu_links","menu_forms","menu_fees","menu_contact","menu_staff","menu_services","inmenu_faq","inmenu_links","inmenu_forms","inmenu_fees","inmenu_contact","inmenu_staff","inmenu_services");
var jpgpreload = new Array();
var gifpreload = new Array();

for(var a=0;a<preload.length;a++){
	gifpreload[a] = new Image();
	gifpreload[a].src = 'images/' + preload[a] + '_on.gif';

	jpgpreload[a] = new Image();
	jpgpreload[a].src = 'images/' + preload[a] + '_on.jpg';
	}
	
////////////////////////////////////

var addtocart = new Image();
addtocart.src = "images/butt_add.gif";
