function lite(obj) {
	if(document.all&&!window.opera) {
		obj.filters.blendTrans.apply(); 
		obj.filters.blendTrans.play(); 
	} 
}

var domainroot="sife.cba.ksu.edu"

function Gsitesearch(curobj){
	curobj.q.value="site:"+domainroot+" "+curobj.qfront.value
}

function displayquote() {
	 /*function MakeArray(n) { 
		 this.length = n; 
		 for (var i = 1; i <= n; i++) { 
				 this[i] = 0; }
			 return this; 
	 }*/
	 //quotes = new MakeArray(100);
	 var quotes = new Array(100);
	 numquotes = 71;  // Make this the number of quotes you have.

	 quotes[0] = "\"There are no shadows when you're looking at the sun. ~ Helen Keller\""
	 quotes[1] = "\"After all is said and done, there's more said than done.\""
	 quotes[2] = "\"Do not mistake activity for achievement.\""
	 quotes[3] = "\"If God simply handed us everything we wanted, He would be taking from us our greatest prize-the joy of achievement.\""
	 quotes[4] = "\"There is no limit to what can be accomplished if it doesn't matter who gets the credit. ~ Ralph Waldo Emerson\""
	 quotes[5] = "\"Everyday you write your own paycheck.\""
	 quotes[6] = "\"He who wants to make a place in the sun should expect to get blisters.\""
	 quotes[7] = "\"Some people dream of worthy achievement, while others stay awake and experience it.\""
	 quotes[8] = "\"He started to sing as he tackled the thing that couldn't be done, and he did it. ~ Edgar Guest\""
	 quotes[9] = "\"You can tell when you're on the right road...it's uphill.\""
	 quotes[10] = "\"It doesn't do a person any good to sit up and take notice if he keeps on sitting.\""
	 quotes[11] = "\"He who is waiting for something to turn up might start with his own shirtsleeves.\""
	 quotes[12] = "\"Between saying and doing, many pair of shoes is worn out. ~ Italian proverb\""
	 quotes[13] = "\"Talk is cheap - do something!\""
	 quotes[14] = "\"People may doubt what you say, but they'll always believe what you do.\""
	 quotes[15] = "\"Do something.  Either lead, follow, or get out of the way. ~ Ted Turner\""
	 quotes[16] = "\"Long-range goals keep you from being frustrated by short-term failures.\""
	 quotes[17] = "\"Action should not be confused with haste. ~ Lee Iacocca\""
	 quotes[18] = "\"Many have the right aim in life, but they never get around to pulling the trigger.\""
	 quotes[19] = "\"Even if you're on the right track, you'll get run over if you just sit there. ~ Will Rogers\""
	 quotes[20] = "\"Little drops of water wear down big stones. ~ Russian proverb\""
	 quotes[21] = "\"Graduation from the university of adversity will help prepare a man for a life of diversity.\""
	 quotes[22] = "\"Adversity introduces a man to himself.\""
	 quotes[23] = "\"Advising a fool is like beating the air with a stick.\""
	 quotes[24] = "\"There's no point in carrying the ball unless you know where the goal is.\""
	 quotes[25] = "\"If at first you don't succeed, skydiving is not for you.\""
	 quotes[26] = "\"Life is a grindstone.  But whether it grinds us down or polishes us up depends on us. ~ L. Thomas Holdcroft\""
	 quotes[27] = "\"You can have everything in life you want, if you will just help enough other people get what they want. ~ Zig Ziglar\""
	 quotes[28] = "\"Being cheerful keeps you healthy. ~ King Soloman\""
	 quotes[29] = "\"If you go out looking for friends, you're going to find they're very scarce.  If you go out looking to be a friend, you'll find them everywhere.\""
	 quotes[30] = "\"Ask yourself a question: Is my attitude worth catching?\""
	 quotes[31] = "\"It's your attitude and not your aptitude that determines your altitude in life.\""
	 quotes[32] = "\"Discouraged?  Just Remember that the darkest night couldn't turn out all the stars.\""
	 quotes[33] = "\"Remember, failure is an event - not a person.\""
	 quotes[34] = "\"If you learn from defeat, you haven't really lost.\""
	 quotes[35] = "\"How you get up in the morning will play a big part in how high you go up in life.\""
	 quotes[36] = "\"If there's hope in the future there is power in the present. ~ John Maxwell\""
	 quotes[37] = "\"I'm super good, but I'll get better.\""
	 quotes[38] = "\"You already have every characteristic necessary for success.\""
	 quotes[39] = "\"Regardless of your past, your future is a clean slate.\""
	 quotes[40] = "\"Expect the best, prepare for the worst.  Capitalize on what comes.\""
	 quotes[41] = "\"Of all the things you wear, your expression is the most important. ~ Janet Lane\""
	 quotes[42] = "\"The surest way to knock the chip off the shoulder is a pat on the back.\""
	 quotes[43] = "\"If things go wrong, don't go with them. ~ Roger Babson\""
	 quotes[44] = "\"Happiness is not something you find, but rather something you create.\""
	 quotes[45] = "\"Whether you think you can or can't - you are right.\""
	 quotes[46] = "\"Its not the situation…it's your reaction to the situation.\""
	 quotes[47] = "\"There is nothing either good or bad, but thinking makes it so. ~ William Shakespeare\""
	 quotes[48] = "\"When your image improves, your performance improves.\""
	 quotes[49] = "\"When your confidence goes up, your competence goes up at the same time.\""
	 quotes[50] = "\"You will make a lousy anybody else, but you are the best YOU in existence.\""
	 quotes[51] = "\"One reason people never attempt new things is their fear of failure.\""
	 quotes[52] = "\"Many times our weaknesses are extensions of our strengths.\""
	 quotes[53] = "\"The biggest failure of all is the person that never tries. ~ Dr. Larry Kimsey\""
	 quotes[54] = "\"No one can make you feel inferior without your permission.\""
	 quotes[55] = "\"Be not deceived, evil companions corrupt good morals. ~ 1 Corinthians 15:33\""
	 quotes[56] = "\"No one is useless in this world who lightens the burden of it to anyone else. ~ Charles Dickens\""
	 quotes[57] = "\"Success occurs when opportunity meets preparation.\""
	 quotes[58] = "\"You gotta be before you can do, and you've gotta do before you can have. ~ Zig Ziglar\""
	 quotes[59] = "\"Every job is a self-portrait of the person who did it.\""
	 quotes[60] = "\"Positive thinking is the hope that you can move mountains. Positive believing is the same hope but with a reason for believing you can do it.\""
	 quotes[61] = "\"A good, firm handshake is essential to the development of a personality.\""
	 quotes[62] = "\"If you will set the example, you won't need to set many rules.\""
	 quotes[63] = "\"Conceit is a weird disease. It makes everybody sick except the one who's got it.\""
	 quotes[64] = "\"Opportunity lies in the man and not in the job.\""
	 quotes[65] = "\"What you get by reaching your destination isn't nearly as important as what you become by reaching that destination.\""
	 quotes[66] = "\"You must begin to think of yourself as becoming the person you want to be. ~ David Viscott\""
	 quotes[67] = "\"To improve your self-image, do something for someone else.\""
	 quotes[68] = "\"Some people are so heavenly minded, they're no earthly good.\""
	 quotes[69] = "\"Character may be manifested in the great moments, but it is made in the small ones.\""
	 quotes[70] = "\"If you do the things you need to do when you need to do them, then someday you can do the things you want to do when you want to do them. ~ Zig Ziglar\""
 
	 var now = new Date();
	 var sec = now.getSeconds();

	 document.getElementById("quotes").innerHTML=quotes[sec % numquotes];
}

//Server Date
function date() {
	try {
	   //Firefox, Opera 8.0+, Safari
	   xmlHttp = new XMLHttpRequest();
	}
	catch (e1) {
	   //Internet Explorer
	   try {
		  xmlHttp = new ActiveXObject('Msxml2.XMLHTTP');
	   } 
	   catch (e2) {
		  try {
			 xmlHttp = new ActiveXObject('Microsoft.XMLHTTP');
		  } 
		  catch (e3) {
			 //AJAX not supported
		     return new Date();
		  }
	   }
	}
	xmlHttp.open("GET","http://www.ksu.edu/getTime/index.html",false);
	xmlHttp.send('');
	var iso = xmlHttp.responseText; //in iso8601 format yyyymmddThhmmss

	year = iso.substring(0,4);
	mon = iso.substring(4,6)-1;
	day = iso.substring(6,8);
	hour = iso.substring(9,11);
	min = iso.substring(11,13);
	sec = iso.substring(13,15);

	return new Date(year,mon,day,hour,min,sec);
}


