function CheckFrame()
{
	if(parent.length==0 || parent.name != "2BA Frame")
	{
		arrayOfValues = location.href.split('?'); 
		location.replace("default.aspx?surl="+ arrayOfValues[0].substring( arrayOfValues[0].lastIndexOf( "/" ) + 1 ) + escape("?" + arrayOfValues[1]));
	}
}
CheckFrame();

