function OpenMenu( num ) {

	num = parseInt(num,10);

    if (num==1) location.href = '/index.html';             						//¸ÞÀÎ È¨
	if (num==2) location.href = 'mailto:master@skypro.co.kr';           //¸ÞÀÏ
	if (num==3) location.href = '/sitemap.html';           						//»çÀÌÆ®¸Ê
	if (num==4) location.href = '/admin/';           								//°ü¸®ÀÚÆäÀÌÁö

	if (num==7) num = 613 ;																// ·Î±×¾Æ¿ô
	if (num==8) location.href = '/business/' ;											// ½ºÄ«ÀÌÇÁ·Î ¾÷¹«°ü¸®½Ã½ºÅÛ

//È¸»ç¼Ò°³

    /*if (num==101) window.open('/system_work.swf','flash','width=960,height=650,top=0,left=0');*/
	if (num==101) location.href = '/about/sub01.html';						//CEOÀÎ»ç¸»
	if (num==102) location.href = '/about/sub02.html';						//°³¿ä
	if (num==103) location.href = '/about/sub03.html';						//¿¬Çõ
	if (num==104) location.href = '/about/sub04.html';						//»ç¾÷ºÐ¾ß
	if (num==105) location.href = '/about/sub05.html';						//°ø»ç½ÇÀû
	if (num==106) location.href = '/about/sub06.html';						//°æÀï·Â
	if (num==107) location.href = '/about/sub07.html';						//Á¶Á÷µµ
	if (num==108) location.href = '/about/sub08.html';						//Ã£¾Æ¿À½Ã´Â ±æ

//¼îÇÎÄ«Å×°í¸®

    if (num==201) location.href = '/shop/?cInfo=S01&ftyp=category1&fbox=21';								// ¾ÈÅ×³ª
	if (num==202) location.href = '/shop/?cInfo=S01&ftyp=category1&fbox=22';								// LNB
	if (num==203) location.href = '/shop/?cInfo=S01&ftyp=category1&fbox=23';								// ÇÇµåÈ¥
	if (num==204) location.href = '/shop/?cInfo=S01&ftyp=category1&fbox=24';								// ¼ö½Å±â
	if (num==205) location.href = '/shop/?cInfo=S01&ftyp=category1&fbox=26';								// ºÐ¹è±â
	if (num==206) location.href = '/shop/?cInfo=S01&ftyp=category1&fbox=25';								// ½ºÀ§Ä¡
	if (num==207) location.href = '/shop/?cInfo=S01&ftyp=category1&fbox=27';								// °øÃ»ÀÚÀç
	if (num==208) location.href = '/shop/?cInfo=S01&ftyp=category1&fbox=29';								// ÁõÆø±â
	if (num==209) location.href = '/shop/?cInfo=S01&ftyp=category1&fbox=30';								// Áö»óÆÄ¾ÈÅ×³ª
	if (num==210) location.href = '/shop/?cInfo=S01&ftyp=category1&fbox=33';								// HDTV¾ÈÅ×³ª
	if (num==211) location.href = '/shop/?cInfo=S01&ftyp=category1&fbox=32';								// °èÃø±â
	if (num==212) location.href = '/shop/?cInfo=S01&ftyp=category1&fbox=34';								// ±âÅ¸ÀÚÀç
	if (num==213) location.href = '/shop/?cInfo=S01&ftyp=category1&fbox=87';								// µðÁöÅÐÀåºñ


//ÀÇ·Ú¼­

    if (num==301) location.href = '/request/sub01.html';							//


//°Ô½ÃÆÇ

	if (num==401) location.href = '/html/?cInfo=B41';							//°øÁö»çÇ×
	if (num==402) location.href = '/html/?cInfo=B42';							//À§¼ºÃÖ½Å´º½º
	if (num==403) location.href = '/html/?cInfo=B43';							//Q&A(°í°´¼¾Å¸)
	if (num==404) location.href = '/html/?cInfo=B51';							//Ã¤³Îº¯µ¿»çÇ×
	if (num==405) location.href = '/html/?cInfo=B52';							//ÀÚ·á½Ç
	if (num==4051) location.href = '/html/?cInfo=B52';							//ÀÚ·á½Ç/±â¼úÀÚ·á
	if (num==4052) location.href = '/html/?cInfo=B53';							//ÀÚ·á½Ç/´Ù¿î·Îµå
	if (num==4053) location.href = '/html/?cInfo=B54';							//ÀÚ·á½Ç/¿ë¾î¼³¸í
	if (num==406) location.href = '/html/?cInfo=B55';							//Áß°íÀåÅÍ
	if (num==407) location.href = '/html/?cInfo=G01';							//°¶·¯¸®
	if (num==4071) location.href = '/html/?cInfo=G01';							//°¶·¯¸®/¼ÒÇü
	if (num==4072) location.href = '/html/?cInfo=G02';							//°¶·¯¸®/ÁßÇü
	if (num==4073) location.href = '/html/?cInfo=G03';							//°¶·¯¸®/´ëÇü
	if (num==408) location.href = '/html/?cInfo=B63';							//Çù·Â¾÷Ã¼°Ô½ÃÆÇ
	if (num==409) location.href = '/html/?cInfo=B44';							//¼³Ä¡/»ç¿ëÈÄ±â
	if (num==410) location.href = '/html/?cInfo=B45';							//ÀÚÁÖÇÏ´ÂÁú¹®



//FAQ
	if (num==501) location.href = '/html/?cInfo=B71';							//ÁÖ¹®°áÁ¦
	if (num==502) location.href = '/html/?cInfo=B72';							//¹è¼Û°ü·Ã
	if (num==503) location.href = '/html/?cInfo=B73';							//Ãë¼Ò/¹ÝÇ°/±³È¯
	if (num==504) location.href = '/html/?cInfo=B74';							//È¸¿ø°ü·Ã


//¸¶ÀÌÆäÀÌÁö

    if (num==601) location.href = '/member/?code=loginform';							//·Î±×ÀÎ
    if (num==602) location.href = '/member/?code=agree';							//È¸¿ø°¡ÀÔ
    if (num==603) location.href = '/member/?code=modify';							//±âº»Á¤º¸¼öÁ¤
    if (num==604) location.href = '/member/sub04.html';							//¹ýÀÎ(»ç¾÷ÀÚ)ÀüÈ¯
    if (num==605) location.href = '/member/?code=withdraw';							//È¸¿øÅ»Åð
    if (num==606) location.href = '/shop/?cInfo=O01';							//ÁÖ¹®³»¿ª
    if (num==607) location.href = '/shop/?cInfo=S02';							//Àå¹Ù±¸´Ï
    if (num==608) location.href = '/shop/?cInfo=O02';							//³» ÀÌÀü ±¸¸Å Á¦Ç°
    if (num==609) location.href = '/shop/?cInfo=S03';							//³» °ü½É Á¦Ç°
    if (num==610) location.href = '/html/?cInfo=B61';							//È¸¿ø °øÁö»çÇ×
    if (num==611) location.href = '/html/?cInfo=B62';							//È¸¿øÀü¿ë°Ô½ÃÆÇ
	// ??????
	if (num==612) location.href = '/shop/?cInfo=S02';							//Àå¹Ù±¸´Ï
	if (num==613) location.href = '/member/?code=logout';							//·Î±×¾Æ¿ô
	if (num==614) location.href = '/member/?code=search' ;				// ¾ÆÀÌµð/ºñ¹Ð¹øÈ£ Ã£±â
	if (num==615) location.href = '/shop/?cInfo=S04' ;							// ¸¶ÀÏ¸®Áö

//ÀÌ¿ë¾È³»
	if (num==701) location.href = '/guide/sub04.html';							//ÀÌ¿ë¾È³»
	if (num==702) location.href = '/guide/sub01.html';							//ÀÌ¿ë¾à°ü
	if (num==703) location.href = '/guide/sub02.html';							//°³ÀÎÁ¤º¸º¸È£Á¤Ã¥
	if (num==704) location.href = '/html/?cInfo=I32';							//ÀÔÁ¡/Á¦ÈÞ¹®ÀÇ

//¼³Ä¡¸Þ´º
	if (num==801) location.href = '/set/sub01.html';							//Àü±¹TVRO¸Á±¸Ãà
	if (num==802) location.href = '/set/sub02.html';							//°øÃ»¼³ºñ
	if (num==803) location.href = '/set/sub03_1.html';							//À§¼º¹æ¼ÛÆÐÅ°Áö
	if (num==804) location.href = '/set/sub04_1.html';							//¼³Ä¡³»°¡ÇÑ´Ù
	if (num==805) location.href = '/html/?cInfo=I31';						    //¼³Ä¡°ßÀûÀÇ·Ú¼­
	if (num==806) location.href = '/set/hdtv_1.html';						    //hdtv
	if (num==8061) location.href = '/set/hdtv_2.html';						    //hdtv
	if (num==8062) location.href = '/set/hdtv_3.html';						    //hdtv
	if (num==8063) location.href = '/set/hdtv_4.html';						    //hdtv
	if (num==8064) location.href = '/set/hdtv_5.html';						    //hdtv

	//if (num==501) window.open('http://www.e-mg.co.kr','','');
}

function MM_showHideLayers() { //v3.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; }
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

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_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

var old='';

function menu(name)
{
submenu=eval("submenu_"+name+".style");
		if(old!=submenu)
	{
		if(old!='')
		{
			old.display='none';
		}
		submenu.display='block';
		old=submenu;
	}
	else
	{
		submenu.display='none';
		old='';
	}
}



// 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' />"+
	"<param name='bgcolor' value='"+bg+"' />"+
	"<embed src='"+url+"' FlashVars='"+vars+"' wmode='"+win+"' menu='false' quality='high' bgcolor='"+bg+"' width='"+w+"' height='"+h+"' name='"+id+"' align='middle' allowScriptAccess='always' swLiveConnect=true type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />"+
	"</object>";

	// ÇÃ·¡½Ã ÄÚµå Ãâ·Â
	document.write(flashStr);

}

//<script>flashWrite('/img/menu_link.swf','640','89','','','','transparent')</script>

