/*
	This is a javascript file designed to display a random
	bit of text or HTML  (like a quote) on a page that calls it.
	To use, include this on your HTML page...
	<script language='Javascript' src='random_quote.js'></script>
	
	The script expects there to be a DIV or SPAN element with an
	id of "randomquote".  So, wherever you want the random quote
	to appear, place this line:
	<span id='randomquote'></span>
	
	To make the quote appear on page load, edit the <body> tag of your
	page to include this:
	<body onLoad='dispRandom()'>
	
	The parenthesis are required after dispRandom.
	
	And that should do it!  To have the random quote change at
	the push of a button, you could have this:
	<input type='button' onClick='dispRandom()' value='Click Me!'>
	
*/

q = 0;
var quote = new Array();
//------------------------------------------------------
//  The Quotes!  Place all quotes here.
//  You should make sure they always follow this format:
//  quote[q++] = "Text of quote..sdfsdf";
//  Notice the semi-colon at the end?  That's very important.
//  You cannot have line breaks in your quotes, either.
//  If you want a " character in the quote, use \"  (back-
//  slash, then a ").  Otherwise you will get errors.
//------------------------------------------------------


quote[q++] = "We're lying to you";
quote[q++] = "At all times chomp";
quote[q++] = "If I'da knowed you to go, I'da told you where to went";
quote[q++] = "In the morning say, Jol san swayeah";
quote[q++] = "Triple your postives and double your negatives";
quote[q++] = "I'll kill you";
quote[q++] = "Your past coming back to get you";

//------------------------------------------------------
// End of quote section.
//------------------------------------------------------

function dispRandom()
{
	var i = Math.round(Math.random() * (quote.length - 1));
	document.getElementById("randomquote").innerHTML = quote[i];
}

function hello()
{
	alert("Hey Gene");
}


