// JavaScript Document

 

$(function(){
	
	//top nav
	$('.kvContent').cycle({ 
	    fx: 'fade',
		speed: 700,
		timeout: 5000,
	    delay: -700,
		autostop: 0,
		autostopCount: 0,
	    prev: '.contentNav .pre',
		next: '.contentNav .next1',
		after:test
	});	
	
	
})

function test(){
	$('.kvContent > div').each(function (i, n){
		if($(n).css("display")=="block"){
			$('.contentNav span.next1').html("0"+(i+1));
		}
	});
}

