<script language="JavaScript">
<!-- Beginning of JavaScript
/*
Contact function written by Matt(GrizzlyA)
freabeer@webtv.net July 10 98. Permission to use and
edit and remove comments. A link would be appreciated.
*/
function conTact() {
// ask visitor for name.
var name = prompt("What is your name","");
// ask visitor for page address
var page = prompt("Your homepage address","http://")
// ask for comments.
var com = prompt("Any Comments?","");
// give directions
alert("Now hit submit if you wish to send\nOr you can re-enter the info if you wish");
// get visitor tech info
var a1 = navigator.appName;
var a2 = navigator.appVersion;
var a3 = navigator.appCodeName;
var a4 = navigator.userAgent;
var inFor=(a1+a2+a3+a4);
// place variables in form
window.document.MailQuestion.name.value=name;
window.document.MailQuestion.homepage.value=page;
window.document.MailQuestion.comments.value=com;
window.document.MailQuestion.vinfo.value=inFor;
// Tells where they came from window.document.MailQuestion.from.value=document.referrer;
}
//--End Hide-->
</script>
</head>
<body bgcolor="#181818" text="#CC66FF" link="#CCCCFF">
<center>
<!--Begin Matts(GrizzlyA's) E-mail Form. Written July 10 98. You can remove this but a link would be appreciated -->
<!-- put your e-mail address in the place of mine and change the subject to whatever you wish. You can't have any spaces in the subject so I used a minus sign. Nothing bad will happen just the spaces will be removed. You can remove these comments when you're sure you got the hang of things. -->
<form name="MailQuestion" ACTION="mailto:freabeer@webtv.net?subject=Library-conTa ct" METHOD="POST">
<!--name hidden inputs for form. To be written to by conTact() -->
<!-- If you add some questions just add another hidden input, name it and add a new document.MailQuestion.Whatever.value=whatever variable; If you need help just E-mail me -->
<input type="hidden" name="name">
<input type="hidden" name="homepage">
<input type="hidden" name="comments">
<input type="hidden" name="vinfo">
<input type="hidden" name="from">
<!-- button below calls up function to get info -->
<input type="button" value="Enter Info" onClick="conTact()"><br>
Then Hit Submit<br>
<!-- Sends E-mail -->
<input type="submit" name="submit" value="Submit">
</form>
</center>