/*

	13twelve vs. jQuery

	This javascript is the main javascript for the sites actions.
	
*/

// --------------------------------------------------------------------------------------------------------------

var sustainability_error = function(){
    function replaceFonts() {
        Cufon.replace('.fR1', { fontFamily: 'Sabon Cufon', hover: true });
    }
    function defaultValues() {
        // take off the default values in the sitewide search
        var $this = $('input[type="text"]:first')
        var initVal = $this.val();
    	//
    	$this.focus(function(){
    	    $this.val("");
    	});
        $this.blur(function(){
    	    if ($this.val() == "") {
    			$this.val(initVal);
    		}
    	});        
    }
    $(document).ready(function(){
        replaceFonts();
        defaultValues();
    });
}();


