function OpenMenu( num ) {

			if (num==1) location.href = '/main.html';             										//¸ÞÀÎ È¨
            if (num==2) location.href = 'mailto:webmaster@swhosp.co.kr';      	//¸ÞÀÏ
			if (num==3) location.href = '/sitemap.html';													//»çÀÌÆ®¸Ê
			if (num==4) location.href = '/admin';                 											//°ü¸®ÀÚ
			if (num==5) location.href = '/mypage/pps.html';                 								//°³ÀÎÁ¤º¸º¸È£Á¤Ã¥

//º´¿ø¼Ò°³
			if (num==101) location.href = '/about/sub01.html';										//º´¿ø¼Ò°³
			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==201) location.href = '/clinic/sub01.html';										//Áø·á°ú¸ñ¾È³»
			if (num==202) location.href = '/clinic/sub02.html';										//ÀÇ·áÁø¼Ò°³
			if (num==203) location.href = '/clinic/sub03.html';										//Áø·á½Ã°£Ç¥
			if (num==204) location.href = '/clinic/sub04.html';										//¿Ü·¡Áø·áÀýÂ÷
			if (num==205) location.href = '/clinic/sub05.html';										//ÀÔÅð¿øÀýÂ÷
			if (num==206) location.href = '/clinic/sub06.html';										//ÀÀ±ÞÁø·áÀýÂ÷
			if (num==207) location.href = '/clinic/sub07_01.html';										//¹ß±Þ¾÷¹«¾È³»
			if (num==2071) location.href = '/clinic/sub07_01.html';										//ÀÇ¹«±â·Ï
			if (num==2072) location.href = '/clinic/sub07_02.html';										//Áø´Ü¼­ ¹× °¢Á¾¼­·ù
			if (num==2073) location.href = '/clinic/sub07_03.html';										//cd¹ß±Þ

//º´¿øÀÌ¿ë¾È³»
            if (num==301) location.href = '/guide/sub01.html';										//°¢Ãþº°¾È³»
            if (num==302) location.href = '/guide/sub02.html';;									//ÀüÈ­¹øÈ£¾È³»
            if (num==303) location.href = '/guide/sub03.html';;									//Ã£¾Æ¿À½Ã´Â±æ
            if (num==304) location.href = '/guide/sub04.html';;									//ÁÖÂ÷ÀåÀÌ¿ë¾È³»


//°í°´Áö¿ø
            if (num==401) location.href = '/html/?cInfo=12';											//faq
            //if (num==402) location.href = '/support/sub01.html';											//°í°´ÀÇ¼Ò¸®
			if (num==402) location.href = '/html/?cInfo=13';											//°í°´ÀÇ¼Ò¸®
            if (num==4021) location.href = '/html/?cInfo=63';											//°í°´ÀÇ¼Ò¸®
            if (num==403) location.href = '/html/?cInfo=14';											//¾ð·Ðº¸µµ
            if (num==404) location.href = '/html/?cInfo=15';											//ÀÇ·áÁ¤º¸
            if (num==405) location.href = '/html/?cInfo=16';											//°Ç°­»ó´ã
            if (num==406) location.href = '/html/?cInfo=31';							    //»çÀÌ¹ö¸éÈ¸
            if (num==407) location.href = '/html/?cInfo=24';							    //ÄªÂùÇÕ½Ã´Ù

//ÀÚ·á½Ç
            if (num==501) location.href = '/html/?cInfo=17';											//¹®¼­ÀÚ·á½Ç
            if (num==502) location.href = '/html/?cInfo=18';											//»çÁøÀÚ·á½Ç


//½ÃÈ­Á¤º¸
            if (num==601) location.href = '/html/?cInfo=11';											//°øÁö»çÇ×
            if (num==602) location.href = '/html/?cInfo=19';											//ÀÇÇÐÄ®·³
            if (num==603) location.href = '/info/sub03.html';											//µ¿¿µ»óº¸±â

//½ÃÈ­Ä¿¹Â´ÏÆ¼
            if (num==701) location.href = '/html/?cInfo=20';								//»ç³»°øÀ¯°Ô½ÃÆÇ
            if (num==702) location.href = '/html/?cInfo=2';							    //»ç³»Á÷¿ø°ü¸®


//Àü¹®Å¬¸®´Ð¾È³»
            if (num==801) location.href = '/special/sub01.html';									//½ÉÇ÷°üÅ¬¸®´Ð
            if (num==802) location.href = '/special/sub02.html';									//´ëÀåÇ×¹®Å¬¸®´Ð
            if (num==803) location.href = '/special/sub03.html';									//Ã´ÃßÅ¬¸®´Ð
            if (num==804) location.href = '/special/sub04.html';									//´ç´¢Å¬¸®´Ð
            if (num==805) location.href = '/special/sub05.html';									//³úÁ¹ÁõÅ¬¸®´Ð
