function ETSOORedirectUrl(strUrl,strType)
{
	if(strUrl==""&&self.dialogWidth==null&&self.history.length==0)
	{
		strUrl="0";
		strType="0";
	}
	if(strUrl=="undefined"||strUrl=="")
	{
		self.history.back();
	}
	else
	{
		var objWindow=top;
		if(objWindow==null)objWindow=self;
		if(strUrl=="0"&&strType=="0")
		{
			objWindow.close('/');
			if(self.opener!=null)self.opener.focus();
		}
		else if(strType==""||strType=="undefined")
		{
			objWindow.location.replace(strUrl);
		}
		else
		{
			if(strType=="_self")objWindow=self;
			else if(strType=="_parent")objWindow=parent;
			else objWindow=objWindow.frames[strType];
			if(objWindow)objWindow.location.replace(strUrl);
		}
	}
}