// On Menu Item - Click
function changeLoc(address, id)
{
  window.location.href = address;
}

// On Menu Item - Mouse Over
function onOver(td)
{
  if(document.getElementById||(document.all && !(document.getElementById)))
  {
    td.style.backgroundColor="#D6F0A3";
    td.style.cursor="hand";
  }
}

// On Menu Item - Mouse Out
function onOut(td)
{
  if(document.getElementById||(document.all && !(document.getElementById)))
    td.style.backgroundColor="#C5E586";
}

// Render Menu Style (columns and rows)
function renderMenu(landingURL, lordVader)
{
	document.write('<tr>');
	document.write('  <td bgcolor="#003300" height="1"><img src="/MormonAds/img/pixel.gif" alt="" border="0" height="1" width="1"></td>');
	document.write('</tr>');
	document.write('<tr>');
	document.write('  <td style="background-color: rgb(197, 229, 134);" class="arrows" onmouseover="onOver(this);" onmouseout="onOut(this);" onclick="changeLoc(\'/MormonAds/' + landingURL + '\');" bgcolor="#c5e586">&nbsp;&nbsp;»');
	document.write('    <a href="/MormonAds/' + landingURL + '" class="nav">' + lordVader + '</a>');
	document.write('  </td>');
	document.write('</tr>');
}

// Render STYLESHEET
document.write('<link rel="stylesheet" href="/MormonAds/img/styles.css" type="text/css">');

