

jQuery(document).ready(function(){

	// spam proof

    jQuery('a[href^=mailto:]').each(function() {

        var link = jQuery(this).attr('href');

        var matches = link.match(/(\w*)-at-dot(\w*)after(\w*)$/);

        jQuery(this).attr('href', 'mailto:'+matches[1]+'@'+matches[3]+'.'+matches[2]);

    });

	



	// jump to commentbox on quote

	jQuery('a.comment_quote_link').click(function(){

		location.href= '#respond';

	});

	



});



// Cufon
Cufon.replace('h2.pagehead, #body h1, .peoplelist h2, h2, p.thanksto, #subnav li.current_page_item, #subnav li.current_page_parent, #subnav li.current_page_ancestor, #subnav li.page_item, #subsubnav li.current_page_item, #subsubnav li.page_item, .sarge-bubble p, h3', {
	hover: true
});















function toggle(element) {
	jQuery(element).css('display', jQuery(element).css('display') == 'none' ? '' : 'none');

}

function hide(element) {

	jQuery(element).css('display', 'none');
}









