function yellowiseButtonsIe6() {
	$('input[type="button"],input[type="submit"],input[type="reset"]').each(function() {
		if (! $(this).hasClass("game") && ! $(this).hasClass("prn_submit")) {
			$(this).addClass("buttons");
		}
	});
}

$(document).ready(function() {
	// My Account page tooltips for 'learn more' links
	$('.nice_tooltip').each(function() {
		$(this).qtip({
			content: $(this).attr('title').replace(/(\r\n|[\r\n])/g, "<br />"),
			show: { delay: 0, when: {event: 'click'}, effect: { type: 'fade', length: 25 } },
			hide: { delay: 50, effect: { type: 'fade', length: 25 } },
			style: {
				tip: {
					corner: 'topLeft',
					size: {
						x: 20, // Be careful that the x and y values refer to coordinates on screen, not height or width.
						y: 20  // Depending on which corner your tooltip is at, x and y could mean either height or width!
					}
				},
				width: 200,
				padding: 5,
				background: '#cae2ee',
				color: '#457086',
				textAlign: 'left',
				border: {
					width: 1,
					radius: 5,
					color: '#cae2ee'
				},
				position: {
					adjust: {
						mouse: false,
						screen: true
					},
					corner: {
						tooltip: 'top',
						target: 'bottom'
					}
				}
			}
		});
	});

	$('.nice_tooltip').attr('title', '');
});

