var globalCount = 0;

function showIt(index){
	if(globalCount == index) {
		globalCount = 0;
	} else {
		globalCount++;
	}
	$('#newsticker li:nth-child('+globalCount+')').slideDown('slow').delay(3000).slideUp('slow');;
}
	$(document).ready(function(){
	var length = $('#newsticker li').length;
	setInterval("showIt('"+length+"')",7000);	
	$("#popupContactbox").delay(4000).slideDown('slow');
});