//var bmCookie = readCookie('bmUsrLoc');

//if (bmCookie == null) {
//  document.location = "http://www.blackmountainbead.com/setcookie.php?page="+document.URL;
//}

//function readCookie(name) {
//  var nameEQ = name + "=";
//  var ca = document.cookie.split(';');
//  for (var i=0;i < ca.length;i++) {
//    var c = ca[i];
//    while (c.charAt(0)==' ') c = c.substring(1,c.length);
//    if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
//  }
//  return null;
//}



function limitText(limitField,limitNum) {
  if (limitField.value.length > limitNum) {
    limitField.value = limitField.value.substring(0, limitNum);
  } else {
    document.getElementById("countdown").innerHTML = limitNum - limitField.value.length;
    
  }
}



function getParam(sid) {
  var sname = sid.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]");
  var regexS = "[\\?&]"+sname+"=([^&#]*)";
  var regex = new RegExp(regexS);
  var results = regex.exec(window.location.href);
  if (results == null)
    return "";
  else
    return results[1];
}



function showStone(sid) {
  if (document.getElementById) {
    if (sid == 0) {
      document.getElementById("geminfo").innerHTML = "<div style=\"height:184px\"><img src=\"images/giftbox.jpg\" width=\"188\" height=\"188\"></div><div style=\"padding-top:15px\">Every order will come packaged in this elegant and sturdy gift box.</div>";
    }
    else if (sid == 101) {
      document.getElementById("geminfo").innerHTML = "<div style=\"height:184px\"><img src=\"images/cardset.jpg\" width=\"188\" height=\"152\"></div><div style=\"padding-top:15px\">A full set of laminated cards accompanies the 72-stone strand describing each stone's name, place of origin and healing properties.</div>";
    }
    else if (sid == 102) {
      document.getElementById("geminfo").innerHTML = "<div style=\"height:184px\"><img src=\"images/clasp.jpg\" width=\"188\" height=\"116\"></div><div style=\"padding-top:15px\">Each necklace, bracelet, and anklet is made with this premium quality sterling silver lobster style clasp.</div>";
    }
    else if (sid == 103) {
      document.getElementById("geminfo").innerHTML = "<div style=\"height:184px\"><img src=\"images/wiring.jpg\" width=\"188\" height=\"116\"></div><div style=\"padding-top:15px\">The wiring consists of 49 strands of nylon coated stainless steel cable, the premier jewelry wire.</div>";
    }
    else if (sid >= 1 && sid <=72) {
      document.getElementById("geminfo").innerHTML = "<table width=\"100%\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\"><tr style=\"height:80px\"><td style=\"width:80px\"><img src=\"stones/"+gemName[sid]+".jpg\" width=\"80\" height=\"80\" class=\"stone\"></td><td align=\"center\" valign=\"top\" width=\"100%\"><span style=\"font-size:12pt; font-weight:bold\">"+stone[sid]+"</span><br/><br/><strong>"+stoneOrig[sid]+"</strong></td></tr><tr style=\"height:160px\"><td colspan=\"2\" valign=\"top\" style=\"padding-top:15px; text-align:justify\"><strong>Healing Properties:</strong><br/>"+stoneDesc[sid]+"</td></tr></table><p style=\"text-align:center; font-size:8pt;\"><a href=\"mydesigns.cfm\"><strong>Click here to design your own</strong></a>!</p>";
    }
    else {
      document.getElementById("geminfo").innerHTML = "Invalid selection";
    }
  }
}


function remoteWindow(f,w,h) {
  var n = "blackmountainremotewindow";
  
  var winL = (screen.width-640)/2;
  var winT = (screen.height-480)/2;
  
  var settings  = 'width='+w+',';
      settings += 'height='+h+',';
      settings += 'top='+winT+',';
      settings += 'left='+winL+',';
      settings += 'toolbar=no,';
      settings += 'location=no,';
      settings += 'scrollbar=no,';
      settings += 'resizable=no';

  var new_window = window.open(f,n,settings);
}



function eMail(a,b,c) {
  var addr = a;
  var name = b;
  var subj;
  if (c == '') {
    subj = "";
  } else {
    subj = "?subject=" + c;
  }
  var host = "xmission.com";
  document.write(" <a href=\"mailto:" + addr + "@" + host + subj + "\">" + name + "</a>");
}



function compareEmail() {
  if (document.changeEmail.newemail != document.changeEmail.newemail2) {
    alert("The email addresses don't match");
    return false;
  }
}



var stone = new Array();
  stone[0] = "None";
  stone[1] = "African Turquoise";
  stone[2] = "Amazonite";
  stone[3] = "Amber";
  stone[4] = "Amethyst";
  stone[5] = "Angelite";
  stone[6] = "Aquamarine";
  stone[7] = "Aventurine";
  stone[8] = "Azurite";
  stone[9] = "Blood Stone";
  stone[10] = "Blue Lace Agate";
  stone[11] = "Botswana Agate";
  stone[12] = "Calcite";
  stone[13] = "Carnelian";
  stone[14] = "Chalcedony";
  stone[15] = "Chinese Turquoise";
  stone[16] = "Chrysanthemum Stone";
  stone[17] = "Chrysocolla";
  stone[18] = "Chrysoprase";
  stone[19] = "Citrine";
  stone[20] = "Crazy Lace Agate";
  stone[21] = "Dalmation Jasper";
  stone[22] = "Dumortierite";
  stone[23] = "Fancy Jasper";
  stone[24] = "Fluorite";
  stone[25] = "Fossil Agate";
  stone[26] = "Garnet";
  stone[27] = "Hematite";
  stone[28] = "Howlite";
  stone[29] = "Jade";
  stone[30] = "Labradorite";
  stone[31] = "Lapis Lazuli";
  stone[32] = "Leopard Skin Jasper";
  stone[33] = "Lepidolite";
  stone[34] = "Mahogany Obsidian";
  stone[35] = "Malachite";
  stone[36] = "Mookaite Jasper";
  stone[37] = "Moon Stone";
  stone[38] = "Moss Agate";
  stone[39] = "Nebula Stone";
  stone[40] = "Onyx";
  stone[41] = "Opal";
  stone[42] = "Orbicular Jasper";
  stone[43] = "Peridot";
  stone[44] = "Petrified Wood";
  stone[45] = "Picasso Jasper";
  stone[46] = "Picture Jasper";
  stone[47] = "Pietersite";
  stone[48] = "Poppy Seed Jasper";
  stone[49] = "Prehnite";
  stone[50] = "Pyrite";
  stone[51] = "Quartz Crystal";
  stone[52] = "Rainbow Obsidian";
  stone[53] = "Red Jasper";
  stone[54] = "Rhodochrosite";
  stone[55] = "Rhodonite";
  stone[56] = "Rhyolite";
  stone[57] = "Rose Quartz Crystal";
  stone[58] = "Rutilated Quartz";
  stone[59] = "Serpentine";
  stone[60] = "Silver Leaf Agate";
  stone[61] = "Smokey Quartz Crystal";
  stone[62] = "Snowflake Obsidian";
  stone[63] = "Sodalite";
  stone[64] = "Sunstone";
  stone[65] = "Tiger Eye";
  stone[66] = "Tiger Iron";
  stone[67] = "Tourmalinated Quartz";
  stone[68] = "Tree Agate";
  stone[69] = "Unakite";
  stone[70] = "Yellow Jasper";
  stone[71] = "Zebra Jasper";
  stone[72] = "Zoisite";

