var hppromozing;

$(function () {

	hppromozing = new Zing({
		container: '#hp2008-center-top',

		// Shared transitions that are applied to all panes:
		
		transitions: {
			show: function (callback) {
				// Fade in from zero to full opacity.
				$(this.pane).css({
					opacity: 0
				}).animate({
					opacity: 1
				}, callback);
			},
			hide: function (callback) {
				// Fade out from full opacity to zero.
				$(this.pane).css({
					opacity: 1
				}).animate({
					opacity: 0
				}, callback);
			}
		},
		
		panes: {
			'first': {
				tab: '#hppromo-1-tab',
				pane: '#hppromo1'
			},
			'second': {
				tab: '#hppromo-2-tab',
				pane: '#hppromo2'
			}
		}
	});

});

