    function login_forgot_flip() {
        bigoldstring='<tr><td valign=top id="mymode_login"><p style="font-size:12px;">So you forgot your password! No great shakes. Just enter your email address in the form below and we\'ll email it to you.<br /><br /><form name="forgot" action="index.php" method="post"><p style="font-size:12px;">Email address: <input type="text" name="forgot_username"></p><INPUT TYPE="IMAGE" SRC="../images/btn_go.gif" ALT="Submit button" style="border:0px;"></form></p></td></tr>';
        document.getElementById('mymode_login_main').innerHTML=bigoldstring;
    }
    
    function poll_prepare(poll_id, use_old) {
        var poll_id;
        var opt_id;
        if(use_old == false) {
            for(i=0; i<document.poll_form.elements.length; i++)
            {
                if(document.poll_form.elements[i].name == "opt_id") {
                    if(document.poll_form.elements[i].checked == true) {
                        poll_id = poll_id;
                        opt_id = document.poll_form.elements[i].value;
                    }
                }
            }
        }
        javascript:agent.call('', 'poll_submit', 'poll_reset', poll_id, opt_id, use_old);
    }
    
    function poll_reset(result_string) {
        document.getElementById('mymode_pollsubmit').innerHTML = result_string;
    }
    
    function weight_reset(return_array) {
        var again_text = "";
        if(return_array['result'] == "successful") {
            again_text = '<br /><a href = "javascript:void(0);" onclick="javascript:agent.call(\'\', \'weight_again_prep\', \'weight_try_again\');">Add more weight?</a>'
        } else {
            again_text = '<br /><a href = "javascript:void(0);" onclick="javascript:agent.call(\'\', \'weight_again_prep\', \'weight_try_again\');">Try again?</a>'
        }
        var full_message = return_array['message'] + again_text;
        document.getElementById('mymode_weigh_content').innerHTML = full_message;
        document.getElementById('mymode_progress').innerHTML = '';
        set_prog (return_array['user']);
    }
    
    function weight_try_again(content) {
        document.getElementById('mymode_weigh_content').innerHTML = content;
    }
    
    function set_prog (user) {
          AC_FL_RunContent(
            'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0',
            'width', '392',
            'height', '385',
            'src', 'weight_track2',
            'quality', 'high',
            'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
            'align', 'middle',
            'play', 'true',
            'loop', 'true',
            'scale', 'showall',
            'wmode', 'opaque',
            'devicefont', 'false',
            'id', 'weight_track2',
            'bgcolor', '#ffffff',
            'name', 'weight_track2',
            'menu', 'true',
            'allowFullScreen', 'false',
            'allowScriptAccess','sameDomain',
            'movie', 'weight_track2',
            'FlashVars', 'user='+user,
            'salign', ''
            );       
    }
    
    function feedback_reset() {
        document.getElementById('mymode_feedback').innerHTML = "Thank you for submitting your feedback! Your input is desired and valued.";
    }
    
    function pollsub_reset() {
        document.getElementById('mymode_pollsub').innerHTML = "Thank you for submitting a poll question. Your input is desired and valued.";
    }
    
    function update_refresh(blogs) {
        document.getElementById('mymode_reminder').innerHTML = "<p class='mymode_flipped'>Thank you! You will be reminded by email the day before your garbage pickup.</p>" + blogs;
    }