var row = new Array();
row[0] = new Array('16', 'please pray for my son to return to the Catholic Faith--esp. before he weds. Pray that if his fiance is not sent of the Lord, the wedding would be canceled; otherwise pray for her to come to the Faith.Thank you and God Bless', '04 Nov 2009', '6 Months', '113', 'prayer', '7', 'peg', 'pa');
row[1] = new Array('15', 'Jesus help me!', '01 Nov 2009', '6 Months', '112', 'prayer', '5', 'Teo', 'Italy');

var siteUrl = 'http://www.cathworld.org/chapel/';
var req = 'prayer';
var output = '';

for(var i = 0; i < row.length; i++)
{
	output += "<p class=\"item\">\n  <span class=\"label\">Prayer request from: <a href=\"" + siteUrl + "contact.php?id=" + row[i][4] + "\">" + row[i][7] + "</a> of " + row[i][8] + ", people praying with: " + row[i][6] + "<BR> <a href=\"" + siteUrl + "prayer.php?do=pray&amp;id=" + row[i][0] + "\"><img src=\"" + siteUrl + "style/default/" + ((row[i][6] == 0) ? 'add_prayer.gif' : 'pray_with.gif') + "\" alt=\"\"  height=\"20\" border=\"0\"></a></span>\n  <span class=\"info\">(" + row[i][2] + " for " + row[i][3] + ")</span>\n  " + row[i][1] + "\n</p>\n";
}
output = "<p><span class=\"lg\"><CENTER><B><FONT SIZE=4>Global Prayer Chapel</B></FONT></span><BR> <span class=\"sm\">brought to you by</span> <BR><a class=\"lg\" href=\"www.magnificat.catholicweb.com\">magnificat</a></CENTER>" + output + "<style type=\"text/css\">\n<!--\n.sm {\n\tfont-size: 10px;\n}\n.lg {\n\tfont-size: 12px;}.item {\n\ttext-align: left;\n\tfont-size: 11px;\n}\n.label {\n\tdisplay: block;\n\tpadding: 2px .5em;\n\tfont-size: 12px;\n\tfont-weight: bold;\n\tbackground-color: #CC9966;\n\tcolor: #000;\n}\n.info {\n\tdisplay: block;\n\tmargin: .75em 0%;\n\tfont-size: 10px;\n}\n-->\n</style>\n" + "\n<a href=\"" + siteUrl + req + ".php\">More " + req + "s ...</a></p>";
document.write(output);
