	
var quotes=new Array()
		
		quotes[1] ="Do not treat others the way you would like others to treat youself. There are some individuals who would want others to treat themselves poorly and as a result would treat others poorly. Since that is the case, do on to others the way you know in your heart others should treat you."

		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] = "Hating the sin but always loving the sinner is the same as not liking how everyone behaves or acts, but rather loving everyone as a child of God."
		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] ="While we are imperfect, change is inevitable-so why not embrace the possibility of change?"
		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 you?"
		quotes[20] ="Life is full of hardships-just don't let the hardships fool you out of your life."                               
		quotes[21] ="Bad Gossip is talking about someone else's business when it doesn't directly involve you and/or when you don't have their permission."
		quotes[22] ="Bad Gossip usually originates from one's jealousies and insecurities. These people want to hurt others and they generally have a bad agenda lurking in their hearts. These people love to put someone else down to build themselves up. In essence, they have put themselves on a pedestal."
		quotes[23] ="Rumors are the act of speaking when something has not yet been proven and is often times very hurtful. If the subject matter could hurt someone-keep your mouth shut!"
		quotes[24] ="There is nothing perfect in this world, except perfect intentions."                                  
		quotes[25] ="Killing for sport is one of the most cowardly acts a human can do!"
		quotes[26] ="Never judge something you don't understand, your ignorance will surely be evident. In fact, we shouldn't judge at all, but we are allowed to make opinions."
		quotes[27] ="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[28] = "True power lies in your spiritual ability to heal your soul-regardless of your crosses."
		quotes[29] ="Everybody has problems but not everybody has issues. An issue stems from the person's inability to deal with the cards they have been dealt-as a result they project their problems on to others."
	        quotes[30] ="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[31] ="Time is simply a ladder to grow."	
		quotes[32] ="Lies, bad gossip, trash talking, rumors, sexually intended speech (other than in private with your companion) and foul language are the six forms of poison speech."
		quotes[33] ="True faith or lack of should be solid like a rock, not blowing in different directions by the winds of change."
		quotes[34] ="If someone else's belief system upsets you, then your faith is seriously in question!"
		quotes[35] ="Many people would rather walk perfectly in darkness then to stumble around in the light."
		quotes[36] ="Everything that has a beginning, doesn't always have an end."
		quotes[37] ="Where there is death, you will generally find vultures."
		quotes[38] ="Honesty is not synonymous with truth."

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[38]; // 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 (document.getElementById("jQuote").innerHTML = "") {
	   document.getElementById("jQuote").innerHTML = quotes[current+1];	 
	}

	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];
	}











