﻿        // http://wiki.github.com/sorccu/cufon/styling
        Cufon.set('fontFamily', 'scala-sans');
        Cufon.replace('h1');
        Cufon.replace('h2');
        Cufon.replace('h3');
        Cufon.replace('#highlights');
        Cufon.replace('.aos');
        Cufon.replace('#footer h6');
        Cufon.set('fontFamily', 'scala-sans-black');
        Cufon.replace('h5');

        $(document).ready(function () {
            // Adds rollovers to Stories subnav
            $(function () {
                $(".tout-areas-of-study dl")
				    .mouseover(function () {
				        $(this).addClass("rollover");
				    })
				    .mouseout(function () {
				        $(this).removeClass("rollover");
				    })
                $(".tout-areas-of-study dl").click(function () {
                    window.location = $(this).find("a").attr("href"); return false;
                });
            });

	    $("form").keypress(function(e){
		if (e.which == 13) 
		{
	            var tagName = e.target.tagName.toLowerCase(); 
		    if (tagName !== "textarea") 
		    {
           		return false;
       		    }
   		}
	    });


        });
