// ************************************************************************************
// ** This file has been created with the Rotating Content Tool by Amesbury Web.     **
// ** For more information, visit us on the web:                                     **
// **                                                                                **
// **     Rotating Content Tool   -- http://rotatecontent.com/                       **
// **     Company: Amesbury Web   -- http://amesburyweb.com/                         **
// **     Author:  Randy Hoyt     -- http://randyhoyt.com/                           **
// **                                                                                **
// ************************************************************************************

today = new Date()
month = today.getMonth() + 1
year = today.getFullYear()

selectedDate = new Date("01/01/1900")
selectedContent = ""

varLength = 52
var entryDate = new Array(varLength)
var entryContent = new Array(varLength)

entryDate[0] = "   12/06/2010"
entryContent[0] = "<p>Did you know that 5 oz. of crimini mushrooms provide more than 10% of the daily value of zinc!</p>"

entryDate[1] = "     12/13/2010"
entryContent[1] = "<p>Using good old fashioned soap and water can cut down on exposure to harsh antibacterial soaps and cleaners. </p>"

entryDate[2] = "  12/20/2010"
entryContent[2] = "<p>Allspice is rich in Quercitin, which can help alleviate allergy symptoms in people. This aromatic herb has more antooxidant power than many other berries, fruits and veggies - so allspice it up!</p>"

entryDate[3] = "  12/27/2010"
entryContent[3] = "<p>Meditation induced  several health benefits including improved blood pressure, lower cholesterol levels, reduction in stress hormones, and improved immune function.</p>"

entryDate[4] = "     01/03/2011"
entryContent[4] = "<p>Scientists have reported that it takes ten times the fosil fuel to get a calorie of animal protein onto your table than plant protein. Go green by replacing meat with plant protein in your diet. </p>"

entryDate[5] = "  01/10/2011"
entryContent[5] = "<p>Lignans are plant compounds known for their cancer-protective properties. One of the best sources? Sea vegetables like Kelp, Nori, Dulse and other sea weeds.</p>"

entryDate[6] = "  01/17/2011"
entryContent[6] = "<p>Deadly gases can form when mixing bleach with ammonia, vinegars and other acids. Leave the bleach behind and help protect your body from its damaging effects.</p>"

entryDate[7] = "  01/24/2011"
entryContent[7] = "<p>Aloe is great for burns and wounds but did you know that Aloe juice lowers blood sugars of diabetics and helps relieve ulcerative colitis? Don't use long-term if pregnant, and drink plenty of water.</p>"

entryDate[8] = "  01/31/2011"
entryContent[8] = "<p>Brain scans performed by Dr. Daniel Amen show that negative thoughts change the brain in a negative way.  An attitude of gratitude actually changes the brain for the positive.</p>"

entryDate[9] = "  02/07/2011"
entryContent[9] = "<p>When renting a car for long trips, try a hybrid and save money on fuel while saving the environment.</p>"

entryDate[10] = "  02/14/2011"
entryContent[10] = "<p>Some of the healthy minerals in grains can be unlocked and better absorbed by the sulfuric compounds found in garlic and onions. So saute your grains with some garlic and onions.</p>"

entryDate[11] = "  02/21/2011"
entryContent[11] = "<p>Trying to neutralize odors? Try baking soda for a healthy, non-toxic solution to odor free homes, cars and laundry.</p>"

entryDate[12] = "  02/28/2011"
entryContent[12] = "<p>1 T of barley grassgreens contains a day's supply of beta-carotene, betaine, biotin, boron, copper, iron, lutein, magnesium, niacin, riboflavin, and thiamine.</p>"

entryDate[13] = "  03/07/2011"
entryContent[13] = "<p>Double-blind research studies have shown that Generalized Anxiety Disorder can be improved by drinking or taking Chamomile.</p>"

entryDate[14] = "  03/14/2011"
entryContent[14] = "<p>Traffic contributes to 40% of the smog that effects major cities. Cleaner air means cleaner bodies. Try carpooling a few times a week.</p>"

entryDate[15] = "  03/21/2011"
entryContent[15] = "<p>Do you live or work around a smoker? Think Swiss Chard. Kansas State University demonstrated that the rich Vitmain A content of Swiss Chard may help our bodies deal with the negative effects of smoke.</p>"

