/* ----------------------------------------------------------------------------------------------------------- */
/* BONGESZOELLENORZES */
	NS4 = (document.layers) ? true : false;
	IE4 = (document.all && !document.getElementById) ? true : false;
	IE5 = (document.all && document.getElementById) ? true : false;
	NS6 = (!document.all && document.getElementById) ? true : false;
	FF1 = (!window.showModalDialog && document.getElementById) ? true : false;
/* ----------------------------------------------------------------------------------------------------------- */


/* ----------------------------------------------------------------------------------------------------------- */
/* KEPCSERELGETES_A_MENUBEN */
	function pic(obj,pic)
	{
		obj.src=pic;	
	}
/* ----------------------------------------------------------------------------------------------------------- */


/* ----------------------------------------------------------------------------------------------------------- */
/* KEPCSERELGETES_A_MENUBEN_ID_ALAPJAN */
	function pic_id(obj,pic)
	{
		document.getElementById(obj).src=pic;	
	}
/* ----------------------------------------------------------------------------------------------------------- */


/* ----------------------------------------------------------------------------------------------------------- */
/* KEPCSERELGETES_A_MENUBEN_ID_ALAPJAN */
	function background_id(obj,pic)
	{
		document.getElementById(obj).style.backgroundImage='url(' + pic + ')';
	}
/* ----------------------------------------------------------------------------------------------------------- */


/* ----------------------------------------------------------------------------------------------------------- */
/* POPUPMENU_DIV_ELŐHÍVÁSA */
//ie4 = ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4 )) 
//ns4 = ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) >= 4 )) 

	function getObj(obj)
	{
	if (document.all)
		{return document.all(obj);}
		else
		if (document.getElementById)
		{return document.getElementById(obj);}
	}

	if (NS4) 
		{layerRef="document.layers['"; 
		styleRef="";}
	else if (IE4)
		{layerRef="document.all."; 
		styleRef=".style";} 
	else 
		{layerRef="document.getElementById('";
		styleRef=".style";}

	function afficheCalque(calque) 
		{eval(layerRef + calque + (NS4?"']":IE4?"":"')") + styleRef + '.visibility = "visible"');}
	function cacheCalque(calque) 
		{eval(layerRef + calque + (NS4?"']":IE4?"":"')") + styleRef + '.visibility = "hidden"');}
/* ----------------------------------------------------------------------------------------------------------- */

