
//a global reference to the popup window
var scriptureWindow;

//an array containing all the scriptures to show
var scripturesArray = new Array();

//this part of the code establishes the string
//indexes to the different scriptures
//the string you pass in the onmouseover event of the link,
//must match what you use below
scripturesArray[0] = "<td><font color='#009900'>PECAN PIE</font><br><br> " +
					   "Layer a ripe banana and sliced mango as pie crust.<br><br> " +
						"In a food processor blend together:<br> " +
						"1 cup soaked pecans<br> " +
						"1 dozen dates, soaked and pitted<br> " +
						"¼ cup water<br> " +
						"Pinch of celtic sea salt<br><br><br> " +
						"For Topping:<br> " +
						"Mix pecans halves in honey and 1 tsp of water to glaze. Use to decorate top of pie.<br> " +
						"Dehydrate pie mixture in glass pie plate until firm.<br></td></tr> " +
						"<tr><td></td><td> <img src='picts/imagedivider.jpg' width='304' height='51'></td></tr></table><br>" ;
	
scripturesArray[1] = 	"<td><font color='#009900'>PIE CRUST</font><br><br> " +
						"5 peeled medium sweet potatoes<br> " +
						"1/3-1/2 cup of either honey/agave/maple syrup (B)<br> " +
						"¼ tsp Celtic sea salt<br> " +
						"1½ tsp cardomom<br> " +
						"½ tsp pumpkin pie spice<br> " +
						"½ cup orange juice<br> " +
						"Zest from one orange<br> " +
						"1 tbsp lemon juice<br> " +
						"2 tsp psyllium powder<br> " +
						"½ cup raisins<br><br><br> " +
						"Blend all ingredients in a heavy-duty blender. Add psyllium.<br> Refrigerate until ready to serve or dehydrate in glass pie plate until firm.<br> Place in date/nut crust and serve.<br> " +
						"<tr><td></td><td> <img src='picts/imagedivider.jpg' width='304' height='51'></td></tr></table><br>" ;

							   
							   
scripturesArray[2] = 	"<td><font color='#009900'>SWEET POTATO PIE</font><br><br> " +	
						"Grind equal amounts of soaked almonds or walnuts with soaked dried fruits (dates, raisins or figs)<br>" +  
						"Combine in food processor until mixture forms ball.<br>" +
						"Press into a glass pie plate.<br>" +
						"It is now ready for pie filling.<br>" +
						"<tr><td></td><td> <img src='picts/imagedivider.jpg' width='304' height='51'></td></tr></table><br>" ;

scripturesArray[3] = "<td><font color='#009900'>ALMOND OR SESAME MILK</font><br><br> " +
					"½ cup raw almonds soaked or sesame seeds<br> " +
					"3 medjool dates soaked and pitted<br> " +
					"3 cups spring water or water from soaked medjool dates<br><br> " +
					"Blend, strain and serve. Can serve just blended.<br> " +
					"<tr><td></td><td> <img src='picts/imagedivider.jpg' width='304' height='51'></td></tr></table><br>" ;

scripturesArray[4] = "<td><font color='#009900'>APPLE PIE</font><br><br> " +
					"3 cups chopped apples<br> " +
					"1 tbsp molasses, agave, raw honey or maple syrup B<br> " +
					"½ cup raisins<br> " +
					"5 med dates, pitted<br> " +
					"¼ tsp cloves<br><br> " +
					"Dehydrate overnight and place into prepared crust.<br> " +
					"<tr><td></td><td> <img src='picts/imagedivider.jpg' width='304' height='51'></td></tr></table><br>" ;

scripturesArray[5] = "<td><font color='#009900'>LIME-CILANTRO DRESSING</font><br><br> " +
					"¼ cup lime or lemon juice<br> " +
					"1 cup freshly squeezed orange juice <br> " +
					"1 1- inch wedge red onion <br> " +
					"½ cup fresh cilantro <br> " +
					"¼ tsp celtic sea salt <br> " +
					"¼ dulse or kelp <br> " +
					"½ cup olive oil <br> " +
					"Dash of Stevia or Agave <br><br> " +
					"Blend all ingredients and serve. <br> " +
					"<tr><td></td><td> <img src='picts/imagedivider.jpg' width='304' height='51'></td></tr></table><br>" ;


