window.onload = initialize;
	
var blogroll, content, contentHTML, blogrollHTML;

function initialize()
{
	// Get references
	blogroll = document.getElementById('blogroll');
	content = document.getElementById('content');
	
	// Save content
	contentHTML = content.innerHTML;
	blogrollHTML = blogroll.innerHTML;
	
	// Add link
	blogroll.innerHTML = "<p><a href='#' onclick='showBlogroll()'><img src='http://www.stillthinkinghq.com/clients/spunky/images/blogroll.png' border='0' /></a></p>";
}

function showBlogroll()
{
	// Replace the content with the blogroll.
	content.innerHTML = "<p><a href='#' onclick='hideBlogroll()'><< Go back to the blog</a></p>" + blogrollHTML;
	
	// Hide the show blogroll link.
	blogroll.style.display = "none";
}

function hideBlogroll()
{
	// Restore the content
	content.innerHTML = contentHTML;
	blogroll.style.display = "block";
}