/*이미지팝업*/
function doNothing(){}

function popupResize(imgUrl){

    var popSource = "";
    var obj = document.createElement("img");
    obj.src=imgUrl.id;
    obj.id = 'newImg';
    
    var p = window.open("","","toolbar=no");
    document.body.appendChild(obj);
    
    setTimeout(function(){
     popSource = "<script> window.resizeTo( "+(obj.width+8)+", "+(obj.height+30)+" )<\/script>";
     obj.style.display = "none";
	 popSource += "<html><head><title>"+ document.title+"</title></head>";
     popSource += "<body style='margin:0000'> <img src='"+imgUrl.id+"' onclick='self.close()'></body></html>";
     p.document.write(popSource);
    });
  }

/*
	추가된 함수들 
	작성자 : 베니(venister@empal.com)
*/
function toggle_object(post_id){   
    var obj = xGetElementById(post_id);   
    if(!obj) return;   
  
    if(obj.style.display=="none"){   
        obj.style.display='block';   
    } else {   
        obj.style.display="none";   
    }   
}
