/*
File: ca06.js
This file contains javascript functionality for the Conceptual Advantage 06 Wordpress Theme

Section:	Version History
23/04/2009 (DJO) - Created File
*/

// configure addthis settings
var addthis_pub="doehlman";
var addthis_options="delicious, digg, stumbleupon, twitter, slashdot, reddit, technorati, google, favorites, more";

$(document).ready(function() {
	// add the onclick event to go-to the home page 
	$("#header").click(function() {
		window.location = $(this).find("#logo a").attr("href");
	});

	// display the citations in the correct location
	$("cite.fn").each(function() {
		$(this).parent().parent().find(".comment-meta").append("<div class='comment-authorname'>" + $(this).text() + "</div>");
	});
	
	// enable the bookmarklets
	$("#bookmarklets").bookmarklets();
});