<!--
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

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];}
}

// ÆäÀÌÁö ÀÌµ¿
function gotoURL(name)
{
    switch (name)
    {
    case 'main':
        self.location.href = '../Main/Main.html';			// Ã³À½À¸·Î
        break;
    case 'sitemap':
        self.location.href = '../Sitemap/Sitemap.html';			// Ã³À½À¸·Î
        break;
    case 'info_01':
        self.location.href = '../Info/Info01.html';			//º´¿ø¼Ò°³__º´¿ø¾È³»
        break;
    case 'doctor_01':
        self.location.href = '../Info/Info02.html';			//º´¿ø¼Ò°³__ÀÎ»ç¸»
        break;
    case 'info_03':
        self.location.href = '../Info/Info03.html';			//º´¿ø¼Ò°³__Áø·á°ú¾È³»
        break;
    case 'info_04':
        self.location.href = '../Info/Info04.html';			//º´¿ø¼Ò°³__Ã£¾Æ¿À½Ã´Â±æ
        break;
    case 'info_05':
        self.location.href = '../Info/Info05.html';			//º´¿ø¼Ò°³__Ã£¾Æ¿À½Ã´Â±æ
        break;
    case 'haifu_01': 
        self.location.href = '../Haifu/Haifu01.html';			//ÇÏÀÌÇÁ³ªÀÌÇÁ¼¾ÅÍ__¼¾ÅÍ¼Ò°³
        break;
    case 'haifu_02': 
        self.location.href = '../Haifu/Haifu02.html';			//ÇÏÀÌÇÁ³ªÀÌÇÁ¼¾ÅÍ__Àåºñ¼Ò°³
        break;
    case 'haifu_03': 
        self.location.href = '../Haifu/Haifu03.html';			//ÇÏÀÌÇÁ³ªÀÌÇÁ¼¾ÅÍ__Ä¡·áºÐ¾ß
        break;
    case 'haifu_04': 
        self.location.href = '../Haifu/Haifu04.html';			//ÇÏÀÌÇÁ³ªÀÌÇÁ¼¾ÅÍ__Ä¡·áÁõ·Ê
        break;
    case 'haifu_05': 
        self.location.href = '../Haifu/Haifu05.html';			//ÇÏÀÌÇÁ³ªÀÌÇÁ¼¾ÅÍ__°ü·ÃÀÚ·á
        break;
    case 'haifu_06': 
        self.location.href = '../Haifu/Haifu06.html';			//ÇÏÀÌÇÁ³ªÀÌÇÁ¼¾ÅÍ__°ü·ÃÀÚ·á
        break;
    case 'haifu_07': 
        self.location.href = '../Haifu/Haifu07.html';			//ÇÏÀÌÇÁ³ªÀÌÇÁ¼¾ÅÍ__°ü·ÃÀÚ·á
        break;
    case 'haifu_08': 
        self.location.href = '../Haifu/Haifu08.html';			//ÇÏÀÌÇÁ³ªÀÌÇÁ¼¾ÅÍ__°ü·ÃÀÚ·á
        break;
    case 'haifu_06': 
        self.location.href = '../Haifu/Haifu06.html';			//ÇÏÀÌÇÁ³ªÀÌÇÁ¼¾ÅÍ__ÇÏÀÌÇÁ³ªÀÌÇÁ»ó´ã
        break;
    case 'cancer_01': 
        self.location.href = '../Cancer/Cancer01.html';			//¾ÏÁ¤º¸ - ¾ÏÁ¤º¸
        break;
    case 'cancer_02': 
        self.location.href = '../Cancer/Cancer02.html';			//¾ÏÁ¤º¸ - ¾ÏÀÚ·á½Ç
        break;
    case 'reservation_01': 
        self.location.href = '../Reservation/Reservation01.html';			//Áø·áÀýÂ÷
        break;
    case 'reservation_02': 
        self.location.href = '../Reservation/Reservation02.html';			//Áø·á¿¹¾à¾È³»
        break;
    case 'reservation_03': 
        self.location.href = '../Reservation/Reservation03.html';			//
        break;
    case 'reservation_04': 
        self.location.href = '../Reservation/Reservation04.html';			//¼­·ù¹ß±Þ¾È³»
        break;
	case 'reservation_05': 
        self.location.href = '../Reservation/Reservation05.html';			//ºñ±Þ¿© Ç×¸ñ°í½Ã
        break;
    case 'medical_01': 
        self.location.href = '../Wellbeing/Wellbeing04.html';		//º¸¾È´ëÃ¼ÀÇÇÐ
        break;
    case 'wellbeing_01': 
        self.location.href = '../Wellbeing/Wellbeing01.html';			//¾ÏÁ¤º¸ - ¾ÏÁ¤º¸
        break;
    case 'wellbeing_02': 
        self.location.href = '../Wellbeing/Wellbeing02.html';			//¾ÏÁ¤º¸ - ¾ÏÁ¤º¸
        break;
    case 'wellbeing_03': 
        self.location.href = '../Wellbeing/Wellbeing03.html';			//¾ÏÁ¤º¸ - ¾ÏÁ¤º¸
        break;
    case 'wellbeing_04': 
        self.location.href = '../Wellbeing/Wellbeing04.html';			//¾ÏÁ¤º¸ - ¾ÏÁ¤º¸
        break;
    case 'wellbeing_05': 
        self.location.href = '../Wellbeing/Wellbeing05.html';			//¾ÏÁ¤º¸ - ¾ÏÁ¤º¸
        break;
    case 'wellbeing_06': 
        self.location.href = '../Wellbeing/Wellbeing06.html';			//¾ÏÁ¤º¸ - ¾ÏÁ¤º¸
        break;
    case 'wellbeing_07': 
        self.location.href = '../Wellbeing/Wellbeing07.html';			//¾ÏÁ¤º¸ - ¾ÏÁ¤º¸
        break;
    case 'wellbeing_08': 
        self.location.href = '../Wellbeing/Wellbeing08.html';			//¾ÏÁ¤º¸ - ¾ÏÁ¤º¸
        break;
    case 'wellbeing_09': 
        self.location.href = '../Wellbeing/Wellbeing09.html';			//¾ÏÁ¤º¸ - ¾ÏÁ¤º¸
        break;
    case 'wellbeing_10': 
        self.location.href = '../Wellbeing/Wellbeing10.html';			//¾ÏÁ¤º¸ - ¾ÏÁ¤º¸
        break;
    case 'total_00': 
        self.location.href = '../Total/Total_0.html';			//Á¾°Ë - 2007³â Á¾°Ë¾È³»
        break;
    case 'total_01': 
        self.location.href = '../Total/Total_1.html';			//Á¾°Ë - °ËÁø¼¾ÅÍ ¼Ò°³
        break;
    case 'total_02': 
        self.location.href = '../Total/Total_2.html';			//Á¾°Ë - °ËÁø ÇÊ¿ä¼º
        break;
    case 'total_03': 
        self.location.href = '../Total/Total_3.html';			//Á¾°Ë - »ý¾ÖÀüÈ¯±â
        break;
    case 'total_04': 
        self.location.href = '../Total/Total_4.html';			//Á¾°Ë - Ç×¸ñ ¾È³»
        break;
    case 'total_05': 
        self.location.href = '../Total/Total_5.html';			//Á¾°Ë - ¼±ÅÃ °ËÁø
        break;
    case 'total_06': 
        self.location.href = '../Total/Total_6.html';			//Á¾°Ë - °ËÁø ÀýÂ÷
        break;
    case 'total_07': 
        self.location.href = '../Total/Total_7.html';			//Á¾°Ë - À¯ÀÇ»çÇ×
        break;
    case 'total_08': 
        self.location.href = '../Total/HC_list.html';			//Á¾°Ë - À¯ÀÇ»çÇ×
        break;  
    case 'clinic_01': 
        self.location.href = '../Clinic/Clinic01.html';			//¾ÏÁ¤º¸ - ¾ÏÁ¤º¸
        break;
    case 'clinic_02': 
        self.location.href = '../Clinic/Clinic02.html';			//¾ÏÁ¤º¸ - ¾ÏÁ¤º¸
        break;
    case 'clinic_03': 
        self.location.href = '../Clinic/Clinic03.html';			//¾ÏÁ¤º¸ - ¾ÏÁ¤º¸
        break;
    case 'clinic_04': 
        self.location.href = '../Clinic/Clinic04.html';			//¾ÏÁ¤º¸ - ¾ÏÁ¤º¸
        break;
    case 'clinic_05': 
        self.location.href = '../Clinic/Clinic05.html';			//¾ÏÁ¤º¸ - ¾ÏÁ¤º¸
        break;
    case 'clinic_06': 
        self.location.href = '../Clinic/Clinic06.html';			//¾ÏÁ¤º¸ - ¾ÏÁ¤º¸
        break;
    case 'clinic_07': 
        self.location.href = '../Clinic/Clinic07.html';			//¾ÏÁ¤º¸ - ¾ÏÁ¤º¸
        break;
    case 'clinic_08': 
        self.location.href = '../Clinic/Clinic08.html';			//¾ÏÁ¤º¸ - ¾ÏÁ¤º¸
        break;
    case 'clinic_09': 
        self.location.href = '../Clinic/Clinic09.html';			//¾ÏÁ¤º¸ - ¾ÏÁ¤º¸
        break;
    case 'clinic_10': 
        self.location.href = '../Clinic/Clinic10.html';			//¾ÏÁ¤º¸ - ¾ÏÁ¤º¸
        break;
    case 'community_00': 
        self.location.href = '../Community/Community00.html';			//¾ÏÁ¤º¸ - ¾ÏÁ¤º¸
        break;
    case 'community_01': 
        self.location.href = '../Community/Community01.html';			//¾ÏÁ¤º¸ - ¾ÏÁ¤º¸
        break;
    case 'community_02': 
        self.location.href = '../Community/Community02.html';			//¾ÏÁ¤º¸ - ¾ÏÁ¤º¸
        break;
    case 'community_03': 
        self.location.href = '../Community/Community03.html';			//¾ÏÁ¤º¸ - ¾ÏÁ¤º¸
        break;
    case 'community_04': 
        self.location.href = '../Community/Community04.html';			//¾ÏÁ¤º¸ - ¾ÏÁ¤º¸
        break;
    case 'community_05': 
        self.location.href = '../Community/Community05.html';			//¾ÏÁ¤º¸ - ¾ÏÁ¤º¸
        break;
    case 'community_06': 
        self.location.href = '../Community/Community06.html';			//¾ÏÁ¤º¸ - ¾ÏÁ¤º¸
        break;
    case 'community_07': 
        self.location.href = '../Community/Community07.html';			//Ä¿¹Â´ÏÆ¼ - ÇÐ¼ú&±³À°
        break;
     case 'community_08': 
        self.location.href = '../Community/Community08.html';			//Ä¿¹Â´ÏÆ¼ - »çÈ¸±â¿©
        break;
    case 'AGREEMENT' :
        self.location.href = '../Member/MemberAgreement.php';		// È¸¿ø°¡ÀÔ__È¸¿ø¾à°ü
        break;
    case 'JOIN' :
        self.location.href = '../Member/Register.php';				// È¸¿ø°¡ÀÔ__ÀÔ·ÂÆû
        break;
    case 'FIND' :
        self.location.href = '../Member/Search.php?nPage=1';        // È¸¿ø°¡ÀÔ_¾ÆÀÌµðÃ£±â
        break;
    case 'Support_01' :
        self.location.href = '../Support/Support.html';        // È¸¿ø°¡ÀÔ_¾ÆÀÌµðÃ£±â
        break;
    case 'Support_02' :
        self.location.href = '../Support/Media.html';        // È¸¿ø°¡ÀÔ_¾ÆÀÌµðÃ£±â
        break;
    case 'Arki_01' :
        self.location.href = '../Arki/Arki_1.html';        // ÀÎ°ø½ÅÀå½Ç
        break;
    case 'Arki_02' :
        self.location.href = '../Arki/Arki_2.html';        // ÀÎ°ø½ÅÀå½Ç-¸¸¼º½ÅºÎÀüÁõ
        break;
    case 'Arki_03' :
        self.location.href = '../Arki/Arki_3.html';        // ÀÎ°ø½ÅÀå½Ç-Ç÷¾×Åõ¼®
        break;
    case 'Arki_04' :
        self.location.href = '../Arki/Arki_4.html';        // ÀÎ°ø½ÅÀå½Ç-º¹¸¸Åõ¼®
        break;
    case 'Arki_05' :
        self.location.href = '../Arki/Arki_5.html';        // ÀÎ°ø½ÅÀå½Ç-½ÅÀåÀÌ½Ä
        break;
    case 'Arki_06' :
        self.location.href = '../Arki/Arki_6.html';        // ÀÎ°ø½ÅÀå½Ç-»ýÈ°°ü¸®¹ý
        break;
    case 'Arki_07' :
        self.location.href = '../Arki/Arki_7.html';        // ÀÎ°ø½ÅÀå½Ç-½ÄÀÌ¿ä¹ý
        break;
    case 'therapy_01' :
        self.location.href = '../Therapy/Hair.html';        // Å×¶óÇÇ-¸ð¹ß°Ë»ç
        break;
    case 'therapy_02' :
        self.location.href = '../Therapy/Chelation.html';        // Å×¶óÇÇ-Å³·¹ÀÌ¼Ç
        break;
        
    case 'MDCT_01' :
        self.location.href = '../MDCT/MDCT_1.html';        // MDCT
        break;
    case 'MDCT_02' :
        self.location.href = '../MDCT/MDCT_2.html';        // MDCT
        break;
    case 'MDCT_03' :
        self.location.href = '../MDCT/MDCT_3.html';        // ÀÎ°ø½ÅÀå½Ç-Ç÷¾×Åõ¼®
        break;
    case 'MDCT_04' :
        self.location.href = '../MDCT/MDCT_4.html';        // ÀÎ°ø½ÅÀå½Ç-º¹¸¸Åõ¼®
        break;
    case 'MDCT_05' :
        self.location.href = '../MDCT/MDCT_5.html';        // ÀÎ°ø½ÅÀå½Ç-½ÅÀåÀÌ½Ä
        break;
    case 'MDCT_06' :
        self.location.href = '../MDCT/MDCT_6.html';        // ÀÎ°ø½ÅÀå½Ç-»ýÈ°°ü¸®¹ý
        break;
    case 'MDCT_07' :
        self.location.href = '../MDCT/MDCT_7.html';        // ÀÎ°ø½ÅÀå½Ç-½ÄÀÌ¿ä¹ý
        break;
    case 'MDCT_08' :
        self.location.href = '../MDCT/MDCT_8.html';        // ÀÎ°ø½ÅÀå½Ç-»ýÈ°°ü¸®¹ý
        break;
    case 'MDCT_09' :
        self.location.href = '../MDCT/MDCT_9.html';        // ÀÎ°ø½ÅÀå½Ç-½ÄÀÌ¿ä¹ý
        break;    
 
    default:
        alert(name + ' ÆäÀÌÁö°¡ ¾ø½À´Ï´Ù.');
    }
}


