$(function(){
	
	/* Main Prize Image */
	/*
	$("#prizeImageAltList li img").click(function(){
		$("#imgProdMain").attr("src", this.src.replace("thumb", "large"));
	});
	*/
	
	/* Bid Box */
	$("#bidArea .txtBidAmount").autotab({format: "numeric"});
	
	/* Bid Hint */	
	$(".bidBox .tt").Tooltip({
		track: true,
		delay: 0,
		showURL: false,
		opacity: 1,
		fixPNG: true,
		showBody: " - ",
		extraClass: "fancysmall",
		top: -15,
		left: 5
	});
	
	
	
	
	/* Winner Tips 
	$("#ajaxActicityTip").hide();

	// On Load
	getWinnerTip();
	// On Click
	$("#navNext").click(function(){
		getWinnerTip();
	});
	*/
	
});


function getWinnerTip()
{
	$.ajax({
		type: "POST",
		url: "/service/ws/prizes.asmx/GetWinnersTips",
		dataType: "xml",
		beforeSend: function(){
			$("#ajaxActicityTip").fadeIn();
		},
		complete: function(){
			$("#ajaxActicityTip").fadeOut();
		},
		success: function(msg){
			$("#winnerTips p").html($(msg).find("string").text());
		}
	});
}


