//Add this line where you want the message to appear <script type="text/javascript" language="Javascript" src="/js/verses.js"></script>.
//To reset the visit, uncomment ResetCounts line and comment the DisplayInfo line
//and to display info, uncomment the DisplayInfo line and comment the ResentCounts line

window.onload=DisplayInfo()
//window.onload=ResetCounts()


function getCookieVal (offset) {
var endstr = document.cookie.indexOf (";", offset);
if (endstr == -1)
endstr = document.cookie.length;
return unescape(document.cookie.substring(offset, endstr));
}
function GetCookie (name) {
var arg = name + "=";
var alen = arg.length;
var clen = document.cookie.length;
var i = 0;
while (i < clen) {
var j = i + alen;
if (document.cookie.substring(i, j) == arg)
return getCookieVal (j);
i = document.cookie.indexOf(" ", i) + 1;
if (i == 0) 
break; 
}
return null;
}
function SetCookie (name, value) {
var argv = SetCookie.arguments;
var argc = SetCookie.arguments.length;
var expires = (2 < argc) ? argv[2] : null;
var path = (3 < argc) ? argv[3] : null;
var domain = (4 < argc) ? argv[4] : null;
var secure = (5 < argc) ? argv[5] : false;
document.cookie = name + "=" + escape (value) +
((expires == null) ? "" : ("; expires=" + expires.toGMTString())) +
((path == null) ? "" : ("; path=" + path)) +
((domain == null) ? "" : ("; domain=" + domain)) +
((secure == true) ? "; secure" : "");
}
function DisplayInfo() {
var expdate = new Date();
var visit;
expdate.setTime(expdate.getTime() +  (24 * 60 * 60 * 1000 * 365)); 
if(!(visit = GetCookie("visit"))) 
visit = 0;
visit++;
SetCookie("visit", visit, expdate, "/", null, false);
var message;
if(visit == 1)
document.write("Those who believe \(in the Quran\), and those who follow the Jewish \(scriptures\), and the Christians and \(all\) who believe in God and the last day and work righteousness, shall have their reward with their Lord; on them shall be no fear, nor shall they grieve. - The Holy Quran, 2:62")
if(visit == 2) 
document.write("Say: O people of the Book! exceed not in your religion the bounds (of what is proper), trespassing beyond the truth, nor follow the vain desires of people who went wrong in times gone by,- who misled many, and strayed (themselves) from the even way. - The Holy Quran 5:77")
if(visit == 3) 
document.write("Say: O followers of the Book! be not unduly immoderate in your religion, and do not follow the low desires of people who went astray before and led many astray and went astray from the right path. - The Holy Quran, 5:77")
if(visit == 4)
{
document.write("Therefore do remind, for you are only a reminder. You are not a watcher over them; But whoever turns back and disbelieves,")
document.write("Allah will chastise him with the greatest chastisement. Surely to Us is their turning back, Then surely upon Us is the taking of their account. - The Holy Quran, 8:21-26 ")
}
if(visit == 5)
document.write("Strive in the way of God as you ought to strive \(with sincerity and discipline\). \(God\) has chosen you \(to carry His message\) and has imposed no hardship in the observance of your faith - the faith of your father Abraham. It is He who named you \'those who have surrendered themselves to God\' both before \(in prior scriptures\) and in this \(Quran\), so that the Apostle may bear witness to the truth for you, and that you may bear witness to it for all mankind. So establish regular prayer, give regular charity and hold fast to God. - The Holy Quran, 22:78")
if(visit == 6)
document.write("Say: We believe in God and what has been revealed to us, and what was revealed to Abraham, Isma'il, Isaac, Jacob, and the tribes, and what was given to Moses, Jesus and to the prophets from their Lord; we do not make any distinction between any of them, and to God do we submit. - The Holy Quran, 3:84 ")
if(visit == 7)
document.write("Then hymn the praises of thy Lord, and seek forgiveness of Him, for He is ever ready to show mercy. - The Holy Quran, 110:3")
if(visit == 8)
document.write("Verily! In the creation of the heavens and the earth, and in the alternation of night and day, there are indeed signs for men of understanding.  - The Holy Quran, 3:190")
if(visit == 9)
document.write("He will bless your works and forgive your sins - for he that obeys Allah and His Messenger, has indeed achieved the highest achievement.  - The Holy Quran, 33:71")
if(visit == 10)
document.write("It is He \(Allah\) Who is God in the heavens and God on earth; He is the All-Wise, the All-Knowledgeable.  - The Holy Quran, 43:84")
if(visit == 11)
document.write("It is He Who gives you life and causes you to die. It is He Who when He decides to do something, needs only to say: \"Be\", and it is.  - The Holy Quran, 40:68")
if(visit == 12)
document.write("Allah! there is no other divine reality but That! His are the most Beautiful Divine Attributes.  - The Holy Quran, 20:08")
if(visit == 13)
document.write("So remember the name of thy Lord and devote thyself with a complete devotion.  - The Holy Quran, 73:08")
if(visit == 14)
document.write("O you who believe! bow down and prostrate yourselves and serve your Lord, and do good that you may succeed  - The Holy Quran, 22:77")
if(visit == 15)
document.write("O you who believe! do not forbid \(yourselves\) the good things which Allah has made lawful for you and do not exceed the limits; surely Allah does not love those who exceed the limits.  - The Holy Quran, 5:87")
if(visit == 16)
document.write("O you who believe! fasting is prescribed for you, as it was prescribed for those before you, so that you may guard against evil.  - The Holy Quran, 2:83")
if(visit == 17)
document.write("Unto Allah belong the East and the West, and whithersoever ye turn, there is Allah's Countenance. Lo! Allah is All-Embracing, All-Knowing.  - The Holy Quran, 2:115")
if(visit == 18)
document.write("Our Lord! And make us submissive unto Thee and of our seed a nation submissive unto Thee, and show us our ways of worship, and relent toward us. Lo! Thou, only Thou, art the Relenting, the Merciful.  - The Holy Quran, 2:128")
if(visit == 19)
document.write("Behold! We gave the site, to Abraham, of the \(Sacred\) House, \(saying\)\: \"Associate not anything \(in worship\) with Me; and sanctify My House for those who compass it round, or stand up, or bow, or prostrate themselves \(therein in prayer\).  - The Holy Quran, 22:26")
if(visit == 20)
document.write("And proclaim the Pilgrimage among men\: they will come to thee on foot and \(mounted\) on every kind of camel, lean on account of journeys through deep and distant mountain highways  - The Holy Quran, 22:27")
if(visit == 21)
document.write("We will soon show them Our signs in the Universe and in their own souls, until it will become quite clear to them that it is the truth. Is it not sufficient as regards your Lord that He is a witness over all things?  - The Holy Quran, 41:53")
if(visit == 22)
document.write("Therefore do remind, for you are only a reminder. You are not a watcher over them; But whoever turns  back and disbelieves, Allah will chastise him with the greatest chastisement. Surely to Us is their turning back, Then surely upon Us is the taking of their account.  - The Holy Quran, 88:21-26")
if(visit == 23)
document.write("O ye who believe\! Be steadfast witnesses for Allah in equity, and let not hatred of any people seduce you that ye deal not justly. Deal justly, that is nearer to your duty. Observe your duty to Allah. Lo\! Allah is Informed of what ye do. Allah hath promised those who believe and do good works\: Theirs will be forgiveness and immense reward.  - The Holy Quran, 5:8-9")
if(visit == 24)
document.write("And we \(angels\) do not descend but by the command of your Lord\; to Him belongs whatever is before us and whatever is behind us and whatever is between these, and your Lord is not forgetful. The Lord of the heavens and the earth and what is between them, so serve Him and be patient in His service. Do you know any one equal to Him\? - The Holy Quran, 19:64-65")
if(visit == 25)
document.write("This is the Book; in it is guidance sure, without doubt, to those who fear Allah\; Who believe in the Unseen, are steadfast in prayer, and spend out of what We have provided for them\; And who believe in the Revelation sent to thee, and sent before thy time, and (in their hearts) have the assurance of the Hereafter. are on \(true\) guidance, from their Lord, and it is these who will prosper. - The Holy Quran, 2:2-5")
if(visit == 26)
document.write("He it is Who created for you all that is in the earth, and He directed Himself to the heaven, so He made them complete seven heavens, and He knows all things. - The Holy Quran, 2:29")
if(visit == 27)
document.write("But Satan whispered evil to him\: he said, \"O Adam\! shall I lead thee to the Tree of Eternity and to a kingdom that never decays\?\"  In the result, they both ate of the tree, and so their nakedness appeared to them\: they began to sew together, for their covering, leaves from the Garden\: thus did Adam disobey his Lord, and allow himself to be seduced. But his Lord chose him \(for His Grace\)\: He turned to him, and gave him Guidance. He said\: \"Get ye down, both of you,\- all together, from the Garden, with enmity one to another\: but if, as is sure, there comes to you Guidance from Me, whosoever follows My Guidance, will not lose his way, nor fall into misery. - The Holy Quran, 20:120-123")
if(visit == 28)
document.write("It is He Who sent down to thee \(step by step\)\, in truth, the Book, confirming what went before it\; and He sent down the Law \(of Moses\) and the Gospel \(of Jesus\) before this, as a guide to mankind, and He sent down the criterion \(of judgment between right and wrong\). - The Holy Quran, 3:3")
if(visit == 29)
document.write(" And in their footsteps We sent Jesus the son of Mary, confirming the Law that had come before him\: We sent him the Gospel\: therein was guidance and light, and confirmation of the Law that had come before him\: a guidance and an admonition to those who fear Allah. - The Holy Quran, 5:46")
if(visit == 30)
document.write("Those who follow the messenger, the Prophet who can neither read nor write, whom they will find described in the Torah and the Gospel \(which are\) with them. He will enjoin on them that which is right and forbid them that which is wrong. He will make lawful for them all good things and prohibit for them only the foul\; and he will relieve them of their burden and the fetters that they used to wear. Then those who believe in him, and honour him, and help him, and follow the light which is sent down with him\: they are the successful.  - The Holy Quran, 7:157")
if(visit == 31)
document.write("Surely my guardian is Allah, Who revealed the Book, and He befriends the good. And those whom you call upon besides Him are not able to help you, nor can they help themselves. And if you invite them to guidance, they do not hear\; and you see them looking towards you, yet they do not see. Take to forgiveness and enjoin good and turn aside from the ignorant. - The Holy Quran, 7:196-199")
if(visit == 32)
{
document.write("Read in the name of your Lord Who created. Createth man from a clot. Read: And thy Lord is the Most Bounteous, Who teacheth by the pen, Teacheth man that which he knew not.  - The Holy Quran, 96:1-5")
window.onload=ResetCounts()
}
//{
//message="Celebrate Diversity";
//  alert(message);
//window.open("http://diversity.gm.com/flashes/deedsnotwords.swf","","width=400,height=440")
//}
}
function ResetCounts() {
var expdate = new Date();
expdate.setTime(expdate.getTime() +  (24 * 60 * 60 * 1000 * 365)); 
visit = 0;
SetCookie("visit", visit, expdate , "/", null, false);
//history.go(0);
}