// Open Menu Table
document.write('<table align="center" border="0" cellpadding="0" cellspacing="0" width="160">');
// Menu Items
renderMenu('accountability.php', 'Accountability');
renderMenu('adversity.php', 'Adversity');
renderMenu('agency.php', 'Agency');
renderMenu('anger.php', 'Anger');
renderMenu('atonement.php', 'Atonement');
renderMenu('attitude.php', 'Attitude');
renderMenu('belonging.php', 'Belonging');
renderMenu('brotherhood.php', 'Brotherhood');
renderMenu('character.php', 'Character');
renderMenu('christmas.php', 'Christmas');
renderMenu('churchhistory.php', 'Church History');
renderMenu('commitment.php', 'Commitment');
renderMenu('communication.php', 'Communication');
renderMenu('conversion.php', 'Conversion');
renderMenu('creation.php', 'Creation');
renderMenu('dating.php', 'Dating');
renderMenu('dedication.php', 'Dedication');
renderMenu('discipleship.php', 'Discipleship');
renderMenu('divine.php', 'Divine Nature');
renderMenu('dedication.php', 'Dedication');
renderMenu('elderly.php', 'Elderly');
renderMenu('endurance.php', 'Endurance');
renderMenu('environment.php', 'Environment');
renderMenu('example.php', 'Example');
renderMenu('faith.php', 'Faith');
renderMenu('family.php', 'Family');
renderMenu('familyhistory.php', 'Family History');
renderMenu('fasting.php', 'Fasting');
renderMenu('fellowshipping.php', 'Fellowshipping');
renderMenu('finances.php', 'Finances');
renderMenu('forgiveness.php', 'Forgiveness');
renderMenu('friendship.php', 'Friendship');
renderMenu('gambling.php', 'Gambling');
renderMenu('generosity.php', 'Generosity');
renderMenu('goals.php', 'Goals');
renderMenu('God.php', 'God');
renderMenu('gossip.php', 'Gossip');
renderMenu('government.php', 'Government');
renderMenu('gratitude.php', 'Gratitude');
renderMenu('habits.php', 'Habits');
renderMenu('healing.php', 'Healing');
renderMenu('health.php', 'Health');
renderMenu('holyghost.php', 'Holy Ghost');
renderMenu('home.php', 'Home');
renderMenu('honesty.php', 'Honesty');
renderMenu('hope.php', 'Hope');
renderMenu('humility.php', 'Humility');
renderMenu('individual.php', 'Individual Worth');
renderMenu('Jesus.php', 'Jesus Christ');
renderMenu('joseph.php', 'Joseph Smith');
renderMenu('joy.php', 'Joy');
renderMenu('judging.php', 'Judging');
renderMenu('kindness.php', 'Kindness');
renderMenu('leadership.php', 'Leadership');
renderMenu('listening.php', 'Listening');
renderMenu('marriage.php', 'Marriage');
renderMenu('media.php', 'Media');
renderMenu('missionary.php', 'Missionary Work');
renderMenu('morality.php', 'Morality');
renderMenu('music.php', 'Music');
renderMenu('obedience.php', 'Obedience');
renderMenu('peace.php', 'Peace');
renderMenu('peer.php', 'Peer Pressure');
renderMenu('perspective.php', 'Perspective');
renderMenu('pioneers.php', 'Pioneers');
renderMenu('potential.php', 'Potential');
renderMenu('prayer.php', 'Prayer');
renderMenu('prejudice.php', 'Prejudice');
renderMenu('preparation.php', 'Preparation');
renderMenu('priesthood.php', 'Priesthood');
renderMenu('priorities.php', 'Priorities');
renderMenu('profanity.php', 'Profanity');
renderMenu('prophets.php', 'Prophets');
renderMenu('repentance.php', 'Repentance');
renderMenu('resolutions.php', 'Resolutions');
renderMenu('responsibility.php', 'Responsibility');
renderMenu('resurrection.php', 'Resurrection');
renderMenu('reverence.php', 'Reverence');
renderMenu('sacrament.php', 'Sacrament');
renderMenu('sacrifice.php', 'Sacrifice');
renderMenu('safety.php', 'Safety');
renderMenu('scripture.php', 'Scripture Study');
renderMenu('selfcontrol.php', 'Self-control');
renderMenu('selfesteem.php', 'Self-esteem');
renderMenu('seminary.php', 'Seminary');
renderMenu('service.php', 'Service');
renderMenu('sin.php', 'Sin');
renderMenu('spirituality.php', 'Spirituality');
renderMenu('standards.php', 'Standards');
renderMenu('success.php', 'Success');
renderMenu('talents.php', 'Talents');
renderMenu('temples.php', 'Temples');
renderMenu('temptation.php', 'Temptation');
renderMenu('testimony.php', 'Testimony');
renderMenu('time.php', 'Time Management');
renderMenu('tithing.php', 'Tithing');
renderMenu('tolerance.php', 'Tolerance');
renderMenu('truth.php', 'Truth');
renderMenu('unity.php', 'Unity');
renderMenu('values.php', 'Values');
renderMenu('word.php', 'Word of Wisdom');
renderMenu('work.php', 'Work');
renderMenu('worldliness.php', 'Worldliness');
renderMenu('worship.php', 'Worship');
renderMenu('worthiness.php', 'Worthiness');
renderMenu('youngwomen.php', 'Young Women');
renderMenu('youth.php', 'Youth');
// Menu Drop Down List
document.write('<tr>');
document.write('  <td>');
document.write('    <form>');
document.write('      <div align="center">');
document.write('        <select name="menu">');
document.write('          <option value="http://lds.nettycreations.com" selected>LDS Resources</option>');
document.write('          <option value="http://www.nettycreations.com/EFY_Music.php">EFY Music</option>');
document.write('          <option value="http://lds.nettycreations.com/EFYmedley.htm">EFY Medley</option>');
document.write('          <option value="http://www.nettycreations.com/EFY">EFY Home</option>');
document.write('          <option value="http://www.nettycreations.com/EFYStuff/index.html">EFY Clothes Etc</option>');
document.write('          <option value="http://www.nettycreations.com/EFYsite/EFY.htm">EFY Memories</option>');
document.write('          <option value="http://www.efyphotos.com">EFY Photos</option>');
document.write('          <option value="http://lds-ctr-rings.com">CTR Rings</option>');
document.write('          <option value="http://nettycreations.com/CTR_bands/index.php">CTR Bands</option>');
document.write('          <option value="http://www.nettycreations.com/LikenTheScriptures/index.html">Liken Scriptures</option>');
document.write('        </select>');
document.write('        <input name="button" type="button" onClick="location=this.form.menu.options[this.form.menu.selectedIndex].value;" value="GO">');
document.write('      </div>');
document.write('    </form>');
document.write('    <br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br>');
document.write('  </td>');
document.write('</tr>');
// Close Menu Table
document.write('</table>');