var isDOM = (document.getElementById ? true : false); 
var isIE4 = ((document.all && !isDOM) ? true : false);
var isNS4 = (document.layers ? true : false);

function getRef(id) {
	if (isDOM) return document.getElementById(id);
	if (isIE4) return document.all[id];
	if (isNS4) return document.layers[id];
}

var isNS = navigator.appName == "Netscape";
function moveRightEdge() {
	var yMenuFrom, yMenuTo, yOffset, timeoutNextCheck;

	if (isNS4) {
		yMenuFrom   = divMenu.top;
		yMenuTo     = windows.pageYOffset + 285;   // À§ÂÊ À§Ä¡
	} else if (isDOM) {
		yMenuFrom   = parseInt(divMenu.style.top, 10);
		yMenuTo     = (isNS ? window.pageYOffset : document.body.scrollTop) + 285; // À§ÂÊ À§Ä¡
	}
	timeoutNextCheck = 100;

	if (yMenuFrom != yMenuTo) {
		yOffset = Math.ceil(Math.abs(yMenuTo - yMenuFrom) / 50);
		if (yMenuTo < yMenuFrom)
			yOffset = -yOffset;
		if (isNS4)
			divMenu.top += yOffset;
		else if (isDOM)
			divMenu.style.top = parseInt (divMenu.style.top, 10) + yOffset;
			timeoutNextCheck = 20;
	}
	setTimeout ("moveRightEdge()", timeoutNextCheck);
}
function bannerScroll() {
	if (isNS4) {
		var divMenu = document["divMenu"];
		divMenu.top = top.pageYOffset + 300;
		divMenu.visibility = "visible";
		moveRightEdge();
	} else if (isDOM) {
		var divMenu = getRef('divMenu');
		divMenu.style.top = (isNS ? window.pageYOffset : document.body.scrollTop) + 300;
		divMenu.style.visibility = "visible";
		moveRightEdge();
	}
}
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features,scrollbars=1);
}

function VODnews(newFlag, allFlag, adfURL, smiURL, startTime, endTime, scriptURL, listURL) {

	allFlag = (startTime == "")? "Y" : allFlag;
	startTime  = (startTime == "")? 0 : startTime;
	endTime  = (endTime == "")? 0 : endTime;

	var url = "http://script.imnews.imbc.com/Vod_Player/Vod_Player.asp?vall=" + allFlag + "&vurl=" + adfURL + "&surl=" + smiURL + "&stime=" + startTime + "&etime=" + endTime + "&clist=" + listURL + "&cContent=" + scriptURL;

	if (newFlag == "Y") {
		var shape = "menubar=no,scrollbars=yes,resizable=yes,";
		shape += "toolbar=no,location=no,directories=no,status=no,";
		//shape += (scriptURL == "" && listURL == "")? "width=412, height=370" : "width=675,height=510";
		shape += (scriptURL == "" && listURL == "")? ((smiURL == "")? "width=365, height=510" : "width=425, height=570" ) : ((smiURL == "")? "width=675,height=510" : "width=700,height=570");

		window.open(url, "moviePage", shape);
	} else {
		self.document.location = url;
	}

}

//-->
