//µÑ·¯º¸±â	

function guidance() 
{		
    alert('CD¿¡¼­´Â º»±â´ÉÀÌ Áö¿øµÇÁö ¾Ê½À´Ï´Ù.');
}

function QuizGuide()
{
	alert("¹®Á¦¸¦ ¸ðµÎ Çª¼Å¾ß ÇÕ´Ï´Ù.");
}

function InputGuide()
{
	alert("ÀÇ°ßÀ» ÀÔ·ÂÇÑ ÈÄ\n\nÁ¦Ãâ¹öÆ°À» Å¬¸¯ÇØÁÖ¼¼¿ä. ");
}

function SubmitGuide()
{
	alert("Á¦ÃâµÇ¾ú½À´Ï´Ù. ");
}


//openwindow

function open_window(name, url, left, top, width, height, toolbar, menubar, location, statusbar, scrollbar, resizable)
{
  toolbar_str = toolbar ? 'yes' : 'no';
  menubar_str = menubar ? 'yes' : 'no';
  location_str = location ? 'yes' : 'no';
  statusbar_str = statusbar ? 'yes' : 'no';
  scrollbar_str = scrollbar ? 'yes' : 'no';
  resizable_str = resizable ? 'yes' : 'no';
  window.open( url, name, 'left='+left+',top='+top+',width='+width+',height='+height+',toolbar='+toolbar_str+',menubar='+menubar_str+',location='+location_str+',statusbar='+statusbar_str+',scrollbars='+scrollbar_str+',resizable='+resizable_str);
}

//OpenWindow
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

//window full·Î ¶ç¿ì±â

function reset_size()
{
	var wid = eval(screen.availWidth);
	var hig = eval(screen.availHeight);
	
	resizeTo(wid,hig);
}


//scriptÃ¢ open
function itostr(inum)
{
	return inum<10?"0"+inum:inum;
}

// flashWrite(ÆÄÀÏ°æ·Î, °¡·Î, ¼¼·Î, ¾ÆÀÌµð, ¹è°æ»ö, º¯¼ö)
function flashWrite(url,w,h,id,bg,vars,win) {
//ÇÃ·¡½Ã ÄÚµå Á¤ÀÇ
var flashStr="<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0' width='"+w+"' height='"+h+"' id='"+id+"' align='middle'>"+
"<param name='allowScriptAccess' value='always'>"+
"<param name='movie' value='"+url+"'>"+
"<param name='FlashVars' VALUE='"+vars+"'>"+
"<param name='wmode' value='"+win+"'>"+
"<param name='menu' value='false'>"+
"<param name='quality' value='high'>"+
"<embed src='"+url+"' FlashVars='"+vars+"' menu='false' quality='high' bgcolor='"+bg+"' width='"+w+"' height='"+h+"' name='"+id+"' align='middle' allowScriptAccess='always' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer'>"+
"</embed>"+
"</object>";
//ÇÃ·¡½Ã ÄÚµå Ãâ·Â
document.write(flashStr);
}
function FileDown(){
	var winWidth = 353;
	var winheight = 182;
	var winLocation = "down/down.htm";
	var winName = "file_down";
	open_window(winName, winLocation, 0, 0, winWidth, winheight, 0, 0, 0, 0, 0, 0);			
}

function openSite(siteUrl){
	var winWidth = 1024;
	var winheight = 768;
	var winName = "openSite";
	open_window(winName, siteUrl, 1, 1, winWidth, winheight, 1, 1, 1, 1, 1, 1);		
}
function openQna() {
	var wid = 680;
	var hig = 560;
	var leftPos = (eval(screen.availWidth)-Number(wid))/2;
	var topPos = (eval(screen.availHeight)-Number(hig))/2;	
	var winName = "Qna";
	var loca = "common/qna.htm";
	//alert(winName);
	//alert(loca);	
	MM_openBrWindow(loca,winName,'left='+leftPos+',top='+topPos+',width='+wid+',height='+hig+',status=yes');
}
function openGhost() {
	var wid = 1000;
	var hig = 600;
	var leftPos = (eval(screen.availWidth)-Number(wid))/2;
	var topPos = (eval(screen.availHeight)-Number(hig))/2;	
	var winName = "ghostDefault";
	var loca = "ghost/default.htm";
	MM_openBrWindow(loca,winName,'left='+leftPos+',top='+topPos+',width='+wid+',height='+hig+',status=yes');
}
function openWorld() {
	var wid = 1000;
	var hig = 600;
	var leftPos = (eval(screen.availWidth)-Number(wid))/2;
	var topPos = (eval(screen.availHeight)-Number(hig))/2;	
	var winName = "okestraDefault";
	var loca = "okestra/default.htm";
	MM_openBrWindow(loca,winName,'left='+leftPos+',top='+topPos+',width='+wid+',height='+hig+',status=yes');
}
function openSafari() {
	var wid = 1000;
	var hig = 600;
	var leftPos = (eval(screen.availWidth)-Number(wid))/2;
	var topPos = (eval(screen.availHeight)-Number(hig))/2;	
	var winName = "okestraDefault";
	var loca = "safari/default.htm";
	MM_openBrWindow(loca,winName,'left='+leftPos+',top='+topPos+',width='+wid+',height='+hig+',status=yes');
}
