helpfunc = OAS_RICH.toString();
docwriteregex = /document\.write/gim;
difffuncregex = /OAS_RICH/gim;
helpfunc = helpfunc.replace(docwriteregex, "return");
helpfunc = helpfunc.replace(difffuncregex, "OAS_AD_GET_CODE");
eval(helpfunc);

function OAS_AD_EXISTS (position)
{
	var code = OAS_AD_GET_CODE(position);
	if (code.search("empty.gif") == -1)
	{
		return true;
	}
	else
	{
		return false;
	}
}