jQuery(document).ready(function($){ // START


jQuery('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');}});
});


jQuery('.fade').hover(
  function() {$(this).fadeTo("medium", 0.7);},
  function() {$(this).fadeTo("medium", 1);}
);


jQuery('#wrap, .post .post-warning, .post .post-question, .post .post-disclaim ').corner('10px');
jQuery('.commentlist li, .post-footer').corner('5px');
jQuery('a#cancel-comment-reply-link, a.comment-reply-link').corner('3px');

}); // END



function showVideo(id) {
document.write("<div class=\"centered\">");
document.write("<object width=\"425\" height=\"325\">");
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=\"425\" height=\"325\"></embed></object>");
document.write("</div>");
}