scripturesArray[6] = "<td><font color='#009900'>SUN DRIED TOMATO PESTO</font><br><br> " +
					"1 ½ cups vine ripened tomatoes <br> " +
					"2 cloves garlic <br> " +
					"2 tsp extra virgin olive oil <br> " +
					"1 tsp fresh oregano <br> " +
					"5-7 fresh basil leaves <br> " +
					"Dash celtic sea salt <br> " +
					"Dash of dulse or kelp <br><br> " +
					"Cut the tomatoes in half and sprinkle with olive oil, salt and pepper. <br>Pulse tomatoes, garlic, olive oil, oregano, basil and salt in a bender or food processor. <br>Process until the mixture is a chunky texture, not completely smooth. <br>Serve and enjoy. <br> " +
					"<tr><td></td><td> <img src='picts/imagedivider.jpg' width='304' height='51'></td></tr></table><br>" ;


scripturesArray[7] = "<td><font color='#009900'>SWEET POTATO SALAD</font><br><br> " +
					"2 large sweet potatoes, grated in food processor  <br> " +
					"1 cup currant, socked 3 minutes <br> " +
					"1 cup coconuts  <br> " +
					"2 tbsp maple syrup <br> " +
					"Dash of stevia or agave <br> " +
					"Combine all ingredients. <br> " +
					"<tr><td></td><td> <img src='picts/imagedivider.jpg' width='304' height='51'></td></tr></table><br>" ;


scripturesArray[8] = "<td><font color='#009900'>COLE SLAW</font><br><br> " +
						"1 head shredded cabbage <br> " +
						"1 cup chopped cilantro or parsley <br> " +
						"1 cup red peppers shredded  <br> " +
						"3 cloves garlic <br> " +
						"½ cup chopped green onions <br><br> " +
						"<font color='#009900'>Dressing:</font> <br> " +
						"Lime-cilantro dressing <br> " +
						"Raisin <br> " +
						"Lemon juice <br> " +
						"Combine all ingredients and serve. <br> " +
						"<tr><td></td><td> <img src='picts/imagedivider.jpg' width='304' height='51'></td></tr></table><br>" ;


scripturesArray[9] = "<td><font color='#009900'>COLLARD GREENS SALAD</font><br><br> " +
						"1 bunch of collards (kale or any leafy greens can be substituted) <br> " +
						"1 medium red onion  <br> " +
						"2 cloves garlic <br> " +
						"1 lemon, juiced and seeded  <br> " +
						"1 tsp basil <br> " +
						"1 tsp celery seed <br> " +
						"1 tbsp flax seed oil or cold-pressed extra virgin olive oil <br> " +
						"½ cup carrots (to add hint of sweetness) <br><br> " +
						"Cut collards in thin slices, as possible. Cut onion in half-moon shape. <br> " +
						"Mince or crush garlic. Combine all ingredients and toss to mix spices and oil.<br> Let set at least two hours before serving. Best marinated overnight. <br> " +
						"<tr><td></td><td> <img src='picts/imagedivider.jpg' width='304' height='51'></td></tr></table><br>" ;

scripturesArray[10] = "<td><font color='#009900'>BLACK - EYED PEAS SALAD</font><br><br> " +
						"1-2 cups soaked sprouted black-eyed peas (or lentils, Crowder peas or red beans) <br> " +
						"¾ cup chopped onions, red or sweet <br> Dash celtic sea salt <br> " +
						"1 red pepper, chopped <br> Braggs Amino <br><br> " +
						"Marinate sprouted peas in Braggs Amino for at least 1 hour. Combine all ingredients and mix with lime cilantro dressing. <br> " +
						"<tr><td></td><td> <img src='picts/imagedivider.jpg' width='304' height='51'></td></tr></table><br>" ;