var stoneDesc = new Array();
  stoneDesc[0] = "None";
  stoneDesc[1] = "Encourages trust in self to stimulate independent action. Improves communication skills by speaking from love and inner wisdom. Attracts money and provides protection from accidents while traveling. Can reduce headaches.";
  stoneDesc[2] = "Inspires expression of self and improves self worth. Stimulates heart and throat chakras and balances male/female energies. Brings out faith in the larger picture in life. Great stone for healing the heart, both emotional and physical. It can be used to treat nervous disorders and reduces muscle spasms.";
  stoneDesc[3] = "A great stone to use while doing inner child or past life processes.  Can be used to cleanse toxins from both you and your environment.  Use for headaches and purifying blood.  This stone has the wisdom of the ages, draw upon it for a strong sense of inner peace.";
  stoneDesc[4] = "Called the \"sixth sense\" stone. It is highly connected to spirituality. Known for attaining wisdom and peace. It centers you through changes with ease and comfort. Opens crown chakra for insight to inner light. Great to release addictive behaviors, especially alcohol, and to relieve insomnia and headaches.";
  stoneDesc[5] = "Can heighten telepathic responses.  Inspires you to speak your truth and follow your heart.  Can be used for weight control and in treating thyroid disorders.  This stone can connect you to your higher self so you may live with the courage to have your ultimate life.";
  stoneDesc[6] = "This translucent stone opens the bridge from Heaven to Earth.  It can break old thought patterns introducing you to a new dynamic life.  It can heal disorders of the throat.  This stone can provide courage and clarity while surrounding you with nurturing energy.";
  stoneDesc[7] = "Great for motivating you to put your heart's desires into action. Brings out leadership abilities promoting clarity in making choices. Can treat disorders of the thymus gland, heart and lungs. Stimulates and clears heart chakra. Great for attracting prosperity and wealth.";
  stoneDesc[8] = "The \"Stone of Heaven\" can activate the third eye chakra for direct influence on your quest of spiritual self. Great for circulatory disorders because it is an ore of copper. Can prevent the past from interfering with present relationships. Encourages empathy for others.";
  stoneDesc[9] = "The \"Stone of Courage\" is great for stamina of mind and body. Can connect you with the Divine source inspiring trust to live in the moment. Good to attract money. Can rid toxins and purify spleen, kidneys, liver and bladder. Opens and activates heart chakra.";
  stoneDesc[10] = "Can activate chakras from heart to crown stimulating clear choices from heart and head. Eases depression and despair bringing feelings of encouragement and support. Conducts steady energy flow through the body and can relieve arthritis.";
  stoneDesc[11] = "Encourages understanding of eternal love in the ever-changing universe. Allows focus on solutions rather then existing problems. Great for treating stress and depression. Strengthens sexual energy and dispels feelings of being disconnected from friends and family.";
  stoneDesc[12] = "The \"Stone of Imagination\" increases creativity and intuition.  Removes fear allowing confidence and self-reliance to move forward.  Use for treatment of back pain and to increase physical strength.  It transforms excess and scattered energy into clear, creative focus.";
  stoneDesc[13] = "Can dispel feelings of rage, fear and envy. A cheerful stone that brings out joy. Calms emotions and increases ability to reason. Recommended to ease arthritis pain. Strengthens bond between parent and child. Inspires unconditional love for yourself and others.";
  stoneDesc[14] = "A protective stone that can shield you from other's negative thoughts and jealousy.  It has been used to improve blood and circulation disorders.  It can transform thoughts of self-doubt to feelings of courage and faith.";
  stoneDesc[15] = "Guides communication to be done with love. Can assist in building strong and healthy relationships. Brings wisdom of the ages to the present to make solid choices. Works well with dream state to answer troubling questions. Can improve vision, both internally and externally.";
  stoneDesc[16] = "The \"Stone of New Beginnings\" represents the blossoming of your dreams into reality.  It's constant, positive energy will keep you moving forward with ease.  Can treat tension headaches and lower back pain.  Use it to tap into your inner power removing your obstacles.";
  stoneDesc[17] = "Inspires gentle and steady energy.  Can relieve fear, anxiety and guilt reducing headaches, particularly tension headaches.  This stone of harmony can inspire you to face your obstacles head-on while leaving you free to live a life of joy!";
  stoneDesc[18] = "This was a favorite stone of Alexander the Great and can be used to increase your courage for self-expression.  It has been known to heal disorders of the immune system and treat issues with reproduction.  Let this transcending stone bring you to a higher consciousness.";
  stoneDesc[19] = "The \"Merchant's Stone\" can assist you in building and maintaining wealth. Teaches you to use, enjoy, and then release inviting even greater things into your life. Good for balancing thyroid disorders. Diminishes self-destructive tendencies and will not hold any negative energy. Inspires you to choose from your heart with confidence.";
  stoneDesc[20] = "Brings out laughter and joy allowing you to truly enjoy life. The \"stone of vitality\" balances physical energy. Shows the many paths that one can take, leading to feelings of unlimited opportunity. Can treat disorders of the heart. Inspires calmness and serenity.";
  stoneDesc[21] = "Stone to remove disillusionment. Can assist you in clearly seeing what are your strengths and weakness. A great stone for grounding and achieving your highest good. A stone of loyalty, great for long term relationships. Can purify blood system and revitalize organs.";
  stoneDesc[22] = "The \"Learning Stone\" can increase communication between your physical and higher self.  Promotes mental clarity and sense of order.  Good for cooling the body and treating thyroid imbalance.  Can encourage self-reliance and provide feelings of security.";
  stoneDesc[23] = "This stone can relieve fear, frustration and guilt. It builds inner strength and confidence to nurture your deepest desires. Increases total body vibration improving physical and mental health. Can stabilize heart and solar chakra allowing choices to be made from the heart.";
  stoneDesc[24] = "The stone brings order to chaos. It is good for grounding excess energy and focusing emotions. Is a source of fluoride and can strengthen bones. Excellent for inter-dimensional travel and for grasping higher, more abstract thinking. A warm vibrant stone that brings enlightenment to the soul.";
  stoneDesc[25] = "Brings assurance that any outcome will be the best for you. Draws out humility and gentleness. Directs you to use inner wisdom to teach others by honesty and openness. Eases stress in digestion. A very protective stone that works through your thought process to eliminate even the idea of being harmed.";
  stoneDesc[26] = "The \"Stone of Health\" is great for vitality, strength and happiness. Traditionally a stone of lovers to signify devotion. Can lessen feelings of abandonment and fear. Great for purifying the blood and easing pain in cramping or muscle spasms. It can stimulate your desires and draw happiness to you.";
  stoneDesc[27] = "The \"Stone of the Mind\" can balance and ground you to bring focused thinking. Has been used to draw illness from the body, especially fevers. Assists in breaking beliefs about limitations and inspires you to make your dreams come true. Attracts kind and generous love from others, as well as yourself.";
  stoneDesc[28] = "Presents calm communication skills when faced with confrontation. Can eliminate fear, rage and envy to heal anger. Encourages patience and relieving heated outbursts. Reputed to balance calcium levels to heal teeth, bone and tissue disorders.";
  stoneDesc[29] = "One of the most pure and serene stones, it carries the \"wisdom of the ages.\" Combining the powers of heaven and earth, it can inspire you to make clear choices quickly, leading to the path of true joy and abundance. Can treat disorders of the heart and spleen. Brings out the deep peace from within.";
  stoneDesc[30] = "Drawing together the energies of the sun and moon, this stone's ability to balance emotions with intellect is superior. Reaffirms that all things happen according to what is destined for you. This reduces stress and fear providing peace and harmony.";
  stoneDesc[31] = "Harmonizes the heart and mind. It is great for deep soul work. Draws a spiritual love to you. Stimulating the third eyes and crown chakras it can activate total awareness. Great for treating gland disorders. The \"stone of the stars\" is named for the Arabic word heaven. Let it bring a little heaven to you.";
  stoneDesc[32] = "Represents connection to earth. Use it to draw life force from nature into your body. Stabilizes heart and solar chakras assisting you in trusting each new path you take. Good for attracting beneficial influences in your circle. Inspires you to take accountability and find the freedom that comes with it.";
  stoneDesc[33] = "The \"Stone of Transition\" can release old beliefs and energy blocks.  It can treat gland and immune disorders.  It contains lithium that can stabilize moods and bring emotional balance.  Can inspire strong trust that your highest good is always obtainable.";
  stoneDesc[34] = "This lustrous volcanic stone can provide a reflection of your inner most soul. Use it to carry you through life's mysteries with ease and comfort. Can strengthen and stabilize immune system. A very protective stone, it will absorb negative energy from you and those around you.";
  stoneDesc[35] = "The \"Stone of Transformation\" can detect emotional source of physical illness. Clarifies heart energy harmonizing desires for both material and spiritual success. This copper ore is highly conductive and can ease arthritis pain. This stone can guide you to live from your heart and the money will follow.";
  stoneDesc[36] = "The \"Stone of Versatility\" encourages mental flexibility to ease transition.  It can strengthen the immune system by removing impurities from the blood.  Use it to find your strengths and set goals for the future while staying happy and content in the present.";
  stoneDesc[37] = "Drawing it's strength from the moon, it's known as the \"Traveler's Stone\" so use it for protection when you travel. Because of it's strong female energy it is also called the \"Goddess Stone\". Inspires spiritual nourishment and firm compassion. Teaches that everything comes in its divine time.";
  stoneDesc[38] = "Considered the \"Garden Stone\" it brings abundance to anything it is directed to. Encourages teamwork and flexibility. Can lessen flu and cold symptoms. Stimulates universal love and a very deep connection to the earth.";
  stoneDesc[39] = "The \"Cosmic Window Stone\" can show your individual and integral role within the universe.  It can cleanse kidneys and detoxify chemicals on a cellular level.  Use it to crystallize your thoughts to create your most luminous life.";
  stoneDesc[40] = "Inspires you to honor inner wisdom. A deep protection stone helps balance intuition with action. Great for long endurance and self-mastery. Can treat disorders of bone marrow, soft tissue and feet. Absorbs positive energy from your environment and brings it into you.";
  stoneDesc[41] = "Use it to take in all the positive energy around you and defuse the negative.  It can improve memory and heal disorders of the eye.  Feelings of depression can transform into hope and joy.  Brings emotional clarity and inspires accountability that improves your feelings of self-worth.";
  stoneDesc[42] = "The \"Stone of the Ocean\" brings patience and self-love.  Stabilizes emotions during the natural waves of life.  Can treat depression and digestive issues.  Associated with the heart chakra, it can protect you in intimate relationships.";
  stoneDesc[43] = "The \"Sun Gem\" can bring true joy.  Inspires peace in your natural alignment with the universe.  It has been used to treat ulcers and digestive issues.  Wear this stone to lessen stress in relationships to assist in bringing about more harmony.";
  stoneDesc[44] = "This \"Universal Recorder\" reveals your gained wisdom leading you to a balanced and fulfilled life.  Can treat disorders of the skin and circulatory system.  Works with the root chakra to improve feelings of security.  This gives you courage to live out your passions.";
  stoneDesc[45] = "This beautiful stone, sometimes called Picasso Marble, can bring out your hidden talents and gifts. It's energy is released more intensely by touch. Invites total recall of dreams to answer many of life's mysteries. Inspires clarity, self-control and respect.";
  stoneDesc[46] = "The \"Global Awareness Stone\" promotes unity in efforts to nurture the planet. Stimulates third eye chakra providing insights of the past to create a better future. Can treat skin and immune disorders. Reduces fear and guilt, inspiring you to reach your full potential.";
  stoneDesc[47] = "Inspires loyalty and respect for all life forms. Brings out true love of self. Good to use with spirit travel; it keeps you grounded to your ethnic body. Promotes humanity. Brings riches and property with strong visualization and intention to do so. Assists in trusting life cycles, moving with grace through the ups and downs.";
  stoneDesc[48] = "A protective stone that has been said to reflect negativity back to it's sender. Inspires you to restrain from dangerous desires that can lead to unstable emotions and poor health. Builds confidence, self worth, and self acceptance. Balances Yin and Yang to help keep physical energy high.";
  stoneDesc[49] = "Enhances abilities to retain and understand the messages from your dreams.  Use for treatment of anemia and kidney disease.  It can shield you from people or places that drain you emotionally.  Use it to restore your trust in Divine Manifestation.";
  stoneDesc[50] = "It can program your energy for optimal health. Use this stone to see the good in all things. Provides stability and calms emotional outbursts. Reduces stress, worrying, and ill health. Can aid in digestion and assist in assimilating all nourishment from food.";
  stoneDesc[51] = "Called the \"Ice of Eternity\" it connects you with your higher self. Purifies mind, body, and soul. Great for boosting immune system, alleviating respiratory problems, and increasing overall energy. Transmits and conducts vibrations where it is focused. Use with only serious intentions for positive outcomes.";
  stoneDesc[52] = "The \"Stone of Pleasure\" inspires light, beauty and generosity.  Can treat obsessive-compulsive disorders and improve eyesight.  Encourages you to set healthy boundaries.  Shows you that you are free to live your life your way, encouraging others to do the same.";
  stoneDesc[53] = "Provides insights that your life is a result of your choices. Inspires you to make your life exactly what you want by making new choices. Can give you confidence to move forward enjoying the journey, not waiting in expectations. Helps prevent setbacks or relapse illnesses that have been overcome. Good for rectifying unjust situations.";
  stoneDesc[54] = "The \"Stone of Love and Balance\" can draw out true and honorable love.  Inspires you to love and respect yourself so that others will do the same.  Has been used to treat thyroid, kidney and digestive disorders.  Attracts thoughts, feelings and people that supports your highest good.";
  stoneDesc[55] = "The \"Stone of Love\" dramatically impacts your heart chakra allowing love to be your highest law. Inspires compassion for you and others. Can bring assurance that your choices are leading you on the right path. Can treat thyroid, nervous, and heart disorders. Has been said to improve memory.";
  stoneDesc[56] = "The \"Stone of Resolution\" clears issues from the past to enlighten the future. It can light a fire of creativity in your soul encouraging you to reach your highest self. Can improve skin and muscular tone. Connects you to your inner beauty and can rejuvenate outer beauty.";
  stoneDesc[57] = "The \"Stone of Gentle Love\" brings compassion and respect of self. Inspires beauty in art, music, and written word. Can clear stored anger to open space for new, healthier relationships. Can treat disorders of thymus and heart. Opens your heart chakra and increases your ability to love and forgive others.";
  stoneDesc[58] = "Use this stone to mend your aura and heal life force.  It can guide you to the root of disorders bringing true and lasting healing.  Can treat fatigue and general illness.  Inspires self-respect and brings cooperation from others.";
  stoneDesc[59] = "The \"Karmatic Cleaning Stone\" is used for resolving past grievances.  It can enhance positive digestive flora and lessen menstrual cramps.  Filled with compassion and forgiveness, this stone gives you courage to make amends with those you feel have harmed you.";
  stoneDesc[60] = "It can renew passions and stimulate physical health. Drawing out the true reflection of your heart inspiring you to your highest self. Can improve vision, both externally and internally. Strongly roots you to the earth while you reach for your goals to provide balance between energy and outcome.";
  stoneDesc[61] = "The \"Stone of Co-operation\" works well to unify group energy. Sharpens ability to understand abstract thinking. Removes energy blocks thoroughly. Can activate survival instincts and improve intuition. Great stone for relaxing and calming, good for treating anxiety.";
  stoneDesc[62] = "The \"Stone of Purity\" removes toxins from body and soul. Can assist in removing belief patterns that no longer serve you. Can treat disorders of the skeletal structure. The color contrasts in this stone show the balance in life. Dark represents the mastery of physical plane and light shows the connection to spirit.";
  stoneDesc[63] = "The \"Stone of Speech\" improves all levels of communication. It's great for teachers, lecturers and healers. Can assist you in manifesting quality long-term relationships. Improves trust in yourself & others. Can treat thyroid disorders. Stimulates logic & reasoning so you can \"speak your truth\" with confidence.";
  stoneDesc[64] = "This stone is associated with the energy of the sun.  It can give you extra energy in times of stress or illness.  It can increase your ability to heal yourself and others.  Brings out strong and inspiring leadership skills.  Use with Moonstone for a complete balance of energy.";
  stoneDesc[65] = "Bringing together the powers of the sun and earth, this \"Stone of Creativity\" assists you in clearing the chaos from your mind. Balances left and right brain activity. It can inspire optimism during times of struggle with the rewards of vitality and prosperity.";
  stoneDesc[66] = "A combination of golden tiger eye, red jasper, and hematite, it utilizes all aspects of these stones. Specifically it assists in creative and artistic projects. Helps assimilate b-complex vitamins to increase muscular structure. A great stone to balance beauty and strength.";
  stoneDesc[67] = "Combining Tourmaline and Quartz, it's effective in removing negativity.  This stone inspires you to go for your dreams with courage.  Can reduce anxiety and panic disorders.  Can move light from the crown to root chakra to clear blocked energy.";
  stoneDesc[68] = "Brings connection to the earth drawing out your natural ability to love, heal, and nurture yourself and others. Assists you in letting go of events or people with grace and gratitude. Inspires trust that new treasures are still to come. It can bring abundance to wherever you direct it.";
  stoneDesc[69] = "The \"Heart Healer\" opens inner vision to restore broken hearts. Use it to gently release blocked energy to improve overall health. Can help both parent and child during pregnancy. Is very connected to the re-birthing process and can ease you through major changes in life. Balances Yin and Yang energy.";
  stoneDesc[70] = "This stone reflects the nurturing aspects of sunshine bringing lightness into your life. A protective stone that is excellent for traveling. Inspires endurance by teaching that patience is it's own reward. A very positive and cheerful energy is sure to follow whenever you use this stone.";
  stoneDesc[71] = "This balancing stone brings the feeling that the best of all outcomes will prevail. The light shows faith, joy, and optimism while the dark inspires endurance, confidence, and strength. Can be used to ease depression and steady mood swings. Inspires long and loyal relationships.";
  stoneDesc[72] = "Inspires trust in the natural goodness of the universe.  Good for strengthening the immune system and reducing inflammation.  Can transform negative feelings into constructive actions.  Use it to reveal positive guidance from your soul for steady direction.";

