var doiv=document.createElement("div");
doiv.setAttribute("class","block");
doiv.setAttribute("id",obj.id);
var html='';
html +='<div class="title">'+obj.title+'</div>';
html +='<img src="'+'<%=path%>/'+obj.imgUrl+'"'+'/>'
doiv.innerHTML=html;
document.body.appendChild(doiv);
doiv.onclick = function(){
location.href=obj.link;
}
doiv.setAttribute("class","block");
doiv.setAttribute("id",obj.id);
var html='';
html +='<div class="title">'+obj.title+'</div>';
html +='<img src="'+'<%=path%>/'+obj.imgUrl+'"'+'/>'
doiv.innerHTML=html;
document.body.appendChild(doiv);
doiv.onclick = function(){
location.href=obj.link;
}