entryDate[16] = "  03/28/2011"
entryContent[16] = "<p>Non-stick cookware can give off toxic fumes when the pan gets too hot - opt instead to use cast-iron, stainless steel or ceramic cookware.</p>"

entryDate[17] = "  04/04/2011"
entryContent[17] = "<p>Bee pollen is richer in protein than any flesh-based food. Bee pollen supplements contain more amino acids than fish, beef, or eggs. But caution, if you have a severe pollen allergy, avoid bee pollen.</p>"

entryDate[18] = "  04/11/2011"
entryContent[18] = "<p>Like Pavlov's dog, the immune system can be conditioned to respond to stimuli. Techniques such as hypnosis, biofeedback, guided imagery and meditation can help positively enhance immune function.</p>"

entryDate[19] = "  04/18/2011"
entryContent[19] = "<p>Gasoline evaporates out of your car when parked in the hot sun. Save money and promote cleaner air by parking in the shade.</p>"

entryDate[20] = "  04/25/2011"
entryContent[20] = "<p>One ounce of dried chia seeds provides 11 grams of dietary fiber. They are also low on the glycemic index.</p>"

entryDate[21] = "  05/02/2011"
entryContent[21] = "<p>Leave many pollutants and contaminants at the door by having a shoe-free household. Also, using a HEPA-filter vacuum will trap those allergans and pollutants that sneak in.</p>"

entryDate[22] = "  05/09/2011"
entryContent[22] = "Beet powder provides betaine. This plant chemical helps the liver and kidneys recycle the amino acid methionine to maintain the body's stores of s-adenosyl-methionine, more commonly known as SAM-e."

entryDate[23] = "  05/16/2011"
entryContent[23] = "<p>Scientists like Candace Pert have shown that repressed and denied emotions can effect our health on a cellular level. Find a support group or therapist if you have emotions that need expressing.</p>"

entryDate[24] = "  05/23/2011"
entryContent[24] = "<p>Recycle old laptops, cell phones, televisions and other electronics that can be toxic to the environment at www.gcycle.org.</p>"

entryDate[25] = "  05/30/2011"
entryContent[25] = "<p>The wonderful Fig - research reveals that figs can help lower blood pressure, protect from macular degeneration, reduce the risk of certain breast cancers, increase bone density and lower insulin.</p>"

entryDate[26] = "  06/06/2011"
entryContent[26] = "<p>Having your family frequently wash their hands with soap and water does more than reduce the spread of viruses, it also helps control chemicals and other toxins on the skin.</p>"

entryDate[27] = "  06/13/2011"
entryContent[27] = "<p>Bilberry fruit contains anthocyanosides which scientists believe can strengthen the walls of blood vessels in the eye, benefit the retina, reduce inflammation, and stabilize ligaments and tendons.</p>"

entryDate[28] = "  06/20/2011"
entryContent[28] = "<p>Studies have shown that an increase in wealth doesn't usually increase one's  happiness.  However, spending time with loved ones and taking care of ourselves usually does.</p>"

entryDate[29] = "  06/27/2011"
entryContent[29] = "<p>Oil spills affect thousands of species of marine wildlife each year. Spend a few days of your vacation in a spot where volunteers are needed for clean up.</p>"

entryDate[30] = "  07/04/2011"
entryContent[30] = "<p>A European study showed that reducing meat in your diet can help with weight loss. Try replacing meat once a week with a plant-based protein source like beans.</p>"

entryDate[31] = "  07/11/2011"
entryContent[31] = "<p>Reduce the amount of pesticides and other toxins in your food by using the Environmental Working Group's dirty dozen as a guide - buy these items organic - http://www.foodnews.org.</p>"

entryDate[32] = "  07/18/2011"
entryContent[32] = "<p>Black cohosh reduces hot flashes in women, however, it does not increase growth of cells in the uterus, suggesting that, unlike estrogen, the herb does not carry a risk for uterine cancer.</p>"

entryDate[33] = "  07/25/2011"
entryContent[33] = "<p>Endorphins are the bodies natural mood-elevating substance. Increase your endorphins by exercising regularly, laughing more, and spending time with loved ones.</p>"

entryDate[34] = "  08/01/2011"
entryContent[34] = "<p>Take the recycle challenge. Try having double the amount of recyclables than regular trash. Go a step further and repurpose items you might normally throw away.</p>"

