/*   <script language="JavaScript1.2">
Dynamic Fader Script (updated: 00/08/05)
Created and submitted by Nicholas Poh (hwinmain@yahoo.com) to Dynamicdrive.com
Key modifications by Dynamic Drive for stability/ efficiency in NS
For full source code, usage terms, and 100s more scripts, visit http://dynamicdrive.com
*/
/*
There are several parts to this code:
1) styMarkeeFadrScrolrEng.js   --the Engine--
2) styMarkeeFadrScrolrCdef.css  --and TestScrollStyle ClassDef--
	Can place #2 in the styExtraTxt.css file 
	container for secondary css inclusions
**3) styMarkeeFadrScrolrTxt.js    --Text for Markee--
		And then the entries in the Welcome Page...
4) The Link to #2 in the Head... which is now commented out (see #2)
5) The Link to #1 in the Head
6) and the following code pasted into the desired 
		scrolling markee location in the Body of the Welcome page
DIV id="containerarea">
<SCRIPT LANGUAGE="JavaScript1.2" SRC="styMarkeeFadrScrolrEng.js"> </script>
</DIV
*/

/*  1) Configure messages:
AA This is the original, I want to use a random text file  */
/*
var TS_message = new Array();
	TS_message[0] = '<div align="left">Hello there</div>';
	TS_message[1] = '<div align="left">Wow... hope you like it!</div>';
	TS_message[2] = '<div align="left">Presented by <A HREF="http://dynamicdrive.com">Dynamicdrive.com</A></div>';
*/
/*AB This is the new Quote Randomizer
	This is the random quotes engine + Text
script language="JavaScript" src="styMarkeeFdSrclTextJS.js"></script 
*/

