
	$(function(){	// shorthand for $(document).ready() BTW
        /*
		$('div.demo').each(function() {
			// The text of the paragraphs in the rounded divs is also the
			// jQuery code needed to create that effect. Cosmic.
             eval($('p', this).text());
        });
        $('#main p').wrap("<code></code>");
		*/
        $("div.rounded").corner("round 7px");
		
		
		$('#nav a')
		.css( {backgroundPosition: "0 0"} )
		.mouseover(function(){
			$(this).stop().animate(
				{backgroundPosition:"(0 -70px)"}, 
				{duration:500})
			})
		.mouseout(function(){
			$(this).stop().animate(
				{backgroundPosition:"(0 0)"}, 
				{duration:500})
			})
		
	});
	
	
	

