// ***************************************
//  hide/show gamezone form

function hideGamezoneForm() {
	Element.hide('gamezoneform');
	Element.show('toggleform');
}

function showGamezoneForm() {
	Element.hide('toggleform');
	Element.show('gamezoneform');
	$('gamezoneform').style.zIndex = 15;
	Field.focus('gamezonealias');
}


// ***************************************
//  hide/show item details tab content

function setItemContent(obj) {
	// reset classes on tabs
	Element.removeClassName('abouttab','selected');
	Element.removeClassName('rulestab','selected');
	// hide all content
	Element.hide('aboutcontent');
	Element.hide('rulescontent');
	// show selected content
	Element.show(obj+'content');
	// select tab
	Element.addClassName(obj+'tab','selected');
}


// ***************************************
//  events

//Event.observe(window, 'load', hideGamezoneForm, false);
