(function($) {
  $.fn.toggleFade = function(settings)
  {
  	settings = jQuery.extend(
  		{
        speedIn: "normal",
        speedOut: settings.speedIn
  		}, settings
  	);
  	return this.each(function()
  	{
  	  var isHidden = jQuery(this).is(":hidden");
      jQuery(this)[ isHidden ? "fadeIn" : "fadeOut" ]( isHidden ? settings.speedIn : settings.speedOut);
    });
  };
})(jQuery);




$(function(){
$('a:first', '#loginbox').click(function(){
	$('#loginbox').fadeOut('fast');
	return false;
});

$('a#loginlink', '#header').click(function(){
	$('#loginbox').toggle();
	return false;
});








try{$(document).pngFix(); }catch(Ex){}


});