var stoneOrig = new Array();
  stoneOrig[0] = "";
  stoneOrig[1] = "Zimbabwe";
  stoneOrig[2] = "Brazil";
  stoneOrig[3] = "Czech Republic"; 
  stoneOrig[4] = "Brazil";
  stoneOrig[5] = "Peru";
  stoneOrig[6] = "Brazil";
  stoneOrig[7] = "India";
  stoneOrig[8] = "Arizona, USA";
  stoneOrig[9] = "India";
  stoneOrig[10] = "Namibia";
  stoneOrig[11] = "Botswana";
  stoneOrig[12] = "Utah, USA";
  stoneOrig[13] = "India";
  stoneOrig[14] = "Namibia";
  stoneOrig[15] = "China";
  stoneOrig[16] = "China";
  stoneOrig[17] = "Chile";
  stoneOrig[18] = "Australia";
  stoneOrig[19] = "Brazil";
  stoneOrig[20] = "Mexico";
  stoneOrig[21] = "Mexico";
  stoneOrig[22] = "Mozambique";
  stoneOrig[23] = "India";
  stoneOrig[24] = "China";
  stoneOrig[25] = "Wyoming, USA";
  stoneOrig[26] = "India";
  stoneOrig[27] = "Alaska, USA";
  stoneOrig[28] = "Zimbabwe";
  stoneOrig[29] = "China";
  stoneOrig[30] = "Madagascar";
  stoneOrig[31] = "Afghanistan";
  stoneOrig[32] = "Mexico";
  stoneOrig[33] = "Madagascar";
  stoneOrig[34] = "Utah, USA";
  stoneOrig[35] = "Zaire";
  stoneOrig[36] = "Australia";
  stoneOrig[37] = "India";
  stoneOrig[38] = "Brazil";
  stoneOrig[39] = "Mexico";
  stoneOrig[40] = "Mexico";
  stoneOrig[41] = "Peru";
  stoneOrig[42] = "Madagascar";
  stoneOrig[43] = "Arizona, USA";
  stoneOrig[44] = "Utah, USA";
  stoneOrig[45] = "Utah, USA";
  stoneOrig[46] = "Utah, USA";
  stoneOrig[47] = "Namibia";
  stoneOrig[48] = "South Africa";
  stoneOrig[49] = "India";
  stoneOrig[50] = "Peru";
  stoneOrig[51] = "Brazil";
  stoneOrig[52] = "Mexico";
  stoneOrig[53] = "South Africa";
  stoneOrig[54] = "Argentina";
  stoneOrig[55] = "Canada";
  stoneOrig[56] = "Australia";
  stoneOrig[57] = "Brazil";
  stoneOrig[58] = "Brazil";
  stoneOrig[59] = "Britain";
  stoneOrig[60] = "Mexico";
  stoneOrig[61] = "Brazil";
  stoneOrig[62] = "Utah, USA";
  stoneOrig[63] = "Canada";
  stoneOrig[64] = "Oregon, USA";
  stoneOrig[65] = "South Africa";
  stoneOrig[66] = "South Africa";
  stoneOrig[67] = "Brazil";
  stoneOrig[68] = "Brazil";
  stoneOrig[69] = "Mexico";
  stoneOrig[70] = "India";
  stoneOrig[71] = "Utah, USA";
  stoneOrig[72] = "Kenya";