scripturesArray[11] = "<td><font color='#009900'>SPRING ROLLS</font><br><br> " +
						"(With sweet and sour sauce) <br> " +
						"<font color='#009900'>Spring roll filling:</font> <br> " +
						"1 head cabbage, shredded  <br> 4-5 mint leaves, finely chopped <br> " +
						"2 carrots, grated <br> ¼ cup lime juice <br> " +
						"2 inch piece of ginger, finely chopped <br> 2 tbsps Braggs Amino <br> " +
						"2 cloves fresh garlic, minced <br> 1 tsp coriander <br><br> " +
						"Combine all ingredients and mix well. Taste and adjust seasonings. Let rest for 1 hour to allow flavors to blend, if possible. <br><br> " +
						"1 package of dried rice paper sheets (found in Asian markets) or Romaine lettuce. <br> " +
						"Soak the rice paper sheets in water until soft, place a spoonful of filling in the center, and roll up like a burrito. <br><br> " +
						"<font color='#009900'>Sweet and Sour Sauce:</font> <br> " +
						"1 cup lime juice <br> 1 clove fresh garlic <br> " +
						"1 whole, fresh lemon (peels and 6 leaves fresh basil" +
						"seeds removed)<br> 1 cup water <br> " +
						"¼ cup Agave necter <br> " +
						"2 tsps salt <br> " +
						"1 tsps Dulse or Kelp <br><br> " +
						"Combine all in blender and blend until smooth. <br> " +
						"Serve spring rolls at room temperature with Sweet and Sour Sauce for dipping. <br> " +
						"<tr><td></td><td> <img src='picts/imagedivider.jpg' width='304' height='51'></td></tr></table><br>" ;
						

scripturesArray[12] = "<td><font color='#009900'>MASHED POTATO</font><br><br> " +
						"1 head cauliflower <br> " +
						"Dash celtic sea salt <br> " +
						"¼ cup honey <br> " +
						"1tbsp lemon juice <br> " +
						"1 cup onions, chopped <br><br> " +
						"Blend all ingredients in a food processor until smooth. Add 2 avocados, mashed, for a creamier taste. <br> " +
						"<tr><td></td><td> <img src='picts/imagedivider.jpg' width='304' height='51'></td></tr></table><br>" ;


scripturesArray[13] = "<td><font color='#009900'>OATMEAL</font><br><br> " +
						"¼ cup old- fashioned oatmeal <br> " +
						"1 cup apple juice <br> " +
						"1/8 cup walnuts <br> " +
						"1/8 cup coconut (fine shredded, dry or fresh) <br> " +
						"1/8 cup rasins <br> " +
						"1-2 tbsp ground flax seed <br><br> " +
						"Soak old- fashioned oats overnight in one cup of apple juice. Soak walnuts, coconut and raisins in water. Soak separately. Discard the water from soaking nuts. Use water from coconuts and raisins. <br> " +
						"<tr><td></td><td> <img src='picts/imagedivider.jpg' width='304' height='51'></td></tr></table><br>" ;

scripturesArray[14] = "<td><font color='#009900'>PEAR VANILLA SMOOTHIE</font><br><br> " +
						"4 fresh pears, halved and cored <br> " +
						"2 bananas <br> " +
						"1 cup water <br> " +
						"2 tsp. vanilla <br><br> " +
						"Blend all ingredients together and serve. <br><br> " +
						"Serves 4. Serve this dish as a  breakfast treat or dessert. <br> " +
						"Top with 1 Tbsp. Almond Cream. <br> " +
						"<tr><td></td><td> <img src='picts/imagedivider.jpg' width='304' height='51'></td></tr></table><br>" ;

scripturesArray[15] = "<td><font color='#009900'>APPLE BANANA MILLET SMOOTHIE</font><br><br> " +
						"½ cup millet (soaked overnight) <br> " +
						"2 banana <br> " +
						"2 apples <br> " +
						"2 cups water (use millet water) <br> " +
						"2 Tbsp maple syrup (optional) <br> " +
						"1 tsp pure vanilla <br> " +
						"½ tsp ground cardamom <br> " +
						"¼ cup soaked raisins (for topping) <br><br> " +
						"Wash millet three times. Pour water off millet with a strainer to avoid wasting seeds. Cover with 2 cups of pure water. Soak overnight in the refrigerator. Wash apples and core. Use peel if organic. Blend all ingredients except raisins. Sprinkle raisins on top to serve. <br> " +
						"<tr><td></td><td> <img src='picts/imagedivider.jpg' width='304' height='51'></td></tr></table><br>" ;


