

var $j = jQuery.noConflict();

$j.fn.center = function () {
    this.css("position","absolute");
    this.css("top", (($j(window).height() - this.outerHeight()) / 2) + $j(window).scrollTop() + "px");
    this.css("left", (($j(window).width() - this.outerWidth()) / 2) + $j(window).scrollLeft() + "px");
    return this;
}

$j(document).ready(function() {
	
	
	$j('a[title$="parent"]').parent().addClass('parent');
	
	$j('.bloglist').delay(200).css({opacity: 0, visibility: "visible"}).animate({opacity: 1.0},'slow');
	
	$j('.bloglist').center();
	$j(window).resize(function() {
  		$j('.bloglist').center();
	});
	$j('#footer').css({'position' : 'fixed', 'bottom' : '0px', 'right' : '0px'})
	
	$j('.bloglist ul li.parent').hover(function(){
		$j(this).find('ul').show();
	}, function(){
		$j(this).find('ul').hide();
	})
});
