<!-- // hide from old browsers

function sos(x)
  { if (x != "") { self.location=x; } }

    function testemail(form){
        if (te(form) && title(form) && name(form) && article(form) == true){
            return true;
            } else {
                return false;
            }
        }

// ----------------------------------------------

    function te(form){
        var s = form.email;
        var t = s.value;
//-- BLANK OR NOT AN EMAIL ADDRESS
        if (t == "" || t.indexOf ('@', 0) == -1){
            validateprompt (s, "\nPlease enter a valid sender's email address!");
            return false;
            }
//-- OR OK...
              else return true;}
              
// ----------------------------------------------

    function title(form){
        var s = form.title;
        var t = s.value;

//-- BLANK title
        if (t == ""){
            validateprompt (s, "\nYour article needs a title!");
            return false;
           }
//-- OR OK...
             else return true;}

// ----------------------------------------------
             
function name(form){
        var s = form.name;
        var t = s.value;

//-- BLANK title
        if (t == ""){
            validateprompt (s, "\nYour need to supply your name so that we can credit you for your work!");
            return false;
           }
//-- OR OK...
             else return true;}

// ----------------------------------------------

function article(form){
        var s = form.article;
        var t = s.value;

//-- BLANK title
        if (t == ""){
            validateprompt (s, "\nYour need to supply some text for your article!");
            return false;
           }
//-- OR OK...
             else return true;}

// ----------------------------------------------

    function validateprompt (t, promptstr){
        alert (promptstr)
        t.focus();
}

// ----------------------------------------------

//-->
