function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);


//Æ¯Á¤ºÎºÐ¸¸ ÀÎ¼âÇÏ±â
function printpage() {

        var url;
        var envwin;
        envwin = "width=650,height=400,menubar=1,resizable=1,scrollbars=1,status=1";

        tm = window.open("","printform",envwin)
        tm.document.open();

        tm.document.write("<html><head><title>ÇÁ¸°Æ® ÇÏ±â</title>");
				tm.document.write("<link href=../style.css rel=stylesheet type=text/css></head>");
				tm.document.write("<body  leftmargin=0 topmargin=0 marginwidth=0 marginheight=0>");
				tm.document.write("<table border=0 width=100% style=background-color:white;><tr><td>");
        tm.document.write(document.all.printarea.outerHTML);
				tm.document.write("</td></tr><tr><td>");
				tm.document.write("<A HREF=\"#\"  onMouseOver=\"window.status=('print'); return true;\" onClick=\"return window.print()\">print</a> | ¿¬Ãµ±ºÃ»ÀÔ´Ï´Ù.");
				tm.document.write("</td></table><body>");
        tm.document.write("</html>");
        tm.document.close();

}

function BoardEmail(id, post) {
	window.open('/common/antispam/antispamin.asp?type=board&id='+id+'&post='+post, 'AntiSpam', 'width=180,height=263,left=1,top=1');
}
