<!--
 SiteUrl = '';



url_list = new Array();
newwin_list = new Array();
window_list = new Array()
fullwin_list = new Array()

url_alert = new Array();

// ÇÃ·¹½ÃÆÄÀÏ¿¡¼­ ¸µÅ©°É¶§¿¡´Â
// javascript:go_site(1);
// ÀÌ·±½ÄÀ¸·Î ¸µÅ©°É¸é µË´Ï´Ù.
// ¹øÈ£´Â url_list[¹øÈ£]°ªÀ» ³ÖÀ¸¸é µË´Ï´Ù.




//##############################   ÆäÀÌÁö Á¤ÀÇ   ###############################



// top¸Þ´º½ÃÀÛ
 url_list[0] = SiteUrl + '../main/main.asp';    

// product¸Þ´º½ÃÀÛ
 url_list[11] = SiteUrl + '/main/public.asp?branch=13';
 url_list[12] = SiteUrl + '/main/autho.asp?branch=21';
 url_list[13] = SiteUrl + '/main/etc.asp?branch=51'; 
 url_list[14] = SiteUrl + '/main/computer.asp?branch=37';

 //url_list[21] = SiteUrl + '/book/b_total.asp?branch=13';
 //url_list[22] = SiteUrl + '/book/b_total.asp?branch=21';
 //url_list[23] = SiteUrl + '/book/b_total.asp?branch=51';
 //url_list[24] = SiteUrl + '/book/b_total.asp?branch=37';
//url_list[25] = SiteUrl + '/book/b_total.asp?branch=37';
 url_list[21] = SiteUrl + '/book/book_list.asp?Lcode=001&Mname=9±Þ°ø¹«¿ø';
 url_list[22] = SiteUrl + '/book/book_list.asp?Lcode=002&Mname=¹ý¹«»ç';
 url_list[23] = SiteUrl + '/book/book_list.asp?Lcode=003&Mname=¼­¹Ú»ç»ó½Ä';
 url_list[24] = SiteUrl + '/book/book_list.asp?Lcode=004&Mname=ÇÑÀÚ°ËÁ¤';
url_list[25] = SiteUrl + '/book/book_list.asp?Lcode=005&Mname=ÄÄÇ»ÅÍÀÚ°Ý½ÃÇè';
 //url_list[31] = SiteUrl + '/cart/select_list.asp?headcode=MB&mf_categoryType=A0';
// url_list[32] = SiteUrl + '/cart/select_list.asp?headcode=MC&mf_categoryType=A1';
// url_list[33] = SiteUrl + '/cart/select_list.asp?headcode=MD&mf_categoryType=A2';
 //url_list[34] = SiteUrl + '/cart/select_list.asp?headcode=ME&mf_categoryType=A8';
 //url_list[3] = '/movie/movie_list09_01.asp';
 url_list[31] = '/movie/movie_list09_01.asp?Mcode_no=01';
 url_list[32] = '/movie/movie_list09_01.asp?Mcode_no=02';
 url_list[33] = '/movie/movie_list09_01.asp?Mcode_no=03';
 url_list[34] = '/movie/movie_list09_01.asp?Mcode_no=04';
 url_list[35] = '/movie/movie_list09_01.asp?Mcode_no=05';
 url_list[36] = '/movie/movie_list09_01.asp?Mcode_no=06';
 url_list[37] = '/movie/movie_list09_01.asp?Mcode_no=07';

// url_list[41] = SiteUrl + '/mp3/data_main.asp?branch=100';
 //url_list[42] = SiteUrl + '/mp3/data_main.asp?branch=100';
 //url_list[43] = SiteUrl + '/mp3/data_main.asp?branch=100';
// url_list[44] = SiteUrl + '/mp3/data_main.asp?branch=100';
url_list[41] = SiteUrl + '/mp3study/mp3_list.asp?Mcode_no=01&Lcode_no=01';
 url_list[42] = SiteUrl + '/mp3study/mp3_list.asp?Mcode_no=01&Lcode_no=02';
 url_list[43] = SiteUrl + '/mp3study/mp3_list.asp?Mcode_no=01&Lcode_no=03';
 url_list[44] = SiteUrl + '/mp3study/mp3_list.asp?Mcode_no=02&Lcode_no=04';
 url_list[45] = SiteUrl + '/mp3study/mp3_list.asp?Mcode_no=05&Lcode_no=06';
 url_list[46] = SiteUrl + '/mp3study/mp3_list.asp?Mcode_no=04&Lcode_no=05';


 url_list[51] = SiteUrl + '/mem_board/date.asp?branch=100';

 url_list[61] = SiteUrl + '/market/date_list.asp';

 //url_list[71] = SiteUrl + '../book/feelbook.asp';
  url_list[71] = SiteUrl + '/book/book_list.asp?Lcode=004&Mname=ÇÑÀÚ°ËÁ¤';
 url_list[72] = SiteUrl + '';
 url_list[73] = SiteUrl + '';


