
function pagePrint(Obj) {    
    var W = Obj.offsetWidth;        //screen.availWidth;    
    var H = Obj.offsetHeight;       //screen.availHeight;   
  
    var features = "menubar=no,toolbar=no,location=no,directories=no,status=no,scrollbars=yes,resizable=yes,width=" + W + ",height=" + H + ",left=0,top=0";    
    var PrintPage = window.open("about:blank",Obj.id,features);    
  
    PrintPage.document.open();    
    PrintPage.document.write("<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'><html xmlns='http://www.w3.org/1999/xhtml' xml:lang='ko' lang='ko' dir='ltr'><head><meta http-equiv='Content-Type' content='text/html; charset=euc-kr' /><meta http-equiv='Content-Script-Type' content='text/javascript' /><meta http-equiv='X-UA-Compatible' content='IE=EmulateIE7' /><meta http-equiv='imagetoolbar' content='no' /><title></title><link rel='stylesheet' type='text/css' media='screen' href='/main/css/style.css' /><script type='text/javascript' src='/main/javascript/jquery.js'></script><script type='text/javascript' src='/main/javascript/tabpane.js'></script><script type='text/javascript' src='/shareEtc/zoom.js'></script><link rel='stylesheet' type='text/css' media='screen' href='/main/css/style.css' />\n</head>\n<body id='main_box'>" + Obj.innerHTML + "\n</div></body></html>");    
    PrintPage.document.close();    
  
    PrintPage.document.title = document.domain;    
    PrintPage.print(PrintPage.location.reload());    
}