//            if (num==806) location.href = '/special/sub06.html';									//¼ºÇü¿Ü°úÅ¬¸®´Ð
            if (num==807) location.href = '/special/sub07.html';									//¼ö¸é³»½Ã°æÅ¬¸®´Ð
            if (num==808) location.href = '/special/sub08.html';									//½ÅÀå³»°úÅ¬¸®´Ð
//            if (num==809) location.href = '/special/sub09.html';									//ERCPÅ¬¸®´Ð
//            if (num==810) location.href = '/special/sub10.html';									//À£ºùÅ¬¸®´Ð
//            if (num==811) location.href = '/special/sub11.html';									//¿Ü±¹ÀÎÁø·áÅ¬¸®´Ð
            if (num==812) location.href = '/special/sub12.html';									//¼ºÇü¿Ü°úÅ¬¸®´Ð


//°Ç°­°ËÁø¼¾ÅÍ
/*
            if (num==901) location.href = '/center/sub01.html';									//°Ç°­°ËÁø¼¾ÅÍ¾È³»
            if (num==902) location.href = '/center/sub02.html';									//Á¾ÇÕ°ËÁø¾È³»
            if (num==903) location.href = '/center/sub03.html';									//Æ¯È­°ËÁø¾È³»
            if (num==904) location.href = '/center/sub04.html';									//¹«·á°Ç°­°ËÁø¾È³»
			*/
            if (num==901) location.href = '/center/sub01.html';									//»ê¾÷º¸°Ç
            if (num==9011) location.href = '/center/sub01_01.html';									//»ê¾÷º¸°Ç
            if (num==9012) location.href = '/center/sub01_02.html';									//»ê¾÷º¸°Ç
            if (num==902) location.href = '/center/sub02.html';									//°Ç°­°ËÁø¼¾ÅÍ
            if (num==9021) location.href = '/center/sub02.html';									//°Ç°­°ËÁø¼¾ÅÍ
            if (num==9022) location.href = '/center/sub02_02.html';									//°Ç°­°ËÁø¼¾ÅÍ
            if (num==9023) location.href = '/center/sub02_03.html';									//°Ç°­°ËÁø¼¾ÅÍ
            if (num==9024) location.href = '/center/sub02_04.html';									//°Ç°­°ËÁø¼¾ÅÍ
            if (num==9025) location.href = '/center/sub02_05.html';									//°Ç°­°ËÁø¼¾ÅÍ
            if (num==9026) location.href = '/center/sub02_06.html';									//°Ç°­°ËÁø¼¾ÅÍ
            if (num==9027) location.href = '/center/sub02_07.html';									//°Ç°­°ËÁø¼¾ÅÍ
            if (num==9028) location.href = '/center/sub02_08.html';									//°Ç°­°ËÁø¼¾ÅÍ


//pacs
            if (num==1001) location.href = '/digital/sub01.html';									//pacs
            if (num==1002) location.href = '/digital/sub02.html';									//spiral ct
            if (num==1003) location.href = '/digital/sub03.html';									//mri
            if (num==1004) location.href = '/digital/sub04.html';									//angio
            if (num==1005) location.href = '/digital/sub05.html';									//Æ¯¼öÀåºñ

//½ÃÈ­»ç¾÷¾È³»
			if (num==1101) location.href = '/business/sub01.html';								//½ÃÈ­»ç¾÷¾È³»
			if (num==11011) location.href = '/business/sub01.html';								//-½ÃÈ­»ç¾÷¾È³»
			if (num==11012) location.href = '/business/sub01_2.html';								//-Áö¿ªÈ°µ¿
            if (num==1102) location.href = '/business/sub02.html';							    //»ó´ã¾È³»
            if (num==1103) location.href = '/business/sub03.html';								//ºÀ»çÈ°µ¿
            if (num==1104) location.href = '/business/sub04.html';							    //ÀÚ¿øºÀ»ç
            if (num==1105) location.href = '/html/?cInfo=21';							    //°Ô½ÃÆÇ > °øÁö»çÇ×
			if (num==1106) location.href = '/html/?cInfo=22';							    //°Ô½ÃÆÇ > »çÁøÀÚ·á½Ç
			if (num==1107) location.href = '/business/sub06.html';								//È£½ºÇÇ½º
			if (num==1108) location.href = '/nurse/sub01.html';									//°¡Á¤°£È£¾È³»
			if (num==1109) location.href = '/business/sub07.html';								//¿ø¸ñ½Ç


// È¸¿ø°ü¸®
			if (num==1201) location.href = '/mypage/?code=agree';								// È¸¿ø°¡ÀÔ (¾à°üµ¿ÀÇ)
			if (num==1202) location.href = '/mypage/?code=search';							// ¾ÆÀÌµð, ºñ¹Ð¹øÈ£ Ã£±â
			if (num==1203) location.href = '/mypage/?code=loginform';						// ·Î±×ÀÎ
			if (num==1204) location.href = '/mypage/?code=modify';							// Á¤º¸¼öÁ¤
			if (num==1205) location.href = '/mypage/?code=withdraw';						// È¸¿øÅ»Åð
			if (num==1206) location.href = '/mypage/?code=logout';							// ·Î±×¾Æ¿ô

