// JavaScript Document
<!--

//alert ("Men va fan!");

function CorrectEmailaddress(SubscriberForm){
if (SubscriberForm.pf_Email.value.length > 255)
{
alert("Ange som mest 255 tecken i \"E-postadress\" Fält.");
SubscriberForm.pf_Email.focus();
return (false);
 }
if (SubscriberForm.pf_Email.value == "")
{
alert("Ange värdet för \"E-postadress\" Fält.");
SubscriberForm.pf_Email.focus();
return (false);
 }
if (SubscriberForm.pf_Email.value.length < 7)
{
alert("Ange minst 7 tecken i \"E-postadress\"Fält.");
SubscriberForm.pf_Email.focus();
return (false);
 }
pf_Email=SubscriberForm.pf_Email.value
at=pf_Email.indexOf("@");
lastat=pf_Email.lastIndexOf("@");
dot=pf_Email.lastIndexOf(".");
if(at<1||at!=lastat||dot<at){
alert("Din e-postadress är inte rätt. Försök igen.");
return false;}
}

function ClearForm() {
  document.SubscriberForm.epost.value= "";
}

function ClearFormBottom() {
  document.SubscriberForm.epostBottom.value= "";
}

//-->

