if (navigator.appName == "Microsoft Internet Explorer"){
}
else {
alert("This multi-dynamic site was made to function\nseemlessly with Microsoft Internet Explorer")
window.location.replace("http://thedumb.com");
}

function checkData() {
var var1 = document.aveng.email.value;
var var2 = document.aveng.comments.value;
if (var1 == document.aveng.email.defaultValue) {alert("Please enter receiver's email address!"); return false;}
if (var1 == "") {alert("Please enter receiver's email address!"); return false;}
if (document.aveng.pic.value == "Animation") {alert("Please select your animation!"); return false;}
if (document.aveng.sound.value == "Sound") {alert("Please select your sound!"); return false;}
if (var2 == document.aveng.comments.defaultValue) {alert("Please type your Avenger!"); return false;}
if (var2 == "") {alert("Please type your Avenger!"); return false;}
return confirm("Internet Avenger Email\nis being sent to " + var1 + "\n\nIs this correct?")
}

function checkit() {
var var1 = document.dotell.you.value;
var var2 = document.dotell.friend.value;
var var3 = document.dotell.email.value;
if (var1 == document.dotell.you.defaultValue) {alert("Please enter your first name!"); return false;}
if (var1 == "") {alert("Please enter your first name!"); return false;}
if (var2 == document.dotell.friend.defaultValue) {alert("Please enter your friend's first name!"); return false;}
if (var2 == "") {alert("Please enter your friend's first name!"); return false;}
if (var3 == document.dotell.email.defaultValue) {alert("Please enter friend's email address!"); return false;}
if (var3 == "") {alert("Please enter friend's email address!"); return false;}
}

function demoit() {
if (document.demo.email.value == "") {alert("Please enter your demo email address!"); return false;}
}

function mypreview() {
var w = 575;
var h = 350;
var X = (screen.availWidth - w) / 2;
var Y = (screen.availHeight - h) / 2;
var win= window.open ("form.html","pop","scrollbars=yes,width="+w+",height="+h+",left="+X+",top="+Y+"");
  win.document.write('<html><head><title>Preview - Text/Graphic/Sound - Internet Avenger</title></head><body style="background-color:#000000;overflow:auto">');
  win.document.write('<div align="center"><img src="' + document.aveng.pic.options[document.aveng.pic.selectedIndex].value + '"></div>');
  win.document.write('<bgSound src="' + document.aveng.sound.options[document.aveng.sound.selectedIndex].value + '" hidden=true><br>');
  win.document.write('<table style="font:bold 16px arial; color:#ffffff;background-color:#000000; border:2px solid #ff0000; text-indent:25px" cellpadding="5" cellspacing="0" align="center"><tr><td>' + document.aveng.comments.value + '</td></tr></table></body></html>');
}



