/* Sitewide Effects (requires jQuery) *//* by White Whale Web Services for Kenyon College */$(document).ready(function() { // document onload actions	resize();});$(window).resize(resize); // when the window is resized, run resize();function resize() { // actions to perform when the window is resized	var width=$(window).width(), height=$(window).height();	//$('#wordmark_small').remove();	$('#search').removeClass('inline'); 	if (width<900) 	{		$('.twocolumns').addClass('combined');		if($('#container').width()>=940) 		{			$('#container').css('width','100%'); // if the browser doesn't respect #container's max-width		}		$('#content').css('width', ($('#container').width()-40)+'px');		$('#bodytext').css('width',($('#content').width()-320)+'px');		$('.combined').css('width',($('#content').width()-320)+'px');		$('.twocolumns').css('width',($('#content').width()-320)+'px');	} 	else if (width>=900) 	{		$('.twocolumns').removeClass('combined');		if($('#container').width()>940)		{			$('#container').css('width','900px'); // if the browser doesn't respect #container's max-width		}		$('#content').css('width', '');		$('#bodytext').css('width', '');		$('.twocolumns').css('width', '580px');	}	if(height<=430) 	{		//$('#container').prepend('<img src="images/wordmark_small.png" width="169" height="26" alt="Kenyon College" id="wordmark_small" />');	}	if($('#navigation').width()>$('#container').width()-$('#search').width()) 	{		$('#navigation').css('margin-top','2.5em');		$('#search').addClass('inline');		$('#wordmark_small').css('float','left');	}	else	{		$('#navigation').css('margin-top','0');	}	}function showquickaccess(){	identity=document.getElementById('qa_container');	identity.className='qa_show';}