/* POPUP */ function OpenWindow(url,winName,intWidth,intHeight,intScrollbars) { window.open(url,winName,"width="+intWidth+",height="+intHeight+",scrollbars="+intScrollbars+"") ; } /* 내용만 프린트하기 */ function print_info() { window.open("../book/pop_print.html", "print_open","width=571,height=600,top=0,left=0,noresizable,toolbar=no,status=no,scrollbars=yes,directory=no"); } /* FLASH */ function flash_contents(file,width,height,id){ document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(" "); document.writeln(" "); document.writeln(""); document.writeln(""); } /* VOD */ function vod(url_root, w, h){ document.write(" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n"); } function chngVOD(src){ var vodPlayer = document.getElementById("vodPlayer"); if( src ) vodPlayer.innerHTML = "<"; } function writeDay(){ var today = new Date(); var BDay = new Date(2010,11,31); var leftDay = (BDay.getTime() - today.getTime())/(24*60*60*1000); var msg = "
타임캡슐 봉인까지 D - " + String(Math.ceil(leftDay)) + ""; document.write(msg); }