var current_manset=0;
var manset_sayisi=3;
var timeout;
function chManset(){
	clearTimeout(timeout);
	if(current_manset >=manset_sayisi)
		current_manset=0;
	for(i=0;i<manset_sayisi;i++){
		document.getElementById("manset_"+i).style.display='none';
	}
	document.getElementById("manset_"+current_manset).style.display='block';
	current_manset++;
}
function chManset_prev(){
	clearTimeout(timeout);
	if(current_manset <=0) {
		current_manset=(manset_sayisi-1);
	}
	else {
		current_manset--;
	}
	for(i=0;i<manset_sayisi;i++){
		document.getElementById("manset_"+i).style.display='none';
	}
	document.getElementById("manset_"+current_manset).style.display='block';
	//timeout=setTimeout("startManset()",2000);
	
}
function ResetURL() {
	return false;
}

function startManset() {
	
	if(current_manset >=manset_sayisi)
		current_manset=0;
	for(i=0;i<manset_sayisi;i++){
		if(current_manset != manset_sayisi)
			document.getElementById("manset_"+i).style.display='none';
			//$("manset_"+i).hide();
			//$("manset_img_"+i).src = "/i/manset_0.gif";
	}
	//$("manset_"+current_manset).show();
	document.getElementById("manset_"+current_manset).style.display='block';
	//$("manset_img_"+current_manset).src = "/i/manset_1.gif";
	current_manset++;
	timeout=setTimeout("startManset()",3000);
}