entryDate[35] = "  08/08/2011"
entryContent[35] = "<p>The kiwi fruit has an amazing ability to help protect the DNA of our bodies. This action is attributed to its  rich supply of pyhytonutrients. Also, kiwi has more Vit C per serving than an orange!</p>"

entryDate[36] = "  08/15/2011"
entryContent[36] = "<p>Check the labels of clothes before you buy them. By avoiding clothes that need to be dry-cleaned you can significantly reduce a source of toxins to your body and help the earth at the same time.</p>"

entryDate[37] = "  08/22/2011"
entryContent[37] = "<p>Native Americans used Blackberry leaf as a poultice for wounds, rashes, and insect bites and the vitamin C in the leaves helps strengthen the immune system and promotes tissue repair.</p>"

entryDate[38] = "  08/30/2010"
entryContent[38] = "<p>Brain scan studies performed by Dr. Daniel Amen have shown that mood and personalitiy changes can be due to head tramua. Protect you and your family with helmets and proper sporting equipment.</p>"

entryDate[39] = "  09/06/2010"
entryContent[39] = "<p>Go green by cleaning out your closet. Give old shoes to www.soles4souls.org to send them to another home instead of to the dump.</p>"

entryDate[40] = "  09/13/2010"
entryContent[40] = "<p>Some nutritionists recommend that patients with a history of forming kidney stones avoid foods that are high in oxalates, such as tea, spinach, chocolate, rhubarb and nuts.</p>"

entryDate[41] = "  09/20/2010"
entryContent[41] = "<p>Sulfites, sulfates, nitrites and nitrates are hazardous food additives. While still widespread, many companies now offer foods free of these, so read your food lables!</p>"

entryDate[42] = "  09/27/2010"
entryContent[42] = "<p>Burdock root has considerable evidence in the scientific literature as a powerful anti-inflammatory herb and it contains numerous antioxidants that protect the liver from toxic chemicals.</p>"

entryDate[43] = "  10/04/2010"
entryContent[43] = "<p>Art and music therapy are powerful tools for addressing mental and emotional wellness. Find certified professionals in your area and use art to make the world a better place.</p>"

entryDate[44] = "  10/11/2010"
entryContent[44] = "<p>Plastic beverage bottles consume a lot of fuel. Aluminum in soda cans is better for the environment, but may not be better for your health. The best option - choose glass and then recyle! </p>"

entryDate[45] = "  10/18/2010"
entryContent[45] = "<p>Millet is a food high in insoluble fiber and a recent study published in the American Journal of Gastroenterology demonstrated that insoluble fiber helps women avoid gallstones.</p>"

entryDate[46] = "  10/25/2010"
entryContent[46] = "<p>Sacchrin, an artificial sweetener linked to a variety of health issues, is frequently found in pickled ginger often served at Sushi resturaunts.</p>"

entryDate[47] = "  11/01/2010"
entryContent[47] = "<p>Calendula flowers, commonly known as marigold, makes a wonderful gargle for people with sore throats. A soak of the flowers can also help heal cuts and wounds.</p>"

entryDate[48] = "  11/08/2010"
entryContent[48] = "<p>Studies have shown that the smell of lavendar essential oil can calm anxiety and improve mood.</p>"

entryDate[49] = "  11/15/2010"
entryContent[49] = "<p>Phosphorus in laundry detergent can be detrimental to the ecology of our lakes and streams. Try an enviornmantally-friendly brand at your local health food store.</p>"

entryDate[50] = "  11/22/2010"
entryContent[50] = "<p>Researchers showed that drinking green tea can help increase weight loss in patients with metabolic syndrome and obesity.</p>"

entryDate[51] = "  11/29/2010"
entryContent[51] = "<p>Caraway oil is a strong fungicide. It has a stronger anti-fungal and anti-yeast activity than some prescription medications.</p>"


if (typeof display == "undefined") { var display = "date" }

if (display == "random")
{
  var randomNumber = Math.random()
  randomNumber *= varLength
  randomNumber = parseInt(randomNumber)
  if(isNaN(randomNumber)) randomNumber = 0
  else randomNumber %= varLength
  selectedContent = entryContent[randomNumber]
}
else
{
  for (x=0; x<(entryContent.length); x++)
  {
    tempDate = new Date(entryDate[x])
    tempContent = entryContent[x]
    if ((tempDate <= today) && (tempDate > selectedDate))
    {
      selectedContent = tempContent
      selectDate = tempDate
    }
  }
}

document.write (selectedContent)
