if(lngFolderCount == "")
	lngFolderCount = 0;
else
	lngFolderCount = parseInt(lngFolderCount);

function change_language(strURL, strLanguage)
{
	strURL += "&lang=" + strLanguage;
	parent.location.href = strURL;
}

function ReloadToolbar(strDbs)
{
	if (parent.frames.length > 0)
	{
		parent.frames[0].location.href="toolbar.asp"+"?dbs="+strDbs+"&tb=0";
	}	
}					

function openprintSearchHistory(strURLParam)
{
	var wWidth = (screen.width - 250);
	var wHeight = (screen.height - 250);
	var wLeft = ((screen.width - wWidth)/2);
	var wTop = ((screen.height - wHeight)/2)-50;  
	var PrintSHWin = window.open("printsearchHistory.asp"+strURLParam+"tb=0", "PrintHistory", "toolbar=1,location=0,directories=0,status=0,menubar=1,scrollbars=yes,resizable=no,top="+wTop+",left="+wLeft+",width="+wWidth+",height="+wHeight);
	if(IsPopUpSupportFocus())
		PrintSHWin.focus();
}

function openFieldCodes(params)
{
	var popupWin = window.open("FieldCodes.asp?" + params, "FieldCodes", "status=no,top=90,left=300,width=350,height=370,menubar=1,scrollbars=yes,resizable=yes");
	if(IsPopUpSupportFocus())
		popupWin.focus();
}