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;
}
Posted on 2007-08-02 11:02  古代  阅读(298)  评论(0编辑  收藏  举报