head_no="head0";
head_old="head1";

function change()
{
	if (document.layers) {
		document.layers[head_old].visibility    = 'hide';
	}
	if (document.layers) {
		document.layers[head_no].visibility    = 'visible';
	}


	if(!document.all && document.getElementById){
		document.getElementById(head_old).style.visibility = 'hidden';
	}
	if(!document.all && document.getElementById){
		document.getElementById(head_no).style.visibility = 'visible';
	}

	if (document.all){
	document.all(head_old).style.visibility = 'hidden';
	}
	if (document.all){
	document.all(head_no).style.visibility = 'visible';
	}

	temp_head_no=head_no;
	head_no=head_old;
	head_old=temp_head_no;
}

function head_change()
{
	setInterval('change()',3000)
}
