var Today     = new Date()
var ThisMonth = Today.getMonth() + 1
var ThisDay   = Today.getDate() 

var RQoute = new Array();
var Qoute  = new Array();

for (i=1;i<=12;i++) Qoute[i] = new Array();


//------- Scheduled Qoute -----
Qoute[8][29] = "Congratulations on the birth anniversary of the fifth Imam - Muhammad al-Baqir (a.s).";
Qoute[8][31] = "Our grieve condolences on the commemoration of the martyrdom of Imam Ali al-Hadi (a.s).";
Qoute[9][7] = "Congratulations on the birth anniversary of the Ninth Imam - Muhammad al-taqi (a.s).";
Qoute[9][10] = "Congratulations on the anniversary of the Birth of the first Imam –Amir-ul-moumenin Ali (a.s).";
Qoute[9][12] = "We would like to offer our condolences to all the Muslims on this 15th of Rajab on the occasion of the anniversary of the passing away of Hadhrat Zainab Kubra the Wise Woman of the Bani Hashim and who brought the message of  the Karbala Movement.";
Qoute[9][22] = "We would lilke to offer our condolences to all the Muslims on this 25th of Rajab in memory of the unfortunate martydom of the 7th Leader of the Shia of the World. The Abdus Saleh of God, Hadhrat Imam Musa bin Jafar (a.s).";
Qoute[9][30] = "Congratulations on the anniversary of the Birth of the Imam Husain (a.s). ";
Qoute[10][1] = "Congratulations on the anniversary of the Birth of the hatdrat aba-alfazl al-abbas (a.s). ";
Qoute[10][2] = "Congratulations on the anniversary of the Birth of the Imam Ali ibn -ul - Husain zien -ul-abedeen(a.s). ";
Qoute[10][12] = "We congratulate the Muslim World on the auspicious occasion of the birth anniversary of the Twelfth Imam, our Awaited saviour al-Mahdi (may Allah hasten his appearance).";

//------- Random Quote --------

RQoute[0] = "Imam Ali (peace be on him): Whoever keeps his affairs in order with God (follows His Orders sincerely), God will also put his affairs with him in order; whoever makes arrangements for salvation, the Lord will arrange his worldly affairs; whoever advises his own self, God will also protect him. Sayings - 89"
RQoute[1] = "Imam Ali (peace be on him): He is the wisest and the most knowing man who advises people not to lose hope and confidence in the Mercy of God and not to be too sure or over-confident of immunity from His Wrath and Punishment. Sayings - 90"
RQoute[2] = "Imam Ali (peace be on him): That knowledge is very superficial which remains only on your tongue; the intrinsic merit and value of knowledge is that you act upon it. Sayings - 92"
RQoute[3] = "Imam Ali (peace be on him): Like your body, your mind also gets tired and fagged; in such case find educational diversion for it. Sayings - 1"
RQoute[4] = "Imam Ali (peace be on him): Whenever a Tradition of the Holy Prophet (God bless him and his family) is related to you, examine it carefully and think over it deeply; do not be satisfied with mere verbatim repetition of the same, because there are many people who repeat words containing knowledge, but there are few who ponder over them and try to fully grasp the meaning they convey. Sayings - 98"
RQoute[5] = "Imam Ali (peace be on him): To secure for yourself fame and credit as well as blessings, the help that you give to men in need should possess the following attributes: (a) Whatever its extent, it should be considered by you as trifling so that it may be granted a high status; (b) It should be given secretly; then the Lord will bestow upon it fame and celebrity; and (c) It must be given immediately, so that it may bring pleasures and utility to the receiver. Sayings - 101"
RQoute[6] = "Imam Ali (peace be on him): If you help a deserving person without his request then it is generosity, and if you help him after his request, then mostly it is due to shyness to refuse or fear of reproach. Sayings -53"
RQoute[7] = "Imam Ali (peace be on him): Not to have a thing is less humiliating than to beg it of others. Sayings - 66"
RQoute[8] = "Imam Ali (peace be on him): Do not be ashamed if the amount of charity is small, because to send the needy away empty-handed is an act of greater shame. Sayings - 67"
RQoute[9] = "Imam Ali (peace be on him): Time decays bodies but rejuvenates hopes; daily it brings death nearer and nearer but delays fulfilment of desires more and more.	Whoever gets anything from the world lives in anxiety of holding on to it, and whoever loses anything passes his days grieving over the loss. Sayings - 72"

if (Qoute[ThisMonth][ThisDay] == null) Schedule=RQoute[Math.floor(Math.random() * RQoute.length)];
else Schedule=Qoute[ThisMonth][ThisDay];
