// JavaScript Document
$(document).ready(function(){
		var i;
		$('div.element a').each(function(index){
		    i=index;
			var ost = index%2;
			if(ost==1){
				$(this).hide();
			}else{
				$(this).show();
			}
		});
		
		
		$(document).everyTime("5s",function(){
				time();
				});

});



function time(){
	$(document).oneTime("1s", function() {
								$('div.element a').each(function(index){
								  $(this).oneTime(2000,function(){
									/*----------*/							
										if($(this).css("display")!="none"){
											$(this).hide();
										}else{
											$(this).fadeIn(1000);
									}
									/*----------*/
																});
									
									
								});
		});
}
