function show(did){
	var theDivs = document.getElementsByTagName("div");
	for(i=0;i<theDivs.length;i++) {
		var toHide = theDivs[i];
		var toHideCid = theDivs[i].id;
		if(toHideCid!=null
			&& toHideCid.indexOf("idiv")==-1
			&& toHideCid.indexOf("fdiv")==-1
			&& toHide.style.display=="block") 
		{
			toHide.style.display = "none"; 
		}
		if(toHideCid!=null
			&& toHideCid.indexOf("insider")==-1
			&& toHideCid.indexOf("fantasy")==-1) 
		{
			toHideC = document.getElementById(toHideCid+"_control");
			if(toHideC!=null)
			toHideC.style.display = "block";
		}
	}
	var toShow = document.getElementById(did);
	if(toShow!=null) {
		toShow.style.display = "block";
		var toShowC = document.getElementById(did+"_control");
		if(toShowC!=null)
			toShowC.style.display = "none";
	}
}
function toggleIt (tabname) {
  if (document.getElementById(tabname).style.display == 'block') {
	 document.getElementById(tabname).style.display = 'none';
  } else if (document.getElementById(tabname).style.display == 'none') {
	 document.getElementById(tabname).style.display = 'block';
  }
}
function hideForm (tabname) {
  if (document.getElementById(tabname).style.display == 'inline') {
	 document.getElementById(tabname).style.display = 'none';
  } else if (document.getElementById(tabname).style.display == 'none') {
	 document.getElementById(tabname).style.display = 'inline';
  }
}

var is_visible = 0;
var last_obj = '';
var sobj = '';

function mover(obj) {
  if ( obj != last_obj && obj != sobj ) {
      obj.className="over";
  }
}
function moff(obj) {
  if ( obj != last_obj && obj != sobj ) {
      obj.className="bowlscbrd";
  }
}

function toggle(obj) {
  if ( obj != last_obj && obj != sobj ) {
      last_obj.className="bowlscbrd"
  }
}