// this is the base price for all color combinations.  compound combinations are then
// calculated using offsets from the base price.  the first letter of compound
// combinations are used as the root color.
var price_B_nec6mm = 29.95;
var price_B_nec4mm = 27.95;
var price_B_bra6mm = 16.95;
var price_B_bra4mm = 15.95;
var price_B_ank4mm = 16.95;
var price_B_ear6mm = 13.95;

var price_R_nec6mm = 39.95;
var price_R_nec4mm = 37.95;
var price_R_bra6mm = 17.95;
var price_R_bra4mm = 16.95;
var price_R_ank4mm = 17.95;
var price_R_ear6mm = 15.95;
  
var price_G_nec6mm = 49.95;
var price_G_nec4mm = 47.95;
var price_G_bra6mm = 19.95;
var price_G_bra4mm = 18.95;
var price_G_ank4mm = 19.95;
var price_G_ear6mm = 17.95;

// 2-stone pricing
var price_BB_nec6mm = price_B_nec6mm;
var price_BB_nec4mm = price_B_nec4mm;
var price_BB_bra6mm = price_B_bra6mm;
var price_BB_bra4mm = price_B_bra4mm;
var price_BB_ank4mm = price_B_ank4mm;
var price_RR_nec6mm = price_R_nec6mm;
var price_RR_nec4mm = price_R_nec4mm;
var price_RR_bra6mm = price_R_bra6mm;
var price_RR_bra4mm = price_R_bra4mm;
var price_RR_ank4mm = price_R_ank4mm;
var price_GG_nec6mm = price_G_nec6mm;
var price_GG_nec4mm = price_G_nec4mm;
var price_GG_bra6mm = price_G_bra6mm;
var price_GG_bra4mm = price_G_bra4mm;
var price_GG_ank4mm = price_G_ank4mm;

var price_BR_nec6mm = price_B_nec6mm + 5;
var price_BR_nec4mm = price_B_nec4mm + 5;
var price_BR_bra6mm = price_B_bra6mm + 0;
var price_BR_bra4mm = price_B_bra4mm + 0;
var price_BR_ank4mm = price_B_ank4mm + 0;
var price_BG_nec6mm = price_B_nec6mm + 10;
var price_BG_nec4mm = price_B_nec4mm + 10;
var price_BG_bra6mm = price_B_bra6mm + 2;
var price_BG_bra4mm = price_B_bra4mm + 2;
var price_BG_ank4mm = price_B_ank4mm + 2;

var price_RB_nec6mm = price_R_nec6mm - 5;
var price_RB_nec4mm = price_R_nec4mm - 5;
var price_RB_bra6mm = price_R_bra6mm + 0;
var price_RB_bra4mm = price_R_bra4mm + 0;
var price_RB_ank4mm = price_R_ank4mm + 0;
var price_RG_nec6mm = price_R_nec6mm + 5;
var price_RG_nec4mm = price_R_nec4mm + 5;
var price_RG_bra6mm = price_R_bra6mm + 1;
var price_RG_bra4mm = price_R_bra4mm + 1;
var price_RG_ank4mm = price_R_ank4mm + 1;

var price_GB_nec6mm = price_G_nec6mm - 10;
var price_GB_nec4mm = price_G_nec4mm - 10;
var price_GB_bra6mm = price_G_bra6mm - 2;
var price_GB_bra4mm = price_G_bra4mm - 2;
var price_GB_ank4mm = price_G_ank4mm - 2;
var price_GR_nec6mm = price_G_nec6mm - 5;
var price_GR_nec4mm = price_G_nec4mm - 5;
var price_GR_bra6mm = price_G_bra6mm - 1;
var price_GR_bra4mm = price_G_bra4mm - 1;
var price_GR_ank4mm = price_G_ank4mm - 1;

// 3-stone pricing
var price_BBB_nec6mm = price_B_nec6mm;
var price_BBB_nec4mm = price_B_nec4mm;
var price_BBB_bra6mm = price_B_bra6mm;
var price_BBB_bra4mm = price_B_bra4mm;
var price_BBB_ank4mm = price_B_ank4mm;
var price_RRR_nec6mm = price_R_nec6mm;
var price_RRR_nec4mm = price_R_nec4mm;
var price_RRR_bra6mm = price_R_bra6mm;
var price_RRR_bra4mm = price_R_bra4mm;
var price_RRR_ank4mm = price_R_ank4mm;
var price_GGG_nec6mm = price_G_nec6mm;
var price_GGG_nec4mm = price_G_nec4mm;
var price_GGG_bra6mm = price_G_bra6mm;
var price_GGG_bra4mm = price_G_bra4mm;
var price_GGG_ank4mm = price_G_ank4mm;

