<!--
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

function BrowserCheck(){ 
  this.ver    = navigator.appVersion
  this.agent  = navigator.userAgent
  this.dom    = document.getElementById?1:0
  this.opera5 = this.agent.indexOf("Opera 5") > -1
  this.opera6 = this.agent.indexOf("Opera 6") > -1 || this.agent.indexOf("Opera/6") > -1
  this.opera  = ( this.opera5 || this.opera6 )
  this.ie5    = ( this.ver.indexOf("MSIE 5.0") > -1 && this.dom && !this.opera ) ? 1 : 0; 
  this.ie55   = ( this.ver.indexOf("MSIE 5.5") > -1 && this.dom && !this.opera ) ? 1 : 0; 
  this.ie6    = ( this.ver.indexOf("MSIE 6" )  > -1 && this.dom && !this.opera ) ? 1 : 0;
  this.ie7    = ( this.ver.indexOf("MSIE 7" )  > -1 && this.dom && !this.opera ) ? 1 : 0;
  this.ie4    = ( document.all && !this.dom && !this.opera )?1:0;
  this.ie     = this.ie4 || this.ie5 || this.ie55 || this.ie6 || this.ie7
  this.mac    = this.agent.indexOf("Mac") > - 1
  this.ns6    = ( this.dom && !this.opera && !this.ie && parseInt(this.ver) >= 5 ) ? 1 : 0; 
  this.ns4    = ( document.layers && !this.dom ) ? 1 : 0;
  this.ns     = ( this.ns4 || this.ns6 )
  this.bs     = ( this.ie7 || this.ie6 || this.ie5 || this.ie55 || this.ie4 || this.ns4 || this.ns6 || this.opera )
  return this
}

var is = new BrowserCheck()
var menu = false

function MenuClick() {
	if ( !is.bs ) return false
	if ( menu == false )
	{
		if (is.ns4) { document.layers['termekcsoportok'].visibility = 'show'; }
		else if (is.dom) document.getElementById('termekcsoportok').style.visibility = 'visible'
		menu = true
	}
	else {
		if (is.ns4) document.layers['termekcsoportok'].visibility = 'hide'
		else if (is.dom) document.getElementById('termekcsoportok').style.visibility = 'hidden'
		menu = false
	}
}

// -->

