gIsIe = /*@cc_on!@*/false;
// showing logo
function firms_mouseover(pUrl, pLinkObj) {
  var lPos = 0;
  var lLogoDivWidth = 120;
  var lLogoDivHeight = 60;
  var lLogoImg = YAHOO.util.Dom.getFirstChild("firms_logo");

  // compensate vertical top/bottom and horizontal logo possitions
  lPos = YAHOO.util.Dom.getXY(pLinkObj);
  lPosScroll = YAHOO.util.Dom.getDocumentScrollTop();
  lViewHeigh = YAHOO.util.Dom.getViewportHeight();
  if(lPos[1]-lPosScroll > lViewHeigh / 2) {
    lPosComp = [ lPos[0]-lLogoDivWidth - 5, lPos[1]-lLogoDivHeight ];
  } else {
    lPosComp = [ lPos[0]-lLogoDivWidth - 5, lPos[1] ];
  }
  //display logo at possition
//  window.document.title = "" + lPosComp + " " + lPosScroll + " " + lViewHeigh;
  lLogoImg.src = pUrl;
  YAHOO.util.Dom.setStyle('firms_logo', 'display', 'block');
  YAHOO.util.Dom.setXY('firms_logo', lPosComp);
}

function firms_mouseout() {
  YAHOO.util.Dom.setStyle('firms_logo', 'display', 'none');
}

// hiding select
function right_mouseover(){
  gFilterElements = YAHOO.util.Dom.getElementsByClassName('sel_age', 'select', 'leftcol_in');
  if(gIsIe) {firms_hide_select(gFilterElements);}
}

function right_mouseout(){
  if(gIsIe) {firms_show_select(gFilterElements);}
}

function firms_hide_select(pElements) { YAHOO.util.Dom.setStyle(pElements, 'display', 'none'); }

function firms_show_select(pElements) { YAHOO.util.Dom.setStyle(pElements, 'display', ''); }

YAHOO.util.Event.onContentReady("top", function() {
  YAHOO.util.Event.addListener("top", "mouseover", right_mouseover);
  YAHOO.util.Event.addListener("top", "mouseout", right_mouseout);
});