var price_BBR_nec6mm = price_B_nec6mm + 3;
var price_BBR_nec4mm = price_B_nec4mm + 3;
var price_BBR_bra6mm = price_B_bra6mm + 0;
var price_BBR_bra4mm = price_B_bra4mm + 0;
var price_BBR_ank4mm = price_B_ank4mm + 0;
var price_BBG_nec6mm = price_B_nec6mm + 6;
var price_BBG_nec4mm = price_B_nec4mm + 6;
var price_BBG_bra6mm = price_B_bra6mm + 0;
var price_BBG_bra4mm = price_B_bra4mm + 0;
var price_BBG_ank4mm = price_B_ank4mm + 0;
var price_BRB_nec6mm = price_B_nec6mm + 3;
var price_BRB_nec4mm = price_B_nec4mm + 3;
var price_BRB_bra6mm = price_B_bra6mm + 0;
var price_BRB_bra4mm = price_B_bra4mm + 0;
var price_BRB_ank4mm = price_B_ank4mm + 0;
var price_BRR_nec6mm = price_B_nec6mm + 6;
var price_BRR_nec4mm = price_B_nec4mm + 6;
var price_BRR_bra6mm = price_B_bra6mm + 1;
var price_BRR_bra4mm = price_B_bra4mm + 1;
var price_BRR_ank4mm = price_B_ank4mm + 1;
var price_BRG_nec6mm = price_B_nec6mm + 10;
var price_BRG_nec4mm = price_B_nec4mm + 10;
var price_BRG_bra6mm = price_B_bra6mm + 2;
var price_BRG_bra4mm = price_B_bra4mm + 2;
var price_BRG_ank4mm = price_B_ank4mm + 2;
var price_BGB_nec6mm = price_B_nec6mm + 6;
var price_BGB_nec4mm = price_B_nec4mm + 6;
var price_BGB_bra6mm = price_B_bra6mm + 1;
var price_BGB_bra4mm = price_B_bra4mm + 1;
var price_BGB_ank4mm = price_B_ank4mm + 1;
var price_BGR_nec6mm = price_B_nec6mm + 10;
var price_BGR_nec4mm = price_B_nec4mm + 10;
var price_BGR_bra6mm = price_B_bra6mm + 2;
var price_BGR_bra4mm = price_B_bra4mm + 2;
var price_BGR_ank4mm = price_B_ank4mm + 2;
var price_BGG_nec6mm = price_B_nec6mm + 13;
var price_BGG_nec4mm = price_B_nec4mm + 13;
var price_BGG_bra6mm = price_B_bra6mm + 2;
var price_BGG_bra4mm = price_B_bra4mm + 2;
var price_BGG_ank4mm = price_B_ank4mm + 2;

var price_RGG_nec6mm = price_R_nec6mm + 16;
var price_RGG_nec4mm = price_R_nec4mm + 16;
var price_RGG_bra6mm = price_R_bra6mm + 2;
var price_RGG_bra4mm = price_R_bra4mm + 2;
var price_RGG_ank4mm = price_R_ank4mm + 2;
var price_RGB_nec6mm = price_R_nec6mm + 0;
var price_RGB_nec4mm = price_R_nec4mm + 0;
var price_RGB_bra6mm = price_R_bra6mm + 0;
var price_RGB_bra4mm = price_R_bra4mm + 0;
var price_RGB_ank4mm = price_R_ank4mm + 0;
var price_RGR_nec6mm = price_R_nec6mm + 3;
var price_RGR_nec4mm = price_R_nec4mm + 3;
var price_RGR_bra6mm = price_R_bra6mm + 0;
var price_RGR_bra4mm = price_R_bra4mm + 0;
var price_RGR_ank4mm = price_R_ank4mm + 0;
var price_RBG_nec6mm = price_R_nec6mm - 0;
var price_RBG_nec4mm = price_R_nec4mm - 0;
var price_RBG_bra6mm = price_R_bra6mm - 0;
var price_RBG_bra4mm = price_R_bra4mm - 0;
var price_RBG_ank4mm = price_R_ank4mm - 0;
var price_RBB_nec6mm = price_R_nec6mm - 7;
var price_RBB_nec4mm = price_R_nec4mm - 7;
var price_RBB_bra6mm = price_R_bra6mm - 1;
var price_RBB_bra4mm = price_R_bra4mm - 1;
var price_RBB_ank4mm = price_R_ank4mm - 1;
var price_RBR_nec6mm = price_R_nec6mm - 4;
var price_RBR_nec4mm = price_R_nec4mm - 4;
var price_RBR_bra6mm = price_R_bra6mm - 0;
var price_RBR_bra4mm = price_R_bra4mm - 0;
var price_RBR_ank4mm = price_R_ank4mm - 0;
var price_RRG_nec6mm = price_R_nec6mm + 3;
var price_RRG_nec4mm = price_R_nec4mm + 3;
var price_RRG_bra6mm = price_R_bra6mm + 1;
var price_RRG_bra4mm = price_R_bra4mm + 1;
var price_RRG_ank4mm = price_R_ank4mm + 1;
var price_RRB_nec6mm = price_R_nec6mm - 4;
var price_RRB_nec4mm = price_R_nec4mm - 4;
var price_RRB_bra6mm = price_R_bra6mm - 0;
var price_RRB_bra4mm = price_R_bra4mm - 0;
var price_RRB_ank4mm = price_R_ank4mm - 0;

var price_GGB_nec6mm = price_G_nec6mm - 7;
var price_GGB_nec4mm = price_G_nec4mm - 7;
var price_GGB_bra6mm = price_G_bra6mm - 2;
var price_GGB_bra4mm = price_G_bra4mm - 2;
var price_GGB_ank4mm = price_G_ank4mm - 2;
var price_GGR_nec6mm = price_G_nec6mm - 4;
var price_GGR_nec4mm = price_G_nec4mm - 4;
var price_GGR_bra6mm = price_G_bra6mm - 1;
var price_GGR_bra4mm = price_G_bra4mm - 1;
var price_GGR_ank4mm = price_G_ank4mm - 1;
var price_GBG_nec6mm = price_G_nec6mm - 7;
var price_GBG_nec4mm = price_G_nec4mm - 7;
var price_GBG_bra6mm = price_G_bra6mm - 2;
var price_GBG_bra4mm = price_G_bra4mm - 2;
var price_GBG_ank4mm = price_G_ank4mm - 2;
var price_GBB_nec6mm = price_G_nec6mm - 14;
var price_GBB_nec4mm = price_G_nec4mm - 14;
var price_GBB_bra6mm = price_G_bra6mm - 3;
var price_GBB_bra4mm = price_G_bra4mm - 3;
var price_GBB_ank4mm = price_G_ank4mm - 3;
var price_GBR_nec6mm = price_G_nec6mm - 10;
var price_GBR_nec4mm = price_G_nec4mm - 10;
var price_GBR_bra6mm = price_G_bra6mm - 2;
var price_GBR_bra4mm = price_G_bra4mm - 2;
var price_GBR_ank4mm = price_G_ank4mm - 2;
var price_GRG_nec6mm = price_G_nec6mm - 4;
var price_GRG_nec4mm = price_G_nec4mm - 4;
var price_GRG_bra6mm = price_G_bra6mm - 1;
var price_GRG_bra4mm = price_G_bra4mm - 1;
var price_GRG_ank4mm = price_G_ank4mm - 1;
var price_GRB_nec6mm = price_G_nec6mm - 10;
var price_GRB_nec4mm = price_G_nec4mm - 10;
var price_GRB_bra6mm = price_G_bra6mm - 2;
var price_GRB_bra4mm = price_G_bra4mm - 2;
var price_GRB_ank4mm = price_G_ank4mm - 2;
var price_GRR_nec6mm = price_G_nec6mm - 7;
var price_GRR_nec4mm = price_G_nec4mm - 7;
var price_GRR_bra6mm = price_G_bra6mm - 2;
var price_GRR_bra4mm = price_G_bra4mm - 2;
var price_GRR_ank4mm = price_G_ank4mm - 2;

