<!--

var NN4=(document.layers) ? true : false;

if (document.images)
{
	SrcArr = new Array ("bul_mn_a","rg_a","bul_mn2l1_a","bul_mn2l2_a");
	ImgArr = new Array ();
	for (i in SrcArr)
	{
		ImgArr[i] = new Image ();
		ImgArr[i].src = "pic/" + SrcArr[i] + ".gif";
	}
}

function ChgImg (ImNm, Pic)
{
	if (document.images) {
		if(NN4!=0 && document.layers["menulayernn"].document.images[ImNm]){
		    document.layers["menulayernn"].document.images[ImNm].src = "pic/"+ Pic + ".gif";
		}
		else{		
		    document.images[ImNm].src = "pic/"+ Pic + ".gif";
		}
	}
}

function calcTop (x_ele)
{
	if (!document.all) return (x_ele.offsetTop);
	var x_ret=0;
	var oParent = x_ele.offsetParent;
	if (oParent == null) return 0
		else x_ret = x_ele.offsetTop + calcTop (oParent);
	return x_ret;
}
	
function calcLeft (x_ele)
{
	if (!document.all) return (x_ele.offsetLeft);
	var x_ret=0;
	var oParent = x_ele.offsetParent;
	if (oParent == null) return 0
		else x_ret = x_ele.offsetLeft + calcLeft (oParent);
	return x_ret;
}


function abbrTurn (id, mode)
{
	var abbr = document.getElementById ('abbr' + id);
	var abbrtext = document.getElementById ('abbr' + id + 'text');

	if (mode)
	{
		abbrtext.style.visibility = 'visible';
		abbrtext.style.top = calcTop (abbr) + 15 + 'px';
		abbrtext.style.left = calcLeft (abbr) + 20 + 'px';
	}
	else
	{
		abbrtext.style.visibility = 'hidden';
	}

	return true;
}

function openIT (u, tit, W, H, n, alt, X, Y, imgmode)
{
	X = (window.screen.availWidth / 2) - (W / 2);

	if (window.screen.availHeight - 24 < H)
	{
		Y = 0;
		W += 17;
		H = window.screen.availHeight - 24;
		param = "scrollbars=yes,status=no,resizable=0,width=" + W + ",height=" + H + ",left=" + X + ",top=" + Y;
	}
	else
	{
		Y = (window.screen.availHeight / 2) - (H / 2 + 12);
		param = "scrollbars=yes,status=no,resizable=0,width=" + W + ",height=" + H + ",left=" + X + ",top=" + Y;
	}

	wID = window.open ('', n, param);
	txtpopup = '<html><head><title>' + tit + '</title></head><body marginwidth="0" marginheight="0" style="margin:0px"><img src="' + u + '" alt="' + alt + '"' + (imgmode != 1 ? ' width="' + W + '" height="' + H + ' ' : '') + ' border="0"></body><html>';
	wID.document.open ();
	wID.document.write (txtpopup);
	wID.document.close ();

	return wID;
}

//-->