$(document).ready(function()
{
	$('#searchform input').click(toggleSearchInput);
	$('.blogPost .post-content a img').each(removeUnderline);
	
	
	function toggleSearchInput(event)
	{
		if($(event.target).val() == 'Suchbegriff')
		{
			$(event.target).val('');
		}
	}
	
	function removeUnderline()
	{
		$(this).parent().css({border: 'none'});
	}
	
	$('a.new-window').click(
		function()
		{
			window.open(this.href);
	    	return false;
		}
	);
});

