window.addEvent('domready', function(){
	var cpn = $("coupon");
	var state = 'closed';
	cpn.addEvent('click', function() {
		state = (state == 'closed' ? 'open' : 'closed');
		var cFX = cpn.effects({duration: 500, wait:false, transition: Fx.Transitions.Sine.easeInOut});
		if (state=="closed"){
			cFX.start({'height': [176, 29]});
		}else{
			cFX.start({'height': [29, 176]});
		}
	});
});
