function init() {

	var attributes = {
		height: { to: 500  },
		width:  { to: 1070 },
		left:   { to: 0 }
	};

	var anim = new YAHOO.util.Anim('photoGroup2', attributes, 3, YAHOO.util.Easing.bounceOut);

	//anim.onComplete.subscribe(done);
	//anim.onTween.subscribe(changeOpacity);

	//anim.animate();
}

function done() {
	alert('i am done!');
}

var counter = 0;

function changeOpacity() {
	var anObject = document.getElementById('photoGroup2');

	counter++;

	if ((counter % 10) == 0) {
//		anObject.style.opacity -= .001;
	}
}