/* Contains javascript only used on article pages */


function process_poll_vote(article,label){
    var screenresolution = screen.height + 'x' + screen.width;
    
    sndReqArg('poll_submit_vote', article, label, screenresolution)
}

function email_friend_valid(email_friend, ar_id, friend_email, sender_email){
    
   if(friend_email.length == 0){
        document.getElementById('emailresult').innerHTML = '<p>You did not enter an email address</p>';
        return false;
    } else {
        sndReqArg(email_friend, ar_id, friend_email, sender_email);
    }
    
}