scripturesArray[16] = "<td><font color='#009900'>Essene Bread</font><br><br> " +
						"2 cups wheat, barley or rye (or Combine all three)<br> " +
						"½ 1cup finely minced vegetables<br> " +
						"(parsley, celery, onion, green pepper, carrots) <br> " +
						"2 T. seasonings (caraway seed, poppy seed, sesame seed)<br><br> " +
						"Soak wheat and/or other grains for 12 to 15 hours and leave<br> " +
						"to sprout 16-48 hours or until sprout is  length of the<br> " +
						"grain. Rinse and drain 2 or 3 times during sprouting.<br><br> " +
						"Grind the sprouted grains with hand grinder, or in a <br> " +
						"Champion blender. Add vegetables--sprinkle seasonings on <br> " +
						"top of the bread. Make into 2-inch thick loaves, or large  <br> " +
						"1-inch thick circles. Place in the sun or warm place (70-90 degrees) until firm. It may be necessary to turn the loaves a few times so that the underside <br> " +
						"Does not stay sticky. <br><br> " +
						"'Bake' about 12-24 hours. The longer the bread sets, the <br> " +
						"stronger the flavors will become. <br> " +
						"<tr><td></td><td> <img src='picts/imagedivider.jpg' width='304' height='51'></td></tr></table><br>" ;


scripturesArray[17] = "<td><font color='#009900'>Date-Raisin Wheat Bread</font><br><br> " +
						"2 cups sprouted wheat, ground  <br> " +
						"½ cup raisins, ground <br> " +
						"½ cup dates, chopped  <br><br> " +
						"Mix together and knead. <br> Make into a loaf or log, set aside a few hours " +
						"or overnight.  Refrigerate. Slice for serving. <br>This bread may also be " +
						"'sun-baked' follow bread recipe instructions above. <br> " +
						"<tr><td></td><td> <img src='picts/imagedivider.jpg' width='304' height='51'></td></tr></table><br>" ;


scripturesArray[18] = "<td><font color='#009900'>Millet Crackers</font><br><br> " +
						"¾ cup millet <br> " +
						"¼ cup flaxseed <br> " +
						"¾ cup lukewarm <br> " +
						"½ teaspoon vegetable salt or dulse <br> " +
						"2 teaspoon poppy seed <br><br> " +
						"Sprout millet 48 hours.<br> Sprout flaxseed in ¾ cup lukewarm water for about 12 hours. <br>Do not drain. <br>Store in refrigerator until millet is sprouted. Grind together or mix in blender, adding only enough water to blend well. <br>Add seasoning and poppy seed. Pour out in thin layer on wax paper or oiled or flour-dusted cookie pan and dehydrate. Mark in squares or triangles when half dry. <br> Break when crisp and store in cool, dry place. <br> " +
						"<tr><td></td><td> <img src='picts/imagedivider.jpg' width='304' height='51'></td></tr></table><br>" ;


scripturesArray[19] = "<td><font color='#009900'>Carrot Loaf</font><br><br> " +
						"½ cup sunflower seeds  <br> " +
						"½ cup sesame seeds <br> " +
						"½ cup chick peas (garbanzo beans) <br> " +
						"Soak overnight then grind in grinder. <br><br> " +
						"Combine with: <br> " +
						"½ finely grated carrot <br> " +
						"1 tomato, finely chopped  <br> " +
						"½ bell pepper, finely chopped <br> " +
						"parsley, finely chopped  <br><br> " +
						"Season with: <br> " +
						"Caraway seed <br> " +
						"Basil (fresh if possible) <br> " +
						"Moisten with distilled water and form into a loaf  <br> " +
						"<tr><td></td><td> <img src='picts/imagedivider.jpg' width='304' height='51'></td></tr></table><br>" ;




//this function shows the scripture indexed
//by the input string, and sets the position of the
//poup window relative to where the user moused over the link
function showScripture(scriptureToShow){
  scriptureWindow = window.open("", "Scripture", "top=25, left = " + (event.screenX+10) + ", " + 
                                                 "height=500, width=450, ,scrollbars=yes");
  scriptureWindow.document.open();
  scriptureWindow.document.write("<html><head><title>"+ scriptureToShow + "</title></head>");
  scriptureWindow.document.write("<img src='picts/recipic.png' border='0'><br> ");
  scriptureWindow.document.write("<a href='javascript:' onClick='window.print()' ><img src='picts/print_32.png' width='32' height='32' border='0'></a>");
  scriptureWindow.document.write(scripturesArray[scriptureToShow]);
  scriptureWindow.document.close();
}

//hides the popup window
function hideScripture(){
  scriptureWindow.close();
}



function Recipelist() {
	var x=0; 
	for (x=0; x<(scripturesArray.length); x++) 
	{ 
		if (x!=3){
		document.write("<table><tr><td valign='top'><a href='javascript:' onClick='showScripture(" + x + ")' ><img src='picts/print_32.png' width='32' height='32' border='0'></a></td>");
		document.write(scripturesArray[x] + '<br>');
		}
	} 
}
