var topZ = 100;
function flip(newImg) {
	if(this.style.zIndex != topZ) {	
		topZ ++;
		this.style.zIndex = topZ;
	}
}