<!--
function Reader_Form_Chk(theform) {
    var Dis_Writer = theform.Dis_Writer.value;
	var Dis_Pwd = theform.Dis_Pwd.value;
	var Dis_Title = theform.Dis_Title.value;
	var Dis_Comment = theform.Dis_Comment.value;

	if (Dis_Title.length ==0) {
	    alert("Á¦¸ñÀ» ÀÔ·ÂÇØ ÁÖ¼¼¿ä");
		theform.Dis_Title.focus();
		return false;
	}
	if (Dis_Writer.length==0) {
	    alert("ÀÌ¸§À» ÀÔ·ÂÇØ ÁÖ¼¼¿ä");
		theform.Dis_Writer.focus();
		return false;
	}
	if (Dis_Pwd.length==0) {
	    alert("ºñ¹Ð¹øÈ£¸¦ ÀÔ·ÂÇØ ÁÖ¼¼¿ä");
		theform.Dis_Pwd.focus();
		return false;
	}	
	if(Dis_Comment.length==0){
		alert("ÀÇ°ßÀ» ÀÔ·ÂÇØ ÁÖ¼¼¿ä");
		theform.Dis_Comment.focus();
		return false;
	}

	theform.Dis_Save.value="On";
}


function Length_chk(theform,theform2)
{
	var str_character;
	var int_char_count;
	var int_contents_length;

	int_char_count = 0;

	int_contents_length = theform.value.length; // ÅØ½ºÆ®¶ó Æû º¯¼ö ÁöÁ¤
	//alert(int_contents_length);

	// ÇÑ±Û°ú ¿µ¹® ¹ÙÀÌÆ®¼ö °è»êÇÏ´Â ºÎºÐ
	// ¾Æ·¡ ºÎÅÍ ¼öÁ¤ ¾Ê¾Æ¼Åµµ µË´Ï´Ù.
	for(k=0; k < int_contents_length; k++)
	{
		str_character = theform.value.charAt(k);
		if(escape(str_character).length > 4)
			int_char_count += 2; 
		else
			int_char_count++;
	}
	// ¿©±â±îÁö´Â ¼öÁ¤ ¾Ê¾Æ¼Åµµ µË´Ï´Ù.

	theform2.value = int_char_count;
}

function Dis_DelChk(theform)
{
	if(theform.Dis_Upwd.value =="")
	{
		alert("ºñ¹Ð¹øÈ£¸¦ ÀÔ·ÂÇØ ÁÖ¼¼¿ä");
		theform.Dis_Upwd.focus();
		return false;
	}
}

w=80;
function Content_Plus()
{
	w+=30;
	document.all["Dis_Comment"].style.height=w;
	if (w>80)
	{
		document.all["minus"].style.display="block";
	}
}
function Content_Minus()
{
	w-=30;
	document.all["Dis_Comment"].style.height=w;
	if (w<=80)
	{
		document.all["minus"].style.display="none";
	}
}

function SetFont(nNum) {
	var content, lineHeight; 
	content = document.getElementById("content"); 
	if (nNum > 0) { if (fontSize <= 18) { fontSize = fontSize + nNum; lineHeight = fontSize+Math.round(1.1*fontSize); content.style.fontSize = fontSize + "px"; } } else { if (fontSize > 12) { fontSize = fontSize + nNum; lineHeight = fontSize+Math.round(1.1*fontSize); content.style.fontSize = fontSize + "px"; } } 
}
var fontSize=14;


function PrintPopup(sURL, sName, nWidth, nHeight) {
	var myHeight = nHeight //WindowSizeDIV.offsetHeight+25;
	var myWidth = nWidth //WindowSizeDIV.offsetWidth+8;
	var height = screen.availHeight;
	var width = screen.availWidth;
	var leftpos =(width - myWidth) / 2;
	var toppos =150;//(height  - myHeight) / 2; 

	window.open(sURL, sName, 'width=' + nWidth + ',height=' + nHeight + ',top=' + toppos + ',left=' + leftpos + ',resizable=no,scrollbars=yes,status=no,toolbar=no');
}
function mPopup(sURL, sName, nWidth, nHeight) {
	var myHeight = nHeight //WindowSizeDIV.offsetHeight+25;
	var myWidth = nWidth //WindowSizeDIV.offsetWidth+8;
	var height = screen.availHeight;
	var width = screen.availWidth;
	var leftpos =(width - myWidth) / 2;
	var toppos =150//(height  - myHeight) / 2; 

	window.open(sURL, sName, 'width=' + nWidth + ',height=' + nHeight + ',top=' + toppos + ',left=' + leftpos + ',resizable=no,scrollbars=no,status=no,toolbar=no');
}



function Movie_View(val,str,auto)
{
	if (auto==undefined)
	{
		auto = "0"
	}
	//alert(auto)
	var MoveStr="<table cellpadding='0' cellspacing='0' border='0'><tr><td colspan='3'><img src='/kr/dd_event/file/2006/0728_skin/top.jpg' border='0' width='391' height='58'></td></tr><tr><td><img src='/kr/dd_event/file/2006/0728_skin/left.gif' border='0' width='12' height='322'></td><td align='center'>"
		MoveStr +="<embed animationatstart='1' currentposition='-1' selectionend='0' playcount='0' currentMaker='10' align='middle' autosize='0' autostart='" + auto + "' ClickToPlay='1' displaybackcolor='black' Name='VodForNS' "
		MoveStr += "pluginspage='http://www.microsoft.com/korea/windows/windowsmedia/' PreviewMode='0' SelectionStart ='1' SelectionEnd ='1' "
		MoveStr += "SendKeyboardEvents='0' sendMouseClickEvents='0' SendMouseMoveEvents='0' showcontrols='1' showdisplay='0' showstatusbar='0' "
		MoveStr += "showtracker='1' showpositioncontrols='1' type='video/x-ms-asf-plugin' width='365' height='320' "
		MoveStr += "src='" + val + "'></embed>"
		MoveStr += "</td><td><img src='/kr/dd_event/file/2006/0728_skin/right.gif' border='0' width='12' height='322'></td></tr>"
		MoveStr += "<tr><td colspan='3' style='padding-left:20' background='/kr/dd_event/file/2006/0728_skin/bottom.gif' height='32'>" + str + "</td></tr>"
		MoveStr += "</table>"

		document.write(MoveStr);
}
//-->