// turkish silver pricing
var price_TS_BB_nec6mm = price_B_nec6mm + 10;
var price_TS_BB_nec4mm = price_B_nec4mm + 8;
var price_TS_BB_bra6mm = price_B_bra6mm + 5;
var price_TS_BB_bra4mm = price_B_bra4mm + 4;
var price_TS_BB_ank4mm = price_B_ank4mm + 4;
var price_TS_RR_nec6mm = price_R_nec6mm + 10;
var price_TS_RR_nec4mm = price_R_nec4mm + 8;
var price_TS_RR_bra6mm = price_R_bra6mm + 5;
var price_TS_RR_bra4mm = price_R_bra4mm + 4;
var price_TS_RR_ank4mm = price_R_ank4mm + 4;
var price_TS_GG_nec6mm = price_G_nec6mm + 10;
var price_TS_GG_nec4mm = price_G_nec4mm + 8;
var price_TS_GG_bra6mm = price_G_bra6mm + 5;
var price_TS_GG_bra4mm = price_G_bra4mm + 4;
var price_TS_GG_ank4mm = price_G_ank4mm + 4;

var price_TS_BR_nec6mm = price_B_nec6mm + 15;
var price_TS_BR_nec4mm = price_B_nec4mm + 13;
var price_TS_BR_bra6mm = price_B_bra6mm + 5;
var price_TS_BR_bra4mm = price_B_bra4mm + 4;
var price_TS_BR_ank4mm = price_B_ank4mm + 4;
var price_TS_BG_nec6mm = price_B_nec6mm + 20;
var price_TS_BG_nec4mm = price_B_nec4mm + 18;
var price_TS_BG_bra6mm = price_B_bra6mm + 6;
var price_TS_BG_bra4mm = price_B_bra4mm + 5;
var price_TS_BG_ank4mm = price_B_ank4mm + 5;

var price_TS_RB_nec6mm = price_R_nec6mm + 5;
var price_TS_RB_nec4mm = price_R_nec4mm + 3;
var price_TS_RB_bra6mm = price_R_bra6mm + 4;
var price_TS_RB_bra4mm = price_R_bra4mm + 3;
var price_TS_RB_ank4mm = price_R_ank4mm + 3;
var price_TS_RG_nec6mm = price_R_nec6mm + 15;
var price_TS_RG_nec4mm = price_R_nec4mm + 13;
var price_TS_RG_bra6mm = price_R_bra6mm + 6;
var price_TS_RG_bra4mm = price_R_bra4mm + 5;
var price_TS_RG_ank4mm = price_R_ank4mm + 5;

var price_TS_GB_nec6mm = price_G_nec6mm - 0;
var price_TS_GB_nec4mm = price_G_nec4mm - 2;
var price_TS_GB_bra6mm = price_G_bra6mm + 3;
var price_TS_GB_bra4mm = price_G_bra4mm + 2;
var price_TS_GB_ank4mm = price_G_ank4mm + 2;
var price_TS_GR_nec6mm = price_G_nec6mm + 5;
var price_TS_GR_nec4mm = price_G_nec4mm + 3;
var price_TS_GR_bra6mm = price_G_bra6mm + 4;
var price_TS_GR_bra4mm = price_G_bra4mm + 3;
var price_TS_GR_ank4mm = price_G_ank4mm + 3;

var price_SHK_ear6mm = 12.95;
var price_TSH_ear6mm = 13.95;
var price_TSP_ear6mm = 15.95;

// shell pricing
var price_SH_B_nec6mm = price_B_nec6mm - 6;
var price_SH_B_nec4mm = price_B_nec4mm - 5;
var price_SH_B_bra6mm = price_B_bra6mm - 2;
var price_SH_B_bra4mm = price_B_bra4mm - 1;
var price_SH_B_ank4mm = price_B_ank4mm - 2;
var price_SH_B_ear6mm = price_B_ear6mm + 1;

var price_SH_R_nec6mm = price_R_nec6mm - 8;
var price_SH_R_nec4mm = price_R_nec4mm - 7;
var price_SH_R_bra6mm = price_R_bra6mm - 2;
var price_SH_R_bra4mm = price_R_bra4mm - 1;
var price_SH_R_ank4mm = price_R_ank4mm - 2;
var price_SH_R_ear6mm = price_R_ear6mm + 1;

var price_SH_G_nec6mm = price_G_nec6mm - 10;
var price_SH_G_nec4mm = price_G_nec4mm - 9;
var price_SH_G_bra6mm = price_G_bra6mm - 4;
var price_SH_G_bra4mm = price_G_bra4mm - 3;
var price_SH_G_ank4mm = price_G_ank4mm - 4;
var price_SH_G_ear6mm = price_G_ear6mm + 1;

var africanTurquoise = "R";
var amazonite = "B";
var amber = "G";
var amethyst = "R";
var angelite = "B";
var aquamarine = "G";
var aventurine = "B";
var azurite = "R";
var bloodStone = "B";
var blueLaceAgate = "R";
var botswanaAgate = "B";
var calcite = "B";
var carnelian = "B";
var chalcedony = "G";
var chineseTurquoise = "R";
var chrysanthemumStone = "B";
var chrysocolla = "G";
var chrysoprase = "G";
var citrine = "G";
var crazyLaceAgate = "B";
var dalmationJasper = "B";
var dumortierite = "B";
var fancyJasper = "B";
var fluorite = "B";
var fossilAgate = "B";
var garnet = "R";
var hematite = "B";
var howlite = "B";
var jade = "G";
var labradorite = "R";
var lapisLazuli = "R";
var leopardSkinJasper = "B";
var lepidolite = "R";
var mahoganyObsidian = "B";
var malachite = "R";
var mookaiteJasper = "B";
var moonStone = "R";
var mossAgate = "B";
var nebulaStone = "B";
var onyx = "B";
var opal = "G";
var orbicularJasper = "B";
var peridot = "G";
var petrifiedWood = "R";
var picassoJasper = "B";
var pictureJasper = "B";
var pietersite = "B";
var poppySeedJasper = "B";
var prehnite = "B";
var pyrite = "B";
var quartzCrystal = "B";
var rainbowObsidian;
var redJasper = "B";
var rhodochrosite = "G";
var rhodonite = "B";
var rhyolite = "B";
var roseQuartzCrystal = "B";
var rutilatedQuartz;
var serpentine = "B";
var silverLeafAgate = "B";
var smokeyQuartzCrystal = "B";
var snowflakeObsidian = "B";
var sodalite = "B";
var sunstone = "G";
var tigerEye = "B";
var tigerIron = "B";
var tourmalinatedQuartz = "B";
var treeAgate = "B";
var unakite = "B";
var yellowJasper = "B";
var zebraJasper = "G";
var zoisite = "B";
    
