$(function(){$('#wordoftheday').click(function(){$('.gadget ').slideToggle();});$('#slideshow').cycle({fx:'fade',random:1,speed:500,timeout:8000,pause:1,pager:'#nav'});$('#slideshow2').cycle({random:1,fx:'scrollUp',timeout:10000});$('#onsite').click(function(){$('#list').slideToggle();});$('#course').click(function(){$('#list2').slideToggle();});$("ul.tabs").tabs("div.panes > div",{effect:'fade'});if($.cookie('username1')){$('#log').hide();$('#logoutbox').show();}else{$('#logoutbox').hide();}
$('#logout').click(function(){$.cookie('username1','',{expires:-1});$.ajax({url:"/loginout.aspx",data:"sendto=home.html",success:function(){alert("Your logout was successful");location.href="/home.html";}});});var numLow=1;var numHigh=8;var adjustedHigh=(parseFloat(numHigh)-parseFloat(numLow))+1;var numRand=Math.floor(Math.random()*adjustedHigh)+parseFloat(numLow);$('#art'+numRand).show();});function normal(id,value){if(value==""){document.getElementById(id).value=id;}}
function active(id,value){if(value==id){document.getElementById(id).value="";}} 
