
var NN2 = (navigator.appName == "Netscape") && (navigator.userAgent.indexOf("Mozilla/2") != -1);




function VensterFocus() {
if (!NN2) {
self.focus();
}
}


function disable()
{
if (event.button == 2)
{
alert("Sorry no rightclick on this page.")
}
}

function rollover1(txt) {
txt1 = txt;
document.the_image1.src = 'images/UnderC.gif';
setTimeout("eraseroll1(txt1)",1000);
}

function eraseroll1(txt1) {
document.the_image1.src = txt1;
}

function rollover2(txt) {
txt2 = txt;
document.the_image2.src = 'images/UnderC.gif';
setTimeout("eraseroll2(txt2)",1000);
}

function eraseroll2(txt2) {
document.the_image2.src = txt2;
}

function rollover3(txt) {
txt3 = txt;
document.the_image3.src = 'images/UnderC.gif';
setTimeout("eraseroll3(txt3)",1000);
}

function eraseroll3(txt3) {
document.the_image3.src = txt3;
}

function moveover(txt) {
window.status = txt;
setTimeout("erase()",2000);
}

function erase() {
window.status="";
}

function validate()
{

x=document.myForm
at=x.from_email.value.indexOf("@")
bt=x.from_email.value.indexOf(".")
email = x.from_email.value

submitOK="True"

if (email.length<1)
 {
 alert("No email-address entered")
 submitOK="False"
 } else {
if (((at==-1)&(bt==-1)) || at==-1 || bt==-1)
 {
 alert("Not a valid e-mail")
 submitOK="False"
 }}
if (submitOK=="False")
 {
 return false
 }


}

function dothis()
{
self.location.href = "temp.html";
}


