function movef(val){
	switch(val){
		case 'x':
			$("#flashcontent").html("NEW CONTENT for x");
			break;
		case 'y':
			$("#flashcontent").html("NEW CONTENT for y");
			break;
		case 'z':
			$("#flashcontent").html("NEW CONTENT for z");
			break;
	
	}
}
function autof(){
	var ix=self.setInterval(function(){
	clock();
	},5000);
}

function clock(rand){
	
	if(rand==undefined)
		rand=1;
	
	switch (rand){
		case 1:
			$("#flashcontent").html("3and x new");
			return 1;
			break;
		case 2:
			$("#flashcontent").html("3and y new");
			return 2;
		case 3:
			$("#flashcontent").html("3and z new");
			return 3;
			break;
		default:
			$("#flashcontent").html("3and t new");
			break;
		
	}
}
function randomx(x){
	if(x==3){
		return 0;
	}
	else{
		x++;
		return x;
	}
}
