function reloadCd()
{
    
var timenow = new Date().getTime();
    url
="/check_code.php";
    id 
= url.indexOf('?');
    
if(id >= 0  ){
        
if(id == (url.length-1))
            url 
= url +"t="+ timenow;
        
else 
            url 
= url +"&t="+ timenow;
    }
else{
        url 
= url +"?t="+ timenow;
    }
    document
.getElementById("checkCode").src = url;
}

相关文章: