jQuery(document).ready(function() {
	
	jQuery("#scrollLeft").hover(
      function () {
        jQuery("#scrollLeft").attr("src","http://today.ttu.edu/wp-content/themes/ttunews/images/scroll-left-on.gif");
      }, 
      function () {
        jQuery("#scrollLeft").attr("src","http://today.ttu.edu/wp-content/themes/ttunews/images/scroll-left-off.gif");
      }
	);

	jQuery("#scrollRight").hover(
      function () {
        jQuery("#scrollRight").attr("src","http://today.ttu.edu/wp-content/themes/ttunews/images/scroll-right-on.gif");
      },
      function () {
        jQuery("#scrollRight").attr("src","http://today.ttu.edu/wp-content/themes/ttunews/images/scroll-right-off.gif");
      }
	);

	jQuery("#latest").click(function () {
      jQuery("#latest-headlines").show();
		jQuery(".wppp_list").hide();
		jQuery("#latest h5").css("background","#cc0000");
		jQuery("#popular h5").css("background","#990000");
		return false;
    });
	jQuery("#popular").click(function () { 
      jQuery("#latest-headlines").hide();
		jQuery(".wppp_list").show();
		jQuery("#popular h5").css("background","#cc0000");
		jQuery("#latest h5").css("background","#990000");
		return false;
    });


	jQuery("#increaseFont").click(function () {
		jQuery("#content p").css("font-size","14px");
		jQuery("#content li").css("font-size","14px");
	});
	jQuery("#decreaseFont").click(function () {
		jQuery("#content p").css("font-size","11px");
		jQuery("#content li").css("font-size","11px");
	});

});

<!--//--><![CDATA[//><!--

// based on script from shauninman.com

function formInitialValues() {
	d = document;
	if (d.getElementById) {
		theInput = d.getElementById("s");
		theInput.defaultValue = theInput.value;
		theInput.onfocus = clearInitialValues
		theInput.onblur = resetInitialValues
	}
}
function clearInitialValues() {
	if (this.value == this.defaultValue) {
		this.value = "";
		}
	}
function resetInitialValues() {
	if (this.value == "") {
		this.value = this.defaultValue;
		}
	this.blur();
	}



start = function() {
	startList("globalNav");
}
function startList(id) {
		navLI = document.getElementById(id).getElementsByTagName("LI");
		for (i=0; i<navLI.length; i++) {
			node = navLI[i];
			node.onmouseover=function() {
				this.className+="over";
			}
			node.onmouseout=function() {
				this.className=this.className.replace("over", "");
			}	
}	}

// load everything up

function addLoadEvent(func) {
  var oldonload = window.onload;
  if (typeof window.onload != 'function') {
    window.onload = func;
  } else {
    window.onload = function() {
      if (oldonload) {
        oldonload();
      }
      func();
    }
  }
}

addLoadEvent(formInitialValues);
addLoadEvent(start);

//--><!]]>