	
var quotes=new Array()

	        quotes[0] ="The beauty of genius, will transfer the spirit of the craddle to the spirit that goes in the grave. Original Quote: Thomas Huxley: Revamped Quote: John A Dodge"
		quotes[1] = "True power lies in your spiritual ability to heal your soul-regardless of your crosses."
		quotes[2] = "Beauty lies in the heart, the mind, through ones' actions and your words."
		quotes[3] = "Never become jealous over someone else's accomplishments. Instead, try to do all that you can to achieve it for yourself. If this is not possible, look for ways to improve in other areas of your life."
		quotes[4] = "Grow up, but just don't grow old!"
		quotes[5] = "Hate the sin but always love the sinner."
		quotes[6] = "War only promotes more violence. It is caused from self-preservation (fear), revenge, hate,  and greed. "
		quotes[7] = "Greed and jealousy will stunt your spiritual growth. They are the roots of evil."
		quotes[8] = "It's not a question of falling down, but rather your unwillingness to pick yourself back up."
		quotes[9] = "Everybody is an artist, but only a few are willing to experiment at will."
		quotes[10] ="The ability to turn your weaknesses into strengths is a real challenge."
		quotes[11] ="Time is simply a ladder to grow."
		quotes[12] ="People often fear what they don't understand."
		quotes[13] ="If it's too good to be true, perhaps it is, but verify for yourself."
		quotes[14] ="Always look for new ways to accompanlish something. There is only one road to salvation,  but many roads for life itself." 
		quotes[15] ="Kindness is strength disguised."	                 
		quotes[16] ="Man's pursuit for power will lead him down the primrose path."
		quotes[17] ="If you criticize others to built yourself up, you have driven yourself deeper in debt!"
		quotes[18] ="Small minds will discuss other people's affairs, while great minds are to busy keeping out of that business."	         
		quotes[19] ="If someone gossips to you about someone, ask yourself what are they saying about me?"
		quotes[20] ="Life is full of hardships-just don't let the hardships fool you out of your life."                               
		quotes[21] ="Gossip is talking about someone else's business when it doesn't directly involve you and when you don't have their permission."
		quotes[22] ="Rumors are the act of speaking when something has not yet been proven."
		quotes[23] ="There is nothing perfect in this world, except perfect intentions."                                  
		quotes[24] ="One of the most cowardly acts for a human to do is, kill for sport!"
		quotes[25] ="Never judge something you don't understand, your ignorance will surely be evident. In fact, we shouldn't judge at all."
		quotes[26] ="To be judgemental is a strong opinion backed with feelings of hate toward a given individual or party. An opinion should be without the harshness of hate toward the given individual or party concerned."
		quotes[27] ="While we are imperfect, change is inevitable-so why not embrace the possibility of change?"
		
var current = 0;
var next = current + 1;	
var back = current - 1;
var start  = quotes[0];
var max = quotes.length - 1;
var i; 
var end = quotes[27]; // hardcoded for testing purposes


	
function changeQuote() {
			
	if (current==max) {
		current=0;
		}
		
		else {
			current++;
		}

		document.getElementById("jQuote").innerHTML = quotes[current];
	}



function oneBack(i) {
		
	if ( current== max ) {
		current--;
		}

	else {
		current--;
	}

	if ( current == start) {
		current=max;
		current--;
		}
		
		document.getElementById("jQuote").innerHTML = quotes[current];		
	}

	



function oneForward() {

	i = current;
	if ( i == max ) {

	i= 0;

	}
		 else {
			current++;
		}

		document.getElementById("jQuote").innerHTML = quotes[current];
	}











