 $(document).ready(function(){
    $("a.fotolog-img, .fotolist li a").mouseover(function () {
      $(this).fadeTo("fast", 0.85);}).mouseout(function(){ 
	  $(this).fadeTo("fast", 1);
	});

	$(".post .entry p:has(img.addbg)").addClass("imgbg");

	$(".tabbox .tabs span:first").addClass("current");
	$(".tabbox ul:not(:first)").hide();
	$(".tabbox .tabs span").hover(function(){
	$(".tabbox .tabs span").removeClass("current");
	$(this).addClass("current");
	$(".tabbox ul").hide();
	$("."+$(this).attr("id")).fadeIn("slow");
	});
});

$("img").each(function(i){
var src = $(this).attr("src");
if( src.indexOf('ggpht')!=-1 ){
$(this).attr('src','http://motun.net/picsa/readimg.php?src='+src.replace('ggpht','gouride') );
}
});

$(".commentlist li").hover(function() {
		$(this).find(".atreply").show();
	}, function() {
		$(this).find(".atreply").hide();
	}); 

$(document).ready(function() { 
	$("a").each(function() {
		var ionFocus = $(this).attr("onFocus");
		if (ionFocus == null) {
			$(this).attr("onFocus", "this.blur();");
		}
		else {
			$(this).attr("onFocus", ionFocus + ";this.blur();");
		}
			$(this).attr("hideFocus", "hidefocus");
		});
});