<!--
document.title="´ë¿ø¿Ü±¹¾î°íµîÇÐ±³";

//ÇÃ·¡½Ã »ðÀÔÇÔ¼ö
document.write("<script language='javascript' src='/flash/flash_insert.js'></script>");


function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
	d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_showHideLayers() { //v6.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
	if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
	obj.visibility=v; }
}



/**
* ¿µ¹® ¼Ò¹®ÀÚ³ª ¼ýÀÚ¸¸ ÀÔ·ÂµÇ¾ú´ÂÁö¸¦ Á¶»çÇÑ´Ù.
* @return
*/
function checkNumSmallEnglish(aObj, aDesc) {
    //alert('checkNum');
    var val = aObj.value;
    var len = val.length;
    for (var i=0; i<len; i++) {
        var ch = val.charAt(i);
        var isNumEnglish = (ch >= '0' && ch <= '9') || (ch >= 'a' && ch <= 'z');
        if (!isNumEnglish) {
            aObj.select();
            alert(aDesc);
            return false;
        }
    }

    return true;
}
/*******************************************************************/
/* ±ÛÀÚ¼ö Á¦ÇÑ Ã³¸®	                                                /
/*******************************************************************/
function fnMaxLength(getContents,getValue,getLimit)
{
    if(getValue > getLimit )
    {
        alert(getContents +getLimit +"ÀÚ ÀÌÇÏ·Î ÀÔ·ÂÇÏ¼¼¿ä");
        
        return false;
        
    }
    else
    {
        return true;
    }
}
function fnMiniLength(getContents,getValue,getLimit)
{
    if(getValue < getLimit )
    {
        alert(getContents+getLimit +"ÀÚ ÀÌ»óÀÌ¿©¾ß ÇÕ´Ï´Ù");
        
        return false;
        
    }
    else
    {
        return true;
    }
}

function getMovie(file_name)
{
	document.write("<OBJECT ID=\"NSPlay\" name=\"NSPlay\" width=\"320\" height=\"235\" classid=\"CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6\" codebase=\"http://activex.microsoft.com/activex/controls/MediaPlayer1/en/nsmp2inf.cab#Version=6,4,5,715\" standby=\"Loading Microsoft Windows 260 Player components...\" type=\"application/x-oleobject\">\n");
	document.write("	<PARAM NAME=\"URL\" VALUE=\"http://" + file_name+"\">\n" );
	//document.write("	<PARAM NAME=\"URL\" VALUE=\"/upload/board/aa.avi\">\n");
	document.write("	<PARAM name=\"defaultFrame\" value=\"content\">\n");
	document.write("	<PARAM name=\"uiMode\" value=\"none\">\n");
	document.write("	<PARAM name=\"autoStart\" value=\"true\">\n");
	document.write("	<PARAM name=\"enableContextMenu\" value=\"false\">\n");
	document.write("	<PARAM name=\"enabled\" value=\"true\">\n");
	document.write("	<PARAM name=\"showcontrols\" value=\"true\">\n");
	document.write("	<PARAM name=\"stretchToFit\" value=\"true\">\n");
	document.write("	<param NAME=\"transparentAtStart\" VALUE=\"True\">\n");
	document.write("	<param NAME=\"AnimationAtStart\" VALUE=0>\n");
	document.write("	<param NAME=\"Volumn\" VALUE=30>\n");
	document.write("</OBJECT>\n");
	
	
}

function getMovie2(file_name)
{
	document.write("<OBJECT ID=\"NSPlay\" name=\"NSPlay\" width=\"640\" height=\"480\" classid=\"CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6\" codebase=\"http://activex.microsoft.com/activex/controls/MediaPlayer1/en/nsmp2inf.cab#Version=6,4,5,715\" standby=\"Loading Microsoft Windows 260 Player components...\" type=\"application/x-oleobject\">\n");
	document.write("	<PARAM NAME=\"URL\" VALUE=\"http://" + file_name+"\">\n" );
	
	document.write("	<PARAM name=\"defaultFrame\" value=\"content\">\n");
	document.write("	<PARAM name=\"uiMode\" value=\"none\">\n");
	document.write("	<PARAM name=\"autoStart\" value=\"true\">\n");
	document.write("	<PARAM name=\"enableContextMenu\" value=\"false\">\n");
	document.write("	<PARAM name=\"enabled\" value=\"true\">\n");
	document.write("	<PARAM name=\"showcontrols\" value=\"true\">\n");
	document.write("	<PARAM name=\"stretchToFit\" value=\"true\">\n");
	document.write("	<param NAME=\"transparentAtStart\" VALUE=\"True\">\n");
	document.write("	<param NAME=\"AnimationAtStart\" VALUE=0>\n");
	document.write("	<param NAME=\"Volumn\" VALUE=30>\n");
	document.write("</OBJECT>\n");
}
function openCyberTour()
{
    window.open('/introduction/cybertour.html','','width=900, height=573,left=200,top=200');
}

//-->