getGemPrice = new Array();
  getGemPrice[0] = "0";
  getGemPrice[1] = africanTurquoise;
  getGemPrice[2] = amazonite;
  getGemPrice[3] = amber;
  getGemPrice[4] = amethyst;
  getGemPrice[5] = angelite;
  getGemPrice[6] = aquamarine;
  getGemPrice[7] = aventurine;
  getGemPrice[8] = azurite;
  getGemPrice[9] = bloodStone;
  getGemPrice[10] = blueLaceAgate;
  getGemPrice[11] = botswanaAgate;
  getGemPrice[12] = calcite;
  getGemPrice[13] = carnelian;
  getGemPrice[14] = chalcedony;
  getGemPrice[15] = chineseTurquoise;
  getGemPrice[16] = chrysanthemumStone;
  getGemPrice[17] = chrysocolla;
  getGemPrice[18] = chrysoprase;
  getGemPrice[19] = citrine;
  getGemPrice[20] = crazyLaceAgate;
  getGemPrice[21] = dalmationJasper;
  getGemPrice[22] = dumortierite;
  getGemPrice[23] = fancyJasper;
  getGemPrice[24] = fluorite;
  getGemPrice[25] = fossilAgate;
  getGemPrice[26] = garnet;
  getGemPrice[27] = hematite;
  getGemPrice[28] = howlite;
  getGemPrice[29] = jade;
  getGemPrice[30] = labradorite;
  getGemPrice[31] = lapisLazuli;
  getGemPrice[32] = leopardSkinJasper;
  getGemPrice[33] = lepidolite;
  getGemPrice[34] = mahoganyObsidian;
  getGemPrice[35] = malachite;
  getGemPrice[36] = mookaiteJasper;
  getGemPrice[37] = moonStone;
  getGemPrice[38] = mossAgate;
  getGemPrice[39] = nebulaStone;
  getGemPrice[40] = onyx;
  getGemPrice[41] = opal;
  getGemPrice[42] = orbicularJasper;
  getGemPrice[43] = peridot;
  getGemPrice[44] = petrifiedWood;
  getGemPrice[45] = picassoJasper;
  getGemPrice[46] = pictureJasper;
  getGemPrice[47] = pietersite;
  getGemPrice[48] = poppySeedJasper;
  getGemPrice[49] = prehnite;
  getGemPrice[50] = pyrite;
  getGemPrice[51] = quartzCrystal;
  getGemPrice[52] = rainbowObsidian;
  getGemPrice[53] = redJasper;
  getGemPrice[54] = rhodochrosite;
  getGemPrice[55] = rhodonite;
  getGemPrice[56] = rhyolite;
  getGemPrice[57] = roseQuartzCrystal;
  getGemPrice[58] = rutilatedQuartz;
  getGemPrice[59] = serpentine;
  getGemPrice[60] = silverLeafAgate;
  getGemPrice[61] = smokeyQuartzCrystal;
  getGemPrice[62] = snowflakeObsidian;
  getGemPrice[63] = sodalite;
  getGemPrice[64] = sunstone;
  getGemPrice[65] = tigerEye;
  getGemPrice[66] = tigerIron;
  getGemPrice[67] = tourmalinatedQuartz;
  getGemPrice[68] = treeAgate;
  getGemPrice[69] = unakite;
  getGemPrice[70] = yellowJasper;
  getGemPrice[71] = zebraJasper;
  getGemPrice[72] = zoisite;




gemName = new Array();
  gemName[0] = "None";
  gemName[1] = "AfricanTurquoise";
  gemName[2] = "Amazonite";
  gemName[3] = "Amber";
  gemName[4] = "Amethyst";
  gemName[5] = "Angelite";
  gemName[6] = "Aquamarine";
  gemName[7] = "Aventurine";
  gemName[8] = "Azurite";
  gemName[9] = "BloodStone";
  gemName[10] = "BlueLaceAgate";
  gemName[11] = "BotswanaAgate";
  gemName[12] = "Calcite";
  gemName[13] = "Carnelian";
  gemName[14] = "Chalcedony";
  gemName[15] = "ChineseTurquoise";
  gemName[16] = "ChrysanthemumStone";
  gemName[17] = "Chrysocolla";
  gemName[18] = "Chrysoprase";
  gemName[19] = "Citrine";
  gemName[20] = "CrazyLaceAgate";
  gemName[21] = "DalmationJasper";
  gemName[22] = "Dumortierite";
  gemName[23] = "FancyJasper";
  gemName[24] = "Fluorite";
  gemName[25] = "FossilAgate";
  gemName[26] = "Garnet";
  gemName[27] = "Hematite";
  gemName[28] = "Howlite";
  gemName[29] = "Jade";
  gemName[30] = "Labradorite";
  gemName[31] = "LapisLazuli";
  gemName[32] = "LeopardSkinJasper";
  gemName[33] = "Lepidolite";
  gemName[34] = "MahoganyObsidian";
  gemName[35] = "Malachite";
  gemName[36] = "MookaiteJasper";
  gemName[37] = "MoonStone";
  gemName[38] = "MossAgate";
  gemName[39] = "NebulaStone";
  gemName[40] = "Onyx";
  gemName[41] = "Opal";
  gemName[42] = "OrbicularJasper";
  gemName[43] = "Peridot";
  gemName[44] = "PetrifiedWood";
  gemName[45] = "PicassoJasper";
  gemName[46] = "PictureJasper";
  gemName[47] = "Pietersite";
  gemName[48] = "PoppySeedJasper";
  gemName[49] = "Prehnite";
  gemName[50] = "Pyrite";
  gemName[51] = "QuartzCrystal";
  gemName[52] = "RainbowObsidian";
  gemName[53] = "RedJasper";
  gemName[54] = "Rhodochrosite";
  gemName[55] = "Rhodonite";
  gemName[56] = "Rhyolite";
  gemName[57] = "RoseQuartzCrystal";
  gemName[58] = "RutilatedQuartz";
  gemName[59] = "Serpentine";
  gemName[60] = "SilverLeafAgate";
  gemName[61] = "SmokeyQuartzCrystal";
  gemName[62] = "SnowflakeObsidian";
  gemName[63] = "Sodalite";
  gemName[64] = "Sunstone";
  gemName[65] = "TigerEye";
  gemName[66] = "TigerIron";
  gemName[67] = "TourmalinatedQuartz";
  gemName[68] = "TreeAgate";
  gemName[69] = "Unakite";
  gemName[70] = "YellowJasper";
  gemName[71] = "ZebraJasper";
  gemName[72] = "Zoisite";

function printElapsedYear() {
  var date = new Date();
  var yyyy = date.getFullYear();
  var elapsed = yyyy - 1993;
  var ord = "th";
  var mod = elapsed % 10;
  
  if (elapsed > 14) {
    if (mod == 1) {
      ord = "st";
    } else if (mod == 2) {
      ord = "nd";
    } else if (mod == 3) {
      ord = "rd";
    }
  }
  
  document.write(elapsed + ord);
}
