$(document).ready(function(){
            
            $("#nav-home a").blend({pulse:true});
            $("#nav-website a").blend({pulse:true});
            $("#nav-writing a").blend({pulse:true});
            $("#nav-blog a").blend({pulse:true});
            $("#nav-contact a").blend({pulse:true});
            $("#nav-RSS a").blend({pulse:true});            
            
        });


 jQuery(document).ready(
      function() {
            $.reject({
                reject: {
                	msie5: true, //Internet Explorer 5
                	msie6: true, //Internet Explorer 6
                    safari: false, // Apple Safari
                    chrome: false, // Google Chrome
                    firefox: false, // Mozilla Firefox
                    opera: false, // Opera
                    konqueror: false, // Konqueror (Linux)
                    unknown: false // Everything else
                }
            }); // Customized Browsers
            
            return false;
        });

//Anonymous function that is applied to all internal-links
var jump=function(e)
{
       //prevent the "normal" behaviour which would be a "hard" jump
       e.preventDefault();
       //Get the target
       var target = $(this).attr("href");
       //perform animated scrolling
       $('html,body').animate(
       {
               //get top-position of target-element and set it as scroll target
               scrollTop: $(target).offset().top
       //scrolldelay: 2 seconds
       },2000,function()
       {
               //attach the hash (#jumptarget) to the pageurl
               location.hash = target;
       });

}

$(document).ready(function()
{
       $('a[href$=#footer]').bind("click", jump);
       $('a[href$=#who_bg]').bind("click", jump);
       $('a[href$=#write]').bind("click", jump);
       $('a[href$=#headfill]').bind("click", jump);
       return false;
});


function clearDefault(el) {
  if (el.defaultValue==el.value) el.value = ""
}

Cufon.now();
