/**
 * Streamlined jQuery plugin
 * Author: Eric A. (eric@two2twelve.com)
 * Website: http://from.two2twelve.com
 * v0.1 beta
 */
eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('(3($){q 0={1:"f#r",4:"f#4",5:"g"};$.s=3(h){$.t(0,h);b(0.5=="g"){6="c";7="u"}v b(0.5=="w"){6="i";7="i"}b(0.5=="x"){6="c";7="c"}$(0.4+" 2 a").y(3(){$(j).z(3(){k(j.A.B,6,7)})});$(0.1+" 2:d").l();$(0.1+" 2:d").8(\'9\');$(0.4+" 2:d").8(\'e\')};k=3(1,6,7){$(0.1+" 2.9").C(0.5,{m:6,D:3(){$(0.1+" 2#"+1+"n").l(0.5,{m:7},"o")}},"o");$(0.1+" 2").p(\'9\');$(0.1+" 2#"+1+"n").8(\'9\');$(0.4+" 2").p(\'e\');$(0.4+\' 2#\'+1).8(\'e\')}})(E);',41,41,'settings|container|li|function|nav|effect|effect_up|effect_down|addClass|selected||if|up|first|active|ul|slide|userSettings|vertical|this|setActive|show|direction|_content|normal|removeClass|var|content|activateStreamline|extend|down|else|blind|drop|each|click|parentNode|id|hide|callback|jQuery'.split('|'),0,{}))

$(function() {
    $('a#send').click(function() {

        var name = $('input#name').val();
        var email = $('input#email').val();
        var comments = $('textarea#comments').val();

        $.ajax({
            type: 'post',
            url: 'scripts/sendEmail.php',
            data: 'name=' + name + '&email=' + email + '&comments=' + comments,

            success: function(results) {
                $('ul#response').html(results);
            }
        }); // end ajax
    });
});