$(document).ready(function(){
	$('.display').hide();
	$('#auctions').hide();
	if($('#gacounter').size()>0){
		$('#gacounter').load('http://mechadock.com/gacounter.php?gaid=24332811');
	}
	
	set_acc();
});

$(function () {
    $("#auctions").fadeIn("slow");
    $(".display").fadeIn("slow");
    /*
    $("#auctions").fadeOut("fast", function() {
        $(this).fadeIn("fast");
    });
    $(".display").fadeOut("fast", function() {
        $(this).fadeIn("fast");
    });
    */
    /*
    $("a.switch_thumb").toggle(
       function(){
          $(this).removeClass("swap");
          $("ul.display").fadeOut("fast", function() {
             $(this).fadeIn("fast").removeClass("thumb_view");
          });
       },
       function(){
          $(this).addClass("swap"); 
          $("ul.display").fadeOut("fast", function() {
             $(this).fadeIn("fast").addClass("thumb_view"); 
          });
       }
     );
     */
 });

var toggleAuctionBox = function(){
	$('#contents').css("margin-right","252px");
	$('.alist').toggle('slow', function(){
		if($('.alist').css('display')=='none'){
			$('#contents').css("margin-right","0px");
		}
	});
}
