/*bNS4 = bNS6 = bIE = bOPERA = false;
if     (navigator.userAgent.indexOf("Opera") != -1) { bOPERA = true; }
else if(navigator.userAgent.indexOf("Gecko") != -1) { bNS6 = true;   }
else if(document.layers)                            { bNS4 = true;   }
else if(document.all)                               { bIE = true;    }

var mouse_cordx;
var mouse_cordy;
var doc_width;
var doc_height;

function getmouseposition(e){

if (window.innerWidth){ //if browser supports window.innerWidth
doc_width = window.innerWidth;
doc_height = window.innerHeight;
}
else if (document.all){ //else if browser supports document.all (IE 4+)
doc_width = document.body.clientWidth;
doc_height = document.body.clientHeight;
}

if(bIE || bOPERA) { 
	mouse_cordx = event.clientX;
	mouse_cordy = event.clientY;
	}
else if(bNS6 || bNS4) {
	mouse_cordx = e.pageX;
	mouse_cordy = e.pageY;
	}
} // getmouseposition()
*/

function expand(s)
{
  var td = s;
  var d = td.getElementsByTagName("div").item(0);

  td.className = "menuHover";
  d.className = "menuHover";
}

function collapse(s)
{
  var td = s;
  var d = td.getElementsByTagName("div").item(0);

  td.className = "menuNormal";
  d.className = "menuNormal";
}

function expand_lnb(s)
{
  var td = s;
  var d = td.getElementsByTagName("div").item(0);

  td.className = "menuHover_lnb";
  d.className = "menuHover_lnb";
}

function collapse_lnb(s)
{
  var td = s;
  var d = td.getElementsByTagName("div").item(0);

  td.className = "menuNormal_lnb";
  d.className = "menuNormal_lnb";
}
