/*function to turn off all menu arrows */

function _remove_arrow(){
  menu_array = document.getElementById('athmenu').childNodes;
  for (i = 0; i < menu_array.length; i++) {
    /*alert(menu_array[i].className); */
    if (menu_array[i].className=='here_div'){menu_array[i].className = "nothere_div";}
  }
}

/*  functions for team menu  */

function _open(season){

_element("menu_fall").style.display = "none";
_element("menu_winter").style.display = "none";
_element("menu_spring").style.display = "none";

_element("menu_" + season).style.display = "";

}

function _element(id)
{
  return document.getElementById? document.getElementById(id): document.all? document.all[id]: null;
}

function _showsubdiv(){
  document.getElementById('submenudiv').style.display = "";
}

function _hidesubdiv(){
  document.getElementById('submenudiv').style.display = "none";
}

function _mouseover(ele) {
  if (ele.className == "nothere_div" ){ele.className = "nothere_onmouse_div";}
  if (ele.className == "nothere_div_expand" ){
    ele.className = "nothere_onmouse_div";
  }
}

function _mouseout(ele) {
  if (ele.className == "nothere_onmouse_div" ){ele.className = "nothere_div";}
}

function _goto(url) {this.location.href = url;}

function _goto_team(url) {window.frames["iframe0"].location.href = url;}

function _gotopage(page){parent.location=page;}



/* frame sucker  */
function calcHeight()
    {
      //set div height so FF can find scroll height
      document.getElementById('main').style.height="100px";
      //find the height of the internal page
      var the_height=document.getElementById('iframe0').contentWindow.document.body.scrollHeight;
      //alert(the_height);
      //change the height of the iframe
      //var new_height = parseInt(the_height+50)
      document.getElementById('loading').style.display="none";
      if (the_height > 400){
        document.getElementById('main').style.height=the_height + "px";
      }else{
        document.getElementById('main').style.height="400px";
      }
      
    }
/* this is used when called from the iframe  */

function calcHeight2()
    {
      //set div height so FF can find scroll height
      document.getElementById('main').style.height="100px";
      //find the height of the internal page
      var the_height=document.getElementById('iframe0').contentWindow.document.body.scrollHeight;
      //alert(the_height);
      //change the height of the iframe
      //var new_height = parseInt(the_height+50)
      document.getElementById('loading').style.display="none";
      if (the_height > 400){
        document.getElementById('main').style.height=the_height + "px";
      }else{
        document.getElementById('main').style.height="400px";
      }
      /*  move to the info area  */
      window.location.hash="info";
    }
