// JavaScript Document

//store the quotations in arrays
quotes = new Array(16);
authors = new Array(16);
quotes[0] = "Don’t dig a well in another’s path;  In case you come to the well’s edge yourself.";
authors[0] = "Rahman Baba";
quotes[1] = "They reach God’s throne in a single stride: I have witnessed the ways of the dervishes.";
authors[1] = "Rahman Baba";
quotes[2] = "Human kindness is not found in wealth Rahman, Being made of gold doesn’t make a statue human.";
authors[2] = "Rahman Baba";
quotes[3] = "Sow flowers, so that your surroundings become a garden; Don’t sow thorns, for they will prick your feet.";
authors[3] = "Rahman Baba";
quotes[4] = "Whoever is not befriended by God Rahman; Even if he has armies, he is all alone.";
authors[4] = "Rahman Baba";
quotes[5] = "Rahman is not so stupid a merchant, As to exchange religion’s wealth for money.";
authors[5] = "Rahman Baba";
quotes[6] = "Do not be fooled by the outer appearance of a man,  Look to the inside of the nut to see whether it is soft or hard.";authors[6] = "Rahman Baba";
quotes[7] = "If the body of Muhammad had not been born, God would not have created the world.";
authors[7] = "Rahman Baba";
quotes[8] = "Don’t say it is only me in the world; God has created a chief over every chieftan.";
authors[8] = "Rahman Baba";
quotes[9] = "If the scales of justice were in your hand, You would count your mule equal to another’s horse.";
authors[9] = "Rahman Baba";
quotes[10] = "Khushhal and Doalat are my slaves, I Rahman am made universal by the Pukhtul language.";
authors[10] = "Rahman Baba";
quotes[11] = "Monarchy owes itself to the prayers of beggars, I Rahman am a king because I am a beggar.";
authors[11] = "Rahman Baba";
quotes[12] = "I am a lover and I deal in love, I am neither Khaleel, Daudzai nor Mohmand.";
authors[12] = "Rahman Baba";
quotes[13] = "There was gambling for fate on the day of creation. Some lost, Rahman, and some won good luck.";
authors[13] = "Rahman Baba";
quotes[14] = "If you are always looking at the faults of others, For God’s sake why are you so unaware of your own faults?";
authors[14] = "Rahman Baba";
quotes[15] = "Every evening you pledge to kiss tomorrow. When will you make the evening morning for Rahman?";
authors[15] = "Rahman Baba";

//calculate a random index
index = Math.floor(Math.random() * quotes.length);

//display the quotation
document.write("<DL>\n");
document.write("<DT>" + "\"" + quotes[index] + "\"\n");
document.write("<DD>" + "-- " + authors[index] + "\n");
document.write("</DL>\n");

//done

