//	Functions written by Zvona, 19.07.2002
if (document.all && document.getElementById)
{
	document.open();
	document.write('<style type="text/css">#header {filter:progid:DXImageTransform.Microsoft.Gradient(startColorStr=#F0204080,endColorStr=#F060A0FF,gradientType=1)};</style>');
	document.close();
}

var iI	= 0;



function zDlgProcessing(sCaption,sImg)
{
	document.open();
	document.write('<div id="process"><layer id="processNN" visibility="show"><table id="layerTable" cellpadding="0" cellspacing="0" style="border:2px outset #F0F0FF;background-color:#FFFFFF;">');
	document.write('<tr><td><img src="'+ sImg +'" alt="Processing" /></td></tr>');
	document.write('</table></layer></div>');
	document.close();
}


function zHideLayer()
{
	if (document.layers)
		document.layers['process'].document['processNN'].visibility = "hide";
	else if (window.opera)
		document.getElementById('process').style.visibility	= "hidden";
	else if (document.all)
		document.all['process'].style.display	= "none";
	else
		document.getElementById('process').style.display = "none";
}


function zLoaded()
{
	clearInterval(ivProcess);
	zHideLayer();
	window.status	= "";
}


function zStatusMsg(sMsg)
{
	if (iI > sMsg.length)
	{
		iI	= 0;
		window.status	= "";
	}
	window.status	+= sMsg.substring(iI,iI+1);
	iI++;
}

