echo script language JavaScript window location http script

1
2
3
echo "<script language=\"JavaScript\">
window.location = 'http://';
</script>";