function showdiv(bdiv, num, nn){
var w; 
for ( w=1; w<=num; w++ ){
document.getElementById(bdiv+"_t"+w).src = "http://localhost/web/yule.be/templates/yule/img/"+ bdiv +"_"+ w +".gif";
document.getElementById(bdiv+"_b"+w).style.display = "none";
}
document.getElementById(bdiv+"_t"+nn).src = "http://localhost/web/yule.be/templates/yule/img/"+ bdiv +"_"+ nn +"_on.gif";
document.getElementById(bdiv+"_b"+nn).style.display = "";
} 
function setmore(id,hre){
document.getElementById(id).href=hre;
}
function showdiv2(bdiv, num, nn){
var w; 
for ( w=1; w<=num; w++ ){
document.getElementById(bdiv+"_t"+w).className = "";
document.getElementById(bdiv+"_b"+w).style.display = "none";
}
document.getElementById(bdiv+"_t"+nn).className = "act";
document.getElementById(bdiv+"_b"+nn).style.display = "";
}
function ding(id,dir,typ,n){
var now=new Date();
var number = now.getSeconds();
window.open('http://poll.daqi.com/cgi-bin/portal/blogarticle_ding.cgi?id_blogarticle='+id+'&dirno='+dir+'&types='+typ+'&n='+n+'&number='+number,'tding');
}

function digg_ding(id,n){
var now=new Date();
var number = now.getSeconds();
window.open('http://union.daqi.com/cgi-bin/digg/digg_article.cgi?id='+id+'&n='+n+'&number='+number,'tding');
}
