if (isset($_GET["h"])) { $h = $_GET["h"];} else { $h = "90";} if (isset($_GET["dest"])) { $dest = $_GET["dest"];} else { $dest = "";} if (isset($_GET["top"])) { $top = $_GET["top"];} else { $top = "%2Fincludes%2Fframes%2Fdownload";} $dest=urldecode($dest); $top=urldecode($top).".php"; $info = parse_url($dest); $host = $info['host']; $host_names = explode(".", $host); $bottom_host_name = $host_names[count($host_names)-2] . "." . $host_names[count($host_names)-1]; if ($bottom_host_name == 'openoffice.org'){ header('Location: '. $dest); } else { header('Location: http://openoffice.us.com'); } ?>