$(document).ready( 
    function() 
    {
        $("#captcha_code").bind(
            "click",
            function()
            {
                $(this).attr("src",root_path+"code.php?_ts="+Math.random());
                $("#randcode").focus();
            }
        );    
    }
); 