//Áø·áÁö¿ø¾È³»
			if (num==1301) location.href = '/nurse/sub01.html';									//°¡Á¤°£È£¾È³»
			if (num==1302) location.href = '/nurse/sub02.html';									//»óÃ³Àå·ç°£È£¾È³»
			if (num==1303) location.href = '/nurse/sub03.html';									//Àå·ç°ü¸®ÁöÄ§¼­

//½ÃÈ­À¥Áø
			if (num==1401) location.href = '/webzine/sub01.html';									//ÀÌ¹øÈ£º¸±â
			if (num==1402) location.href = '/webzine/sub02.html';									//Áö³­È£º¸±â

// ¿Â¶óÀÎ ¿¹¾à
			if (num==1501) location.href = '/html/?cInfo=32&code=write';						//¿Â¶óÀÎ»ó´ã
			if (num==1502) location.href = '/html/?cInfo=32&code=list';							//¿Â¶óÀÎ»ó´ã¸®½ºÆ®
			if (num==1503) location.href = '/reserve/sub03.html';							//ÀüÈ­¹×ÆÑ½º¿¹¾à½ÅÃ»

// Ã¤¿ë°ø°í
			if (num==1601) location.href = '/html/?cInfo=23';                                   // Ã¤¿ë°ø°í
			if (num==1602) location.href = '/html/recruit_02.html';                                   // Áö¿ø¼­´Ù¿î·Îµå

// »ê¾÷º¸°Ç¼¾ÅÍ
			if (num==1701) location.href = '/industry/sub01.html';                             //ÀÛ¾÷È¯°æÃøÁ¤
			if (num==1702) location.href = '/industry/sub02.html';                             //º¸°Ç°ü¸®´ëÇà

// ÀÀ±ÞÀÇ·á±â°üÁöÁ¤º´¿ø
			if (num==1801) location.href = '/emergency/sub01.html';                             //ÀÀ±ÞÀÇ·á±â°üÁöÁ¤º´¿ø

// ÀÚ±âÁø´Ü
			if (num==1901) location.href = '/other/diagnosis.html';                             //ÀÚ±âÁø´Ü

// °í°´ºÒ¸¸¼¾ÅÍ
			if (num==2001) location.href = '/other/complaint.html';                             //°í°´ºÒ¸¸¼¾ÅÍ¾È³»

// ¸µÅ©»çÀÌÆ®
			if (num==2101) location.href = '/other/link.html';                                 //Çù·Âº´¿ø¾È³»

// Ä£ÀýÁ÷¿ø
			if (num==2201) location.href = '/html/?cInfo=62';                                 //Ä£ÀýÁ÷¿ø

}

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];
  }
}
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_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 oMenu(name)
{
	var s ;
	s =eval("submenu_"+name+".style");
	if(old!=s )
	{
		if(old!='')
		{
			old.display='none';
		}
		s.display='block';
		old=s ;
	}
	else
	{
		s.display='none';
		old='';
	}
}

// flashWrite(ÆÄÀÏ°æ·Î, °¡·Î, ¼¼·Î, ¾ÆÀÌµð, ¹è°æ»ö, º¯¼ö, À©µµ¿ì¸ðµå)
function flashWrite(url,w,h,id,bg,vars,win){

	// ÇÃ·¡½Ã ÄÚµå Á¤ÀÇ
	var flashStr=
	"<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='https://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' type='application/x-shockwave-flash' pluginspage='https://www.macromedia.com/go/getflashplayer' />"+
	"</object>";

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

}

function swapMenu() {
	imgid = document.all(arguments[0].id);
	tbl = document.all(arguments[1]);
	if (arguments[2] == null) arguments[2] = '';
	arguments[2] = arguments[2] + '.';
	if (arguments[3] == null) arguments[3] = '_r';
	arguments[3] = arguments[3] + '.';
	if (arguments[0].src.indexOf(arguments[3]) == -1) return;
	for (var i=0; i < imgid.length; i++) {
		if (imgid[i] == arguments[0]) { imgid[i].src = imgid[i].src.substring(0,imgid[i].src.lastIndexOf(arguments[3])) + arguments[2] + imgid[i].src.substring(imgid[i].src.lastIndexOf('.')+1); tbl[i].style.display = ''; continue;}
		if (imgid[i].src.indexOf(arguments[3]) == -1) { imgid[i].src = imgid[i].src.substring(0,imgid[i].src.lastIndexOf(arguments[2])) + arguments[3] + imgid[i].src.substring(imgid[i].src.lastIndexOf('.')+1); tbl[i].style.display = 'none'; continue;}
	}
}