isDOM=document.getElementById //DOM1 browser (MSIE 5+, Netscape 6, Opera 5+)
isOpera=isOpera5=window.opera && isDOM //Opera 5+
isOpera6=isOpera && window.print //Opera 6+
isOpera7=isOpera && document.readyState //Opera 7+
isMSIE=document.all && document.all.item && !isOpera //Microsoft Internet Explorer 4+
isMSIE5=isDOM && isMSIE //MSIE 5+
isNetscape4=document.layers //Netscape 4.*
isMozilla=isDOM && navigator.appName=="Netscape" //Mozilla ΥΚΥ Netscape 6.* 

// Pop-up window

function popUpWindow(file, window_name, scrollbars, statusbar, resizable, width, height, left, top)
{
	if (isMSIE)
	{
		top += 60;
	}

	window.open(file, window_name, 'scrollbars='+scrollbars+', statusbar='+statusbar+', resizable='+resizable+', width='+width+', height='+height+', left='+left+', top='+top);

	return false;
}

function go_url(url)
{
	document.location.href = url;
}

function parent_go_url(url)
{
	window.parent.location.href = url;
}


function opener_go_url(url)
{
	window.opener.location.href = url;
}


function open_url(url, name)
{
	window.open(url, name);
}

function byid(id)
{
	return document.getElementById(id);
}

function LayerShow(id)
{
	byid(id).style.display = 'block';
}

function LayerHide(id)
{
	byid(id).style.display = 'none';
}

