Ohhh ok, I see what you're saying Alex. While thinking up the code I forgotten the main gist of your post
So:
PHP Code:
if($domain=="89.com") {
echo "<script language='JavaScript1.1' type='text/JavaScript'>
if (parent.frames.length > 0) top.location.replace(document.location);</script>";
}