jQuery(document).ready(function($){
$('input[title], textarea[title]').each(function() {if($(this).val() === '') {$(this).val($(this).attr('title'));}
  $(this).focus(function() {if($(this).val() == $(this).attr('title')) {$(this).val('').addClass('focused');	}});
  $(this).blur(function() {if($(this).val() === '') {$(this).val($(this).attr('title')).removeClass('focused');}});
});
}); // END

jQuery(document).ready(function($){
$('.fade').hover(
  function() {$(this).fadeTo("fast", 0.7);},
  function() {$(this).fadeTo("fast", 1);}
);
}); // END

function showVideo(id) {
document.write("<div class=\"centered\">");
document.write("<object width=\"360\" height=\"220\">");
document.write("<param name=\"movie\" value=\"http://www.youtube.com/v/"+id+">&amp;hl=en&amp;fs=1\"></param>");
document.write("<param name=\"allowFullScreen\" value=\"true\"></param><param name=\"allowscriptaccess\" value=\"always\"></param>");
document.write("<embed src=\"http://www.youtube.com/v/"+id+"&amp;hl=en&amp;fs=1\" type=\"application/x-shockwave-flash\" allowscriptaccess=\"always\" allowfullscreen=\"true\" width=\"360\" height=\"220\"></embed></object>");
document.write("</div>");
}

jQuery(document).ready(function($){
$('ul.pagination a, ul.pagination .current-page').corner();
$('.comment-reply-link, #cancel-comment-reply-link').corner('3px');
$('.post-footer, .commentlist li, .post .post-button, .post .post-warning, .post .post-question, .post .post-disclaim').corner('5px');
}); // END




Cufon.replace('.footer-block h4, .content-left h4', {fontFamily: 'futura'});
Cufon.replace('.sidebox h3', {fontFamily: 'nevis'});
Cufon.replace('.header-title, #menu a', {fontFamily: 'Franklin Gothic'});
