// The following will run as soon as the page is loaded and the DOM is ready, but images might still be loading.
$(function(){
	 
// this control sets up and inititiates the dropdown menu at the top
$("ul#topnav").superfish({animation : {opacity:"show",height:"show"},delay : 300});  
		
// this is used to apply a class 'wbg' to all even items in the ul on index3.html. it makes the left side items slightly wider to allow for the background graphic to sit more flush in the middle.
$('.list_for li:even').addClass('wbg');
$('#left h1').corner({
			  tl: { radius: 7 },
			  tr: { radius: 7 },
			  bl: { radius: 7 },
			  br: { radius: 7 },
			  antiAlias: true,
			  autoPad: false
		 });
$('#panel').corner();
$('#left h2').corner({
			  tl: { radius: 7 },
			  tr: { radius: 7 },
			  bl: false,
			  br: false,
			  antiAlias: true,
			  autoPad: false
		 });

});

