<!-- HIDE FROM OTHERSfunction checkSwitch(){		var formObj = document.getElementById("searchForm");	for(var i= 0; (i <= formObj.searchSwitch.length - 1); i++){		if(formObj.searchSwitch[i].checked){			if(formObj.searchSwitch[i].value == "uw"){				formObj.hq.value = "inurl:www.washington.edu/"				$("#uwGradSchoolSearch").attr('id','searchq');				$("#searchForm").attr('action','http://www.google.com/u/washington');				}			if(formObj.searchSwitch[i].value == "grad"){				formObj.hq.value = "inurl:www.grad.washington.edu/"				$("#searchq").attr('id','uwGradSchoolSearch');				$("#searchForm").attr('action','http://www.google.com/u/UniversityofWashington');				}			}		}	}/* QUICKLINKS UL UL SLIDEDOWNS */function qlToggle(pItem){          var myItem = document.getElementById(pItem);          if((myItem.style.display == "none") || (myItem.style.display == "null")){     	myItem.style.display = "block";     	}     else{     	myItem.style.display = "none";     	}     }// FOR CALENDAR	function doSlide(thatOne){  if($("#" + thatOne).is(":hidden")) {		$("#" + thatOne).slideDown("slow");	}  else{	$("#" + thatOne).slideUp("slow");  }	}$(document).ready(function(){   $(".info").hide();});function getDateFellowship(month){	if($("div.info p.date:contains(" + month + ")").closest("div").is(":visible")){		$("div.info p.date:contains(" + month + ")").closest("div").slideUp("slow");		}	else{		$(".info").hide();		$("div.info p.date:contains(" + month + ")").closest("div").slideDown("slow");		$("div.info p.date:contains(" + month + ")").css("color","red");		}	}// For alternating table rows $(function() {              $("table tr:nth-child(even)").addClass("striped");             });// Add .last class to certain lists$(document).ready(function(){	$("ul.CLASSNAME li:last").addClass("last");	});	//--><![CDATA[//><!--			$(document).ready(function() {				$("#twitter").getTwitter({					userName: "UWGradSchool",					numTweets: 2,					loaderText: "Loading tweets...",					slideIn: true,					showHeading: true,					headingText: "Latest Tweets",					showProfileLink: true				});			});		//--><!]]>		// Feature rotator		$(document).ready(function() {	$('#feature').after('<div id="pager">') 	.cycle({     fx:    'fade',     speed:  1800,	timeout: 5500,	pause: 1,	pager:  '#pager' });	 });			// Events filter$(document).ready(function(){	//when a link in the filters div is clicked...	$('#filters a').click(function(e){		//prevent the default behaviour of the link		e.preventDefault();		//get the id of the clicked link(which is equal to classes of our content		var filter = $(this).attr('id');		//show all the list items(this is needed to get the hidden ones shown)		$('.eventsList dt, .eventsList dd').show();		/*using the :not attribute and the filter class in it we are selecting		only the list items that don't have that class and hide them '*/		$('.eventsList dt:not(.' + filter + ')').hide();				/*using the :not attribute and the filter class in it we are selecting		only the list items that don't have that class and hide them '*/		$('.eventsList dd:not(.' + filter + ')').hide();	});});// Events display only three items$(function(){	// create list item for	// link that shows hidden 	// list items	$('<li />')	// creat anchor	.append('<a />')	// select anchor	.children('a')	// set href	.attr('href','#')	// set text	.text('Display All')	// add click function	.click(function(){		  // show all hidden elements		  $(this).parent().parent().children(':hidden').show();		  // remove this list item		  $(this).parent().remove();	})	// select li	.parent()	// insert after 10th list item in ul	.insertAfter('ul#events li:eq(3)')	// get back to ul	.parent()	// hide all list items with an	// index higher than 10 because	// the 10th index is the new li we 	// created	.children('li:gt(4)').hide();});// -->
