function openpage(opr, est, num)
{
	page = "objdetails_"+opr+"_"+est+"_"+num+".html"
	if(est==1) {w = 440;h=340;}
	if(est==2) {w = 450;h=540;}
	if(est==4) {w = 640;h=440;}
	window.open(page, "details","resizable=1,scrollbars=1,width="+w+", height="+h)
}
function GetNavigator()
{
  if (navigator.userAgent.indexOf("MSIE", 0)!=-1)
   	return "MSIE";
 if (navigator.userAgent.indexOf("Opera", 0)!=-1)
   	return "Opera";
}
function OC(elem)
{
	if(elem.style.display=="")
		elem.style.display = "none";
	else
		elem.style.display = "";
}
function IEPngFix(img, to, width, height)
{
var code = '<IMG SRC="'+ img +'" WIDTH="' + width + '" HEIGHT="' + height + '" BORDER=0>';
if( navigator.userAgent.indexOf("MSIE 6") > 1 )
	code = '<IMG SRC="include/_images/spacer.gif" WIDTH="' + width + '" HEIGHT="' + height + '" STYLE="filter: progid:DXImageTransform.Microsoft.AlphaImageLoader (src=' + img + ')">';
	var td = document.getElementById(to);
	td.innerHTML=code;
}

