function dispenseArticles()
{
  var i = 0;
  var arr = new Array();

  var art = new Object(); arr[i++] = art;
    art.title = "God is Within";
    art.page  = "within.htm";
    art.date  = "June 15"; 
  var art = new Object(); arr[i++] = art;
    art.title = "Sikh Martyrs";
    art.page  = "martyrs.htm";
    art.date  = "June 1"; 
  var art = new Object(); arr[i++] = art;
    art.title = "Bhai Nand Lal Ji";
    art.page  = "nandlal.htm";
    art.date  = "May 15"; 
  var art = new Object(); arr[i++] = art;
    art.title = "The Holy Amrit";
    art.page  = "amrit.htm";
    art.date  = "April 13"; 
  var art = new Object(); arr[i++] = art;
    art.title = "A Prophesy Fulfilled";
    art.page  = "prophesy.htm";
    art.date  = "November 3"; 
  var art = new Object(); arr[i++] = art;
    art.title = "Miracle in World War II";
    art.page  = "ww2miracle.htm";
    art.date  = "October 31"; 
  var art = new Object(); arr[i++] = art;
    art.title = "Lecture by Yogi Bhajan (US attack)";
    art.page  = "bhajan.htm";
    art.date  = "September 29"; 
  var art = new Object(); arr[i++] = art;
    art.title = "Where is your compassion?";
    art.page  = "compassion2.htm";
    art.date  = "August 30"; 
  var art = new Object(); arr[i++] = art;
    art.title = "The Pipal Tree Prophesy";
    art.page  = "pipal.htm";
    art.date  = "July 27"; 
  var art = new Object(); arr[i++] = art;
    art.title = "The Master's Sword";
    art.page  = "sword.htm";
    art.date  = "June 24"; 
  var art = new Object(); arr[i++] = art;
    art.title = "The Sacred Act of Faith";
    art.page  = "faith.htm";
    art.date  = "June 20"; 
  var art = new Object(); arr[i++] = art;
    art.title = "Meditation - For Survival Through the Times";
    art.page  = "meditation1.htm";
    art.date  = "June 15"; 
  var art = new Object(); arr[i++] = art;
    art.title = "Slandering";
    art.page  = "slandering.htm";
    art.date  = "June 11"; 
  var art = new Object(); arr[i++] = art;
    art.title = "Sikh Concept of Charity";
    art.page  = "charity.htm";
    art.date  = "June 9"; 
  var art = new Object(); arr[i++] = art;
    art.title = "The One in Many";
    art.page  = "the-one.htm";
    art.date  = "June 4"; 
  var art = new Object(); arr[i++] = art;
    art.title = "Mool Mantra";
    art.page  = "moolmantra.htm";
    art.date  = "May 29"; 
  var art = new Object(); arr[i++] = art;
    art.title = "Q & A: Do sins ever go unpunished?";
    art.page  = "sins.htm";
    art.date  = "May 18"; 
  var art = new Object(); arr[i++] = art;
    art.title = "Q & A: Vegetables vs Meat";
    art.page  = "veg-meat.htm";
    art.date  = "May 17";  
  var art = new Object(); arr[i++] = art;
    art.title = "The Art and Science of Liberation";
    art.page  = "liberation.htm";
    art.date  = "May 10";  
  var art = new Object(); arr[i++] = art;
    art.title = "Daswandh Stories";
    art.page  = "das-story.htm";
    art.date  = "May 5";
  var art = new Object(); arr[i++] = art;
    art.title = "Bravery and the Sikh Spirit";
    art.page  = "bravery.htm";
    art.date  = "April 21";
  var art = new Object(); arr[i++] = art;
    art.title = "The value of meditation for health and happiness";
    art.page  = "meditation.htm";
    art.date  = "April 18";
  var art = new Object(); arr[i++] = art;
    art.title = "Towards Human and Spiritual Unity of Mankind";
    art.page  = "unity.htm";
    art.date  = "April 18";
  var art = new Object(); arr[i++] = art;
    art.title = "Man's Dominion";
    art.page  = "dominion.htm";
    art.date  = "April 17";
  var art = new Object(); arr[i++] = art;
    art.title = "Daswandh : Charity of One-tenth Income";
    art.page  = "daswandh.htm";
    art.date  = "April 16";
  var art = new Object(); arr[i++] = art;
    art.title = "Secrets of Heaven and Hell (a parable)";
    art.page  = "samurai.htm";
    art.date  = "April 16";
  


  if (typeof showbox == "undefined") showbox = true;
  if (typeof showbullets == "undefined") showbullets = true;
  if (typeof showdates == "undefined") showdates = true;
  if (typeof fontface == "undefined") fontface = "arial, helvetica";
  if (typeof fontsize == "undefined") fontsize = "2";
  if (typeof boxcolor == "undefined") boxcolor = "#5EBF4D";
  if (typeof boxbgcolor == "undefined") boxbgcolor = "#ffffff";
  if (typeof boxtextcolor == "undefined") boxtextcolor = "#ffffff";
  if (typeof boxwidth == "undefined") boxwidth = "268";
  if (typeof articlecount == "undefined")
    articlecount=5; 
  
  if (articlecount>arr.length)
    articlecount=arr.length; 

  var url  = "";
  var ball = url + "ball.gif";
  var bullet = "<td valign='baseline' width='18'><img src='" + ball + "' width='8' height='8' hspace='10'></td>";
  if (showbullets==false) bullet="";

  var style = "";
  if (navigator.appName.indexOf("Netscape") == -1)
  {
    if (typeof linkcolor != "undefined")
      style += "a.dispenser {color:" + linkcolor + "}\n";

    if (typeof linkunderline != "undefined")
      if (linkunderline==true) 
        style += "a.dispenser {text-decoration:underline}\n";
      else
        style += "a.dispenser {text-decoration:none}\n";

    if (typeof linkcolorover != "undefined")
      style += "a.dispenser:hover {color:" + linkcolorover + "}\n"; 

    if (typeof linkunderlineover != "undefined")
      if (linkunderlineover==true) 
        style += "a.dispenser:hover {text-decoration:underline}\n";
      else
        style += "a.dispenser:hover {text-decoration:none}\n";

    if (style != "")
      style = "<style type='text/css'>\n" + style + "</style>\n";
  }

  var str = "<font face='" + fontface + "'>\n";
  str += "<table border='0' cellpadding='0' cellspacing='2'  width='"  + boxwidth + "'>";
  for (var i=0; i<articlecount; i++)
  {
    str += "<tr>" + bullet + "<td valign='top' width='100%'><font size='" + fontsize + "'>";
    str += "<a class=dispenser href='" + url + arr[i].page + "' target=_blank><b>" + arr[i].title + "</b></a><br></font>";
    if (showdates)
      str += "<font size='1'><em>" + arr[i].date + "</em></font>";
    else
      str += "<font size='1'>&nbsp;</font>"; 
    str += "</td></tr>\n";
  }
  str += "</td></tr></table>";

  if (showbox) 
    str = "<table width='" + boxwidth + "' border='0' cellpadding='2' cellspacing='1' bgcolor='" + boxcolor + "'> <tr> <td align='left'><font face='" + fontface + "' color='" + boxtextcolor + "' size='" + fontsize + "'><strong>Latest Articles</strong></font></td> </tr> <tr> <td bgcolor='" + boxbgcolor + "' width='100%'>\n" + str + "\n</td></tr></table>\n";

  str = style + str;

  document.writeln(str); 
}
