// JavaScript Document
img_current = 5;

$(function(){
	$("#img").css("background", "url(images/slideshow/slide5.jpg)");
	autoRotate = setInterval("newimg('auto')", 6000);
});

function newimg(img)
{
    if ('auto' == img)
    {
	    var total_images = 6;
		/*
	    var bg = $("#img").css("background");
	    var pos = bg.indexOf(".jpg") - 1;
		var img_num = parseInt(bg.charAt(pos));
		*/
		img_num = img_current;
		if (img_num == 6)
		{
		    img_num = 1;
		}
		else
		{
		    img_num = (Number(img_num) + 1);
		}
		img_current = img_num;
	}
	else
	{
		img_current = img;
	}
    $("#img").fadeOut("slow",function(){
		$("#img").css("background","url(images/slideshow/slide"+img_current+".jpg)");
		$("#img").fadeIn("slow");
    });
}

 // ==============================================
// CodeLifter.com
// ==============================================

var Quotation = new Array();

Quotation[0] = "<div class=quote>Peace cannot be kept by force.  It can only be achieved by understanding.</div><div class=quoteAuthor>Albert Einstein</div>";
Quotation[1] = "<div class=quote>There was never a good war or a bad peace.</div><div class=quoteAuthor>Benjamin Franklin</div>";
Quotation[2] = "<div class=quote>My first wish is to see this plague of mankind, war, banished from the earth.</div><div class=quoteAuthor>George Washington</div>";
Quotation[3] = "<div class=quote>Peace is not the absence of conflict, it is the ability to handle conflict by peaceful means.</div><div class=quoteAuthor>Ronald Reagan, Eureka College, May 9, 1982</div>";
Quotation[4] = "<div class=quote>We seek peace, knowing that peace is the climate of freedom.</div><div class=quoteAuthor>Dwight D. Eisenhower</div>";
Quotation[5] = "<div class=quote>Peace cannot be kept by force.  It can only be achieved by understanding.</div><div class=quoteAuthor>Albert Einstein</div>";
Quotation[6] = "<div class=quote>The real and lasting victories are those of peace, and not of war.</div><div class=quoteAuthor>Ralph Waldo Emerson</div>";
Quotation[7] = "<div class=quote>It is far easier to make war than peace.</div><div class=quoteAuthor>Georges Clemenceau</div>";
Quotation[8] = "<div class=quote>There is no time left for anything but to make peacework a dimension of every waking activity.</div><div class=quoteAuthor>Elise Boulding</div>";
Quotation[9] = "<div class=quote>The more we sweat in peace the less we bleed in war.</div><div class=quoteAuthor>Vijaya Lakshmi Pandit</div>";
Quotation[10] = "<div class=quote>The chain reaction of evil &mdash; wars producing more wars &mdash; must be broken, or we shall be plunged into the dark abyss of annihilation.</div><div class=quoteAuthor>Martin Luther King, Jr.</div>";
Quotation[11] = "<div class=quote>It isn't enough to talk about peace.  One must believe in it.  And it isn't enough to believe in it.  One must work at it.</div><div class=quoteAuthor>Eleanor Roosevelt</div>";
Quotation[12] = "<div class=quote>Peace hath her victories no less renowned than war.</div><div class=quoteAuthor>John Milton, in <span class=underline>To the Lord General Cromwell</a>, 1652</div>";
Quotation[13] = "<div class=quote>Peace is not an absence of war, it is a virtue, a state of mind, a disposition for benevolence, confidence, justice.</div><div class=quoteAuthor>Baruch Spinoza</div>";
Quotation[14] = "<div class=quote>You don't make peace with friends.  You make it with unsavory enemies.</div><div class=quoteAuthor>Yitzhak Rabin, Sep 10, 1993</div>";
Quotation[15] = "<div class=quote>Better than a thousand hollow words is one word that brings peace.</div><div class=quoteAuthor>Buddha</div>";
Quotation[16] = "<div class=quote>Peace, to have meaning for many who have only known suffering in both peace and war, must be translated into bread or rice, shelter, health and education, as well as freedom and human dignity.</div><div class=quoteAuthor>Ralph Johnson Bunche</div>";
Quotation[17] = "<div class=quote>We must not relax in our efforts to ease the pain and suffering caused by conflict.</div><div class=quoteAuthor>Jimmy Carter</div>";
Quotation[18] = "<div class=quote>If you want to make peace, you don't talk to your friends. You talk to your enemies.</div><div class=quoteAuthor>Moshe Dayan</div>";
Quotation[19] = "<div class=quote>Peace cannot be achieved through violence, it can only be attained through understanding.</div><div class=quoteAuthor>Ralph Waldo Emerson</div>";
Quotation[20] = "<div class=quote>You can't shake hands with a clenched fist.</div><div class=quoteAuthor>Indira Gandhi</div>";
Quotation[21] = "<div class=quote>The practice of peace and reconciliation is one of the most vital and artistic of human actions.</div><div class=quoteAuthor>Thich Nhat Hanh</div>";
Quotation[22] = "<div class=quote>Peace-making is a healing process and it begins with me, but it does not end there.</div><div class=quoteAuthor>Gene Knudsen Hoffman</div>";
Quotation[23] = "<div class=quote>Nothing is more precious than peace. Peace is the most basic starting point for the advancement of humankind.</div><div class=quoteAuthor>Daisaku Ikeda</div>";
Quotation[24] = "<div class=quote>One day we must come to see that peace is not merely a distant goal we seek, but that it is a means by which we arrive at that goal.</div><div class=quoteAuthor>Martin Luther King, Jr.</div>";
Quotation[25] = "<div class=quote>True peace is not merely the absence of tension; it is the presence of justice.</div><div class=quoteAuthor>Martin Luther King, Jr.</div>";
Quotation[26] = "<div class=quote>Today the real test of power is not capacity to make war but capacity to prevent it.</div><div class=quoteAuthor>Anne O'Hare McCormick</div>";
Quotation[27] = "<div class=quote>Establishing lasting peace is the work of education; all politics can do is keep us out of war.</div><div class=quoteAuthor>Maria Montessori</div>";
Quotation[28] = "<div class=quote>It is not enough just to be for peace. The point is, what can we do about it?</div><div class=quoteAuthor>Richard M. Nixon</div>";
Quotation[29] = "<div class=quote>Peace is not only better than war, but infinitely more arduous.</div><div class=quoteAuthor>George Bernard Shaw</div>";
Quotation[30] = "<div class=quote>We must be patient&mdash;making peace is harder than making war.</div><div class=quoteAuthor>Adlai Stevenson</div>";
Quotation[31] = "<div class=quote>They have not wanted Peace at all; they have wanted to be spared war &mdash; as though the absence of war was the same as peace.</div><div class=quoteAuthor>Dorothy Thompson</div>";
Quotation[32] = "<div class=quote>Stability and peace in our land will not come from the barrel of a gun, because peace without justice is an impossibility.</div><div class=quoteAuthor>Bishop Desmond Tutu</div>";

var Q = Quotation.length;
var whichQuotation = Math.round(Math.random()*(Q-1));
function showQuotation()
{
    document.write(Quotation[whichQuotation]);
}