<script
language="javascript"
type="text/javascript">
function
writeLayer(text)
{
document.frames['myFrame'].location.href
=
text;
document.addrForm.location.value
=
text;
}
function
setLayer(text)
{
if
(text.indexOf("http://",0)
<=
0)
text
=
"http://"
+text;
document.frames['myFrame'].location.href
=
text;
document.addrForm.location.value
=
text;
}
function
onLoad(text)
{
if
(text
!=
"Microsoft Internet Explorer")
{
alert("netscape
not supported");
history.back();
}
return
true;
}
</script>
<iframe
src="about:blank"
width=400
height=200
id=myFrame></iframe>
<form
name=addrForm>
<input
type=button
value="Link"
onClick="writeLayer('../')">
<input
type=button
value="Link"
onClick="writeLayer('../')">
<input
type=button
value="Link"
onClick="writeLayer('about:blank')">
Location:
<input
type=text
name=location
value="Type
any URL here then press Go"
onFocus="this.value=''"
size=35>
<input
type=button
value="Go"
onClick="setLayer(document.addrForm.location.value)">
</form>