// product¸Þ´º³¡



// »õÃ¢ÀÎ ¸Þ´º
//newwin_list[16] = 'true';



// À©µµ¿ì·Î ¿­¸®´Â°æ¿ì
//  window_list[56] = 'width=780 height=600 resizable=no';






//ÀüÃ¼È­¸éÀÎ ¸Þ´º
//fullwin_list[10] = 'true'



//##############################   ÆäÀÌÁö Á¤ÀÇ   ###############################










// »õÃ¢ÀÎ ¸Þ´º
newwin_list[101] = 'true';
newwin_list[102] = 'true';


// À©µµ¿ì·Î ¿­¸®´Â°æ¿ì
//window_list[17] = 'width=550 height=450 resizable=no';

//ÀüÃ¼È­¸éÀÎ ¸Þ´º
//fullwin_list[10] = 'true'





function go_site(num)
{
  if(url_list[num])
  {
// º»Ã¢À¸·Î ÀÌµ¿ÇÏ´Â °æ¿ì
    if(newwin_list[num] != 'true' && fullwin_list[num] != 'true' && (window_list[num] == '' || window_list[num] == null))
    {
    	location=url_list[num];
    }

// À©µµ¿ì Ã¢À¸·Î ¿­¸®´Â°æ¿ì
    if(window_list[num] != '' && window_list[num] != null)
    {
      window.open(url_list[num], 'new_win', window_list[num]);
    }


// ÀüÃ¼Ã¢À¸·Î ¿­¸®´Â °æ¿ì
    if(fullwin_list[num] == 'true')
    {
      window.open(url_list[num], 'new_win', 'width=1024 height=724 resizable=yes');
    }


// »õÃ¢À¸·Î ¿­¸®´Â°æ¿ì
    if(newwin_list[num] == 'true')
    {
      window.open(url_list[num], '_blank', 'directories=yes, titlebar=yes, toolbar=yes, menubar=yes, statusbar=yes, scrollbars=yes, resizable=yes, location=yes, status=yes');
    }
  }else if(url_alert[num]) {		// Alert Ã¢ ¶ç¿ï¶§
	  //alert(url_alert[num]);
	  window.alert("ÁØºñÁßÀÔ´Ï´Ù.");
  }
}


function namosw_goto_byselect(sel, targetstr)
{
  var index = sel.selectedIndex;
  if (sel.options[index].value != '') {
     if (targetstr == 'blank') {
       window.open(sel.options[index].value, 'win1');
     } else {
       var frameobj;
       if (targetstr == '') targetstr = 'self';
       if ((frameobj = eval(targetstr)) != null)
         frameobj.location = sel.options[index].value;
     }
  }
}



function namosw_goto_byselect(sel, targetstr)
{
  var index = sel.selectedIndex;
  if (sel.options[index].value != '') {
     if (targetstr == 'blank') {
       window.open(sel.options[index].value, 'win1');
     } else {
       var frameobj;
       if (targetstr == '') targetstr = 'self';
       if ((frameobj = eval(targetstr)) != null)
         frameobj.location = sel.options[index].value;
     }
  }
}


var isDOM = (document.getElementById ? true : false);
var isIE4 = ((document.all && !isDOM) ? true : false);
var isNS4 = (document.layers ? true : false);
var isNS = navigator.appName == "Netscape";

function getRef(id) {
	if (isDOM) return document.getElementById(id);
	if (isIE4) return document.all[id];
	if (isNS4) return document.layers[id];
}

function getSty(id) {
	x = getRef(id);
	return (isNS4 ? getRef(id) : getRef(id).style);
}

var scrollerHeight = 88;
var puaseBetweenImages = 3000;
var imageIdx = 0;

function moveRightEdge() {
	var yMenuFrom, yMenuTo, yOffset, timeoutNextCheck;

	if (isNS4) {
		yMenuFrom   = divMenu.top;
		yMenuTo     = windows.pageYOffset + 58;   // À§ÂÊ À§Ä¡
	} else if (isDOM) {
		yMenuFrom   = parseInt (divMenu.style.top, 10);
		yMenuTo     = (isNS ? window.pageYOffset : document.body.scrollTop) + 58; // À§ÂÊ À§Ä¡
	}
	timeoutNextCheck = 253;

	if (yMenuFrom != yMenuTo) {
		yOffset = Math.ceil(Math.abs(yMenuTo - yMenuFrom) / 20);
		if (yMenuTo < yMenuFrom)
			yOffset = -yOffset;
		if (isNS4)
			divMenu.top += yOffset;
		else if (isDOM)
			divMenu.style.top = parseInt (divMenu.style.top, 10) + yOffset;
			timeoutNextCheck = 10;
	}
	setTimeout ("moveRightEdge()", timeoutNextCheck);
}


//-->


