function clip() {

 	var contWidth = 200; 	// width of the banner container
 	var contHeight = 160; 	// height of the banner container
 	var id1 = document.getElementById('slideA');

	if (id1) {
		var id2 = document.getElementById('slideB');
	 	var height = id1.offsetHeight;
 	
	 	id1.style.top = parseInt(id1.style.top)-1 + 'px';
 	
	 	document.getElementById('slideCont').style.height = contHeight + "px";
	 	document.getElementById('slideCont').style.clip = 'rect(auto,'+ contWidth +'px,' + contHeight +'px,auto)';
	 	id2.style.display = '';
	 	if(parseFloat(id1.style.top) == -(height/2)) {
	  		id1.style.top = '0px';
	 	}
	 	setTimeout(clip,50)
	}
}