var howMany = 70;
var TS_message = new Array(howMany+1);
TS_message[0] = '<div align="center">I dream, therefore I exist.</div>';
TS_message[1] = '<div align="center">Society often forgives the criminal; it never forgives the dreamer.</div>';
TS_message[2] = '<div align="center">A friend to all is a friend to none.</div>';
TS_message[3] = '<div align="center">The calmest husbands make the stormiest wives.</div>';
TS_message[4] = '<div align="center">The shortest answer is doing.</div>';
TS_message[5] = '<div align="center">To talk without thinking is to shoot without aiming.</div>';
TS_message[6] = '<div align="center">A country can be judged by the quality of its proverbs.</div>';
TS_message[7] = '<div align="center">Marry a mountain girl and you marry the whole mountain.</div>';
TS_message[8] = '<div align="center">Life is a bridge. Cross over it, but build no house on it.</div>';
TS_message[9] = '<div align="center">The course of true love never did run smooth.</div>';
TS_message[10] = '<div align="center">Love is the function, No Form is the tool.</div>';
TS_message[11] = '<div align="center">Consciousness: that annoying time between naps.</div>';
TS_message[12] = '<div align="center">Very funny, Scotty, now beam down my clothes.</div>';
TS_message[13] = '<div align="center">Always remember that you are unique... just like everyone else.</div>';
TS_message[14] = '<div align="center">Make it idiot-proof... and someone will make a better idiot.</div>';
TS_message[15] = '<div align="center">Warning: Dates on calendars are closer than they appear!</div>';
TS_message[16] = '<div align="center">Give me ambiguity or give me something else.</div>';
TS_message[17] = '<div align="center">According to my calculations, the problem doesnt exist.</div>';
TS_message[18] = '<div align="center">Its lonely at the top... but you eat better.</div>';
TS_message[19] = '<div align="center">Time is the best teacher. Unfortunately it kills all of its students.</div>';
TS_message[20] = '<div align="center">I dont suffer from insanity; I enjoy every moment of it.</div>';
TS_message[21] = '<div align="center">Real women dont have hot flashes, they have power surges.</div>';
TS_message[22] = '<div align="center">Sometimes I wake up grumpy; other times I just let her sleep.</div>';
TS_message[23] = '<div align="center">Out of my mind... be back in five minutes.</div>';
TS_message[24] = '<div align="center">Time is what keeps everything from happening all at once.</div>';
TS_message[25] = '<div align="center">Change is inevitable, except from a vending machine.</div>';
TS_message[26] = '<div align="center">He who laughs last thinks slowest.</div>';
TS_message[27] = '<div align="center">We have enough youth. How about a fountain of smart?</div>';
TS_message[28] = '<div align="center">On the other hand... you have different fingers.</div>';
TS_message[29] = '<div align="center">Save the whales. Collect the whole set!</div>';
TS_message[30] = '<div align="center">I just got lost in thought. It was unfamiliar territory.</div>';
TS_message[31] = '<div align="center">Back up my hard drive?!! How do I put it in reverse?</div>';
TS_message[32] = '<div align="center">Nothing is fool-proof to a sufficiently talented fool.</div>';
TS_message[33] = '<div align="center">Despite the cost of living, have you noticed how it remains so popular?</div>';
TS_message[34] = '<div align="center">I wonder how much deeper the ocean would be without sponges.</div>';
TS_message[35] = '<div align="center">When the chips are down, the buffalo is empty.</div>';
TS_message[36] = '<div align="center">Everyone has a photographic memory. Not everyone has film.</div>';
TS_message[37] = '<div align="center">All generalizations are false.</div>';
TS_message[38] = '<div align="center">Love is the function, No Form is the tool.</div>';
TS_message[39] = '<div align="center">Love is the function, No Form is the tool.</div>';
TS_message[40] = '<div align="center">Auntie Em, &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Hate you. Hate Kansas. Taking the dog. Dorothy</div>';
TS_message[41] = '<div align="center">Give people more than they expect, and do it cheerfully.</div>';
TS_message[42] = '<div align="center">Dont believe all you hear, spend all you have, or sleep all you want.</div>';
TS_message[43] = '<div align="center">Believe in love at first sight.</div>';
TS_message[44] = '<div align="center">Never laugh at anyones dreams.</div>';
TS_message[45] = '<div align="center">Love deeply and passionately. You might get hurt, but its the only way to live life completely.</div>';
TS_message[46] = '<div align="center">In disagreements, fight fairly. No name calling.</div>';
TS_message[47] = '<div align="center">Dont judge people by their relatives.</div>';
TS_message[48] = '<div align="center">Talk slowly but think quickly.</div>';
TS_message[49] = '<div align="center">Remember that great love and great achievements involve great risk.</div>';
TS_message[50] = '<div align="center">Call your mom.</div>';
TS_message[51] = '<div align="center">When you lose, dont lose the lesson.</div>';
TS_message[52] = '<div align="center">Remember the three Rs: Respect for self; Respect for others; Responsibility for all your actions.</div>';
TS_message[53] = '<div align="center">Dont let a little dispute injure a great friendship.</div>';
TS_message[54] = '<div align="center">When you realize youve made a mistake, take immediate steps to correct it.</div>';
TS_message[55] = '<div align="center">Open your arms to change but dont let go of your values.</div>';
TS_message[56] = '<div align="center">Read more books and watch less TV.</div>';
TS_message[57] = '<div align="center">Live a good, honorable life. Then when you get older and think back, youll get to enjoy it a second time.</div>';
TS_message[58] = '<div align="center">Share your knowledge. Its a way to achieve immortality.</div>';
TS_message[59] = '<div align="center">Be gentle with the Earth.</div>';
TS_message[60] = '<div align="center">Never interrupt when you are being flattered.</div>';
TS_message[61] = '<div align="center">Dont trust a man/woman who doesnt close his/her eyes when you kiss.</div>';
TS_message[62] = '<div align="center">Once a year, go someplace youve never been before.</div>';
TS_message[63] = '<div align="center">If you make a lot of money, put it to use helping others while you are living. That is wealths greatest satisfaction.</div>';
TS_message[64] = '<div align="center">Remember that not getting what you want is sometimes a stroke of luck.</div>';
TS_message[65] = '<div align="center">Learn the rules, then break some.</div>';
TS_message[66] = '<div align="center">Remember that the best relationship is one where your love for each other is greater than your need for each other.</div>';
TS_message[67] = '<div align="center">Judge your success by what you had to give up in order to get it.</div>';
TS_message[68] = '<div align="center">Remember that your character is your destiny.</div>';
TS_message[69] = '<div align="center">Approach love and cooking with reckless abandon.</div>';
TS_message[70] = '<div align="center">Theres a fine line between fishing and standing on the shore like an idiot.</div>';

/*
function rndnumber(){
var randscript = -1;
while (randscript < 0 || randscript > howMany || isNaN(randscript)){
randscript = parseInt(Math.random()*(howMany+1));
}
return randscript;
}

quo = rndnumber();
TS_message = new Array()
	TS_message[quo] = quote[quo];

TS_curMsg = rndnumber();
TS_message = TS_message[TS_curMsg];

//original......
quo = rndnumber();
quox = quote[quo];
document.write(quox);
*/


//2) Configure fader width and colors:
	var TS_scrollwidth=520;      //configure fader width
	var TS_colorFG = 0xFF0000;	// Text color  (ff0000=red)
	var TS_colorBG = 0xf5f5dc;  //bgColor default-00FF00 f5f5dc-yellowmatch

    // uncomment any value you wanted to change
	var TS_ymax    = 25;   // How many pixel to move
	var TS_ystep   = -1;   // 1 or -1 only (Scroll direction)
	var TS_speed   = 300;   // The smaller the value the faster
	var TS_pause   = 1960; // Pause time(milisecond) between messages
	var TS_fadestep= 20; // Steps to fade in and out

if (document.all)
document.write('<style>#containerarea{width:'+TS_scrollwidth+'}</style>')

