/**
 * Form focus set script 
 *
 * This JavaScript is included on pages with forms. The purpose
 * is to force the mouse focus to be on a starting field to 
 * remove an extra click requirement from the user.
 *
 * @version     $Id: focusForm.js 5259 2008-09-18 22:26:23Z lrader $
 * @author      Mutt Logic 
 */
window.onload = focusForm;
function focusForm(){
    if(document.getElementById("sScreenName")){
        document.getElementById("sScreenName").focus();
    } else if (document.getElementById("submitFrontImage")) {
        document.getElementById("subMitFrontImage").focus();
    }  else if (document.getElementById("sFirstName")){
        document.getElementById("sFirstName").focus();
    }  else if (document.getElementById("sEmailAddress")){
        document.getElementById("sEmailAddress").focus();
    }
}

