function writeQ(levels) {

// fix levels of first 3 quran
//get images for levels of hatred

// Author:Brandon Checketts
// Homepage: http://www.apeleon.net/~microbit/brandon.html
// Email: Brandon@microbits.com
// For this script and more, visit http://wsabstract.com

numQuotes=4;
qAr = new Array(numQuotes); // QuoteArray
qC = new Array(numQuotes);  // Quote category
//qLCC = new Array(numQuotes); // Quote link commentary and context
// categories of quran
// random advantage of leaving islam

if (levels == 0) { extraspaces = "" }
else if (levels == 1) { extraspaces = "../" }
else if (levels == 2) { extraspaces = "../../" }
else if (levels == 3) { extraspaces = "../../../" }
else if (levels == 4) { extraspaces = "../../../../" }
else if (levels == 5) { extraspaces = "../../../../../" };


hate_h = ""
hate_m = ""
hate_l = ""
cat_CS = ""

//qAr [1]="\"<i></i>\" -Quran :";
// category: intolerance for non-muslims, carrot and the stick, the stick, the carrot, incorrect science, plaguiraism, exessive hatred for non-muslims___; read full context, read commentary

qAr [0]=""
qAr [1]="\"And for them are <b>whips of iron</b>\" -Quran 22:21";
//qLCC[1] = "<a href=\"commentary_context\\q2221.htm\">Commentary and Context</a>"
qC[1] = hate_l

qAr [2]="\"And if any believe not in Allah and His Messenger, <b>We have prepared, for those who reject Allah, a Blazing Fire!</b>\" -Quran 48:13";
//qLCC[2] = "<a href=\"commentary_context\\q4813.htm\">Commentary and Context</a>"
qC[2] = hate_m

qAr [3]="\"And that He may punish the Hypocrites, men and women, and <b>the Polytheists men and women, who imagine an evil opinion of Allah</b>. On them is a round of Evil: the Wrath of Allah is on them: <b>He has cursed them and got Hell ready for them: and evil is it for a destination.</b>\" -Quran 48:06";
//qLCC[3] = "<a href=\"commentary_context\\q4806.htm\">Commentary and Context</a>"
qC[3] = hate_h

qAr [4]="\"(Here is) a Parable of the Garden which the righteous are promised: in it are rivers of water incorruptible; rivers of milk of which the taste never changes; rivers of wine, a joy to those who drink; and rivers of honey pure and clear. In it there are for them all kinds of fruits; and Grace from their Lord. (Can those in such Bliss) <b>be compared to such as shall dwell for ever in the Fire, and be given, to drink, boiling water, so that it cuts up their bowels (to pieces)?</b>\" -Quran 47:15 [translation:Yusuf Ali]";
//qLCC[4] = "<a href=\"commentary_context\\q4715.htm\">Commentary and Context</a>"
qC[4] = cat_CS


quoteShowing=-1;
// Make sure you don't show the same quote 2x in a row
 prevQuoteShowing = quoteShowing;
 while(quoteShowing == prevQuoteShowing)
   quoteShowing = Math.ceil(Math.random() * numQuotes);

//have to change color and fonts here manually

document.write("<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"8\" name=\"qurantable\"> <tr><td height=6></td></tr> <tr> <td   bgcolor=#D0D3DB align=\"center\">" + "<font class=SmallKoran><p>" + qAr [quoteShowing] + "</td></tr><tr><td align=center class=SmallVerd>");
document.write("</td></tr> <tr><td align=center class=SmallVerdBold height=30>" + " </td></tr></table>");
}
