/**************************************************
ÇÃ·¡½¬ GNB ¸µÅ© °ü·Ã
**************************************************/

//eTGÃß°¡------------
var myUrl = location.href;
myUrl = myUrl.substring(myUrl.indexOf("//") + 2) ;
myUrl = myUrl.substring(0,myUrl.indexOf("/")) ;
myUrl = "http://"+ myUrl; //[test]½Ç¼­¹ö ¾÷·Îµå½Ã º¯°æ ¹× Àû¿ë¹üÀ§ Àç»êÁ¤
//--------------------


/*******************************/
/****  ´Ù½ÃÅ×Å© ±â¾÷ ****/
/*******************************/
/** ±â¾÷Á¤º¸ **/
function company()  {		window.location.href = "/company2/ceo.php";		}
function company_1_s1()  {		window.location.href = "/company2/ceo.php";		}
function company_1_s2()  {		window.location.href = "/company2/vision.php";		}
function company_1_s3()  {		window.location.href = "/company2/activity.php";		}
function company_1_s4()  {		window.location.href = "/company2/history.php";		}
function company_1_s5()  {		window.location.href = "/company2/org.php";		}
function company_2_s1()  {		window.location.href = "/company2/rnd_0100.php";		}
function company_2_s2()  {		window.location.href = "/company2/rnd_0101.php";		}
function company_2_s3()  {		window.location.href = "/company2/rnd_0102.php";		}
function company_2_s4()  {		window.location.href = "/company2/rnd_0103.php";		}
function company_3_s1()  {		window.location.href = "/company2/recruit_03.php";		}
function company_3_s2()  {		window.location.href = "/company2/recruit_01.php";		}
function company_3_s3()  {		window.location.href = "/job/list.php?tbl_name=job";		}
function company_3_s4()  {		window.location.href = "/company2/rnd_0103.php";		}

/** »ç¾÷¿µ¿ª **/
function bsarea()  {		window.location.href = "/bs2/bs_0101.php";		}
function bsarea_1_s1()  {		window.location.href = "/bs2/bs_0101.php";		}
function bsarea_1_s2()  {		window.location.href = "/bs2/bs_0102.php";		}
function bsarea_2_s1()  {		window.location.href = "/bs2/bs_0201.php";		}
function bsarea_2_s2()  {		window.location.href = "/bs2/bs_0202.php";		}
function bsarea_5()  {		window.location.href = "/bs2/bs_0202.php";		}
function bsarea_6()  {		window.location.href = "/bs2/bs_0202.php";		}
function bsarea_7()  {		window.location.href = "/bs2/bs_0202.php";		}
function bsarea_8()  {		window.location.href = "/bs2/bs_0202.php";		}
function bsarea_9()  {		window.location.href = "/bs2/bs_0202.php";		}
function bsarea_10()  {		window.location.href = "/bs2/bs_0202.php";		}
function bsarea_11()  {		window.location.href = "/bs2/bs_0202.php";		}

/** ÅõÀÚÁ¤º¸ **/
function ir()  {		 window.location.href = "/ir2/ir_0101.php";		}
function ir_1()  {		window.location.href = "/ir2/ir_0101.php";		}
	function ir_1_s1()  {		window.location.href = "/ir2/ir_0101.php";		} /* °³¿ä */
	function ir_1_s2()  {		window.location.href = "/ir2/ir_0102.php";		} /* ¿Ü°ü */

function ir_2()  {		window.location.href = "/notice/notice.php?tbl_name=ir";		}
	function ir_2_s1()  {		window.location.href = "/ir2/300c_diesel/intro/intro.php";		} /* °³¿ä */
	function ir_2_s2()  {		window.location.href = "/ir2/300c_diesel/spec/spec.php";		} /* Á¦¿ø */
	function ir_2_s3()  {		window.location.href = "/ir2/300c_diesel/spec/spec.php";		} /* Á¦¿ø */

function ir_3()  {		window.location.href = "/ir2/ir_0301.php";		}
	function ir_3_s1()  {		window.location.href = "/ir2/pacifica/intro/intro.php";		} /* °³¿ä */
	function ir_3_s2()  {		window.location.href = "/ir2/pacifica/exterior/exterior.php";		} /* ¿Ü°ü */
	function ir_3_s3()  {		window.location.href = "/ir2/pacifica/interior/interior.php";		} /* ³»Àå */
	function ir_3_s4()  {		window.location.href = "/ir2/pacifica/spec/spec.php";		} /* Á¦¿ø */
	function ir_3_s5()  {		window.location.href = "/ir2/pacifica/safety/safety.php";		} /* ¾ÈÀü */

function ir_4()  {		window.location.href = "/ir2/ir_0401.php";		}
	function ir_4_s1()  {		window.location.href = "/ir2/pt_cruiser/intro/intro.php";		} /* °³¿ä */
	function ir_4_s2()  {		window.location.href = "/ir2/pt_cruiser/exterior/exterior.php";		} /* ¿Ü°ü */
	function ir_4_s3()  {		window.location.href = "/ir2/pt_cruiser/interior/interior.php";		} /* ³»Àå */
	function ir_4_s4()  {		window.location.href = "/ir2/pt_cruiser/spec/spec.php";		} /* Á¦¿ø */
	function ir_4_s5()  {		window.location.href = "/ir2/pt_cruiser/performance/performance.php";		} /* ¼º´É */
	function ir_4_s6()  {		window.location.href = "/ir2/pt_cruiser/safety/safety.php";		} /* ¾ÈÀü */

function ir_5()  {		window.location.href = "/ir2/pt_cruiser_cabrio/intro/intro.php";		}
	function ir_5_s1()  {		window.location.href = "/ir2/pt_cruiser_cabrio/intro/intro.php";		} /* °³¿ä */
	function ir_5_s2()  {		window.location.href = "/ir2/pt_cruiser_cabrio/exterior/exterior.php";		} /* ¿Ü°ü */
	function ir_5_s3()  {		window.location.href = "/ir2/pt_cruiser_cabrio/interior/interior.php";		} /* ³»Àå */
	function ir_5_s4()  {		window.location.href = "/ir2/pt_cruiser_cabrio/spec/spec.php";		} /* Á¦¿ø */
	function ir_5_s5()  {		window.location.href = "/ir2/pt_cruiser_cabrio/performance/performance.php";		} /* ¼º´É */
	function ir_5_s6()  {		window.location.href = "/ir2/pt_cruiser_cabrio/safety/safety.php";		} /* ¾ÈÀü */

function ir_6()  {		window.location.href = "/ir2/grand_voyager/intro/intro.php";		}
	function ir_6_s1()  {		window.location.href = "/ir2/grand_voyager/intro/intro.php";		} /* °³¿ä */
	function ir_6_s2()  {		window.location.href = "/ir2/grand_voyager/interior/interior.php";		} /* ³»Àå */
	function ir_6_s3()  {		window.location.href = "/ir2/grand_voyager/spec/spec.php";		} /* Á¦¿ø */
	function ir_6_s4()  {		window.location.href = "/ir2/grand_voyager/performance/performance.php";		} /* ¼º´É */
	function ir_6_s5()  {		window.location.href = "/ir2/grand_voyager/safety/safety.php";		} /* ¾ÈÀü */

function ir_7()  {		window.location.href = "/ir2/crossfire_roadster/intro/intro.php";		}
	function ir_7_s1()  {		window.location.href = "/ir2/crossfire_roadster/intro/intro.php";		} /* °³¿ä */
	function ir_7_s2()  {		window.location.href = "/ir2/crossfire_roadster/exterior/exterior.php";		} /* ¿Ü°ü */
	function ir_7_s3()  {		window.location.href = "/ir2/crossfire_roadster/interior/interior.php";		} /* ³»Àå */
	function ir_7_s4()  {		window.location.href = "/ir2/crossfire_roadster/spec/spec.php";		} /* Á¦¿ø */
	function ir_7_s5()  {		window.location.href = "/ir2/crossfire_roadster/performance/performance.php";		} /* ¼º´É */
	function ir_7_s6()  {		window.location.href = "/ir2/crossfire_roadster/safety/safety.php";		} /* ¾ÈÀü */

function ir_8()  {		window.location.href = "/ir2/crossfire_coupe/intro/intro.php";		}
	function ir_8_s1()  {		window.location.href = "/ir2/crossfire_coupe/intro/intro.php";		} /* °³¿ä */
	function ir_8_s2()  {		window.location.href = "/ir2/crossfire_coupe/exterior/exterior.php";		} /* ¿Ü°ü */
	function ir_8_s3()  {		window.location.href = "/ir2/crossfire_coupe/interior/interior.php";		} /* ³»Àå */
	function ir_8_s4()  {		window.location.href = "/ir2/crossfire_coupe/spec/spec.php";		} /* Á¦¿ø */
	function ir_8_s5()  {		window.location.href = "/ir2/crossfire_coupe/performance/performance.php";		} /* ¼º´É */
	function ir_8_s6()  {		window.location.href = "/ir2/crossfire_coupe/safety/safety.php";		} /* ¾ÈÀü */

function ir_9()  {		window.location.href = "/ir2/sebring_convertible/intro/intro.php";		}
	function ir_9_s1()  {		window.location.href = "/ir2/sebring_convertible/intro/intro.php";		} /* °³¿ä */
	function ir_9_s2()  {		window.location.href = "/ir2/sebring_convertible/exterior/exterior.php";		} /* ¿Ü°ü */
	function ir_9_s3()  {		window.location.href = "/ir2/sebring_convertible/interior/interior.php";		} /* ³»Àå */
	function ir_9_s4()  {		window.location.href = "/ir2/sebring_convertible/spec/spec.php";		} /* Á¦¿ø */
	function ir_9_s5()  {		window.location.href = "/ir2/sebring_convertible/performance/performance.php";		} /* ¼º´É */
	function ir_9_s6()  {		window.location.href = "/ir2/sebring_convertible/safety/safety.php";		} /* ¾ÈÀü */

function ir_10()  {		window.location.href = "/ir2/sebring_sedan/intro/intro.php";		}
	function ir_10_s1()  {		window.location.href = "/ir2/sebring_sedan/intro/intro.php";		} /* °³¿ä */
	function ir_10_s2()  {		window.location.href = "/ir2/sebring_sedan/exterior/exterior.php";		} /* ¿Ü°ü */
	function ir_10_s3()  {		window.location.href = "/ir2/sebring_sedan/interior/interior.php";		} /* ³»Àå */
	function ir_10_s4()  {		window.location.href = "/ir2/sebring_sedan/spec/spec.php";		} /* Á¦¿ø */
	function ir_10_s5()  {		window.location.href = "/ir2/sebring_sedan/performance/performance.php";		} /* ¼º´É */
	function ir_10_s6()  {		window.location.href = "/ir2/sebring_sedan/safety/safety.php";		} /* ¾ÈÀü */

function ir_11()  {		window.location.href = "/ir2/accessory/accessory.php";		}
function ir_12()  {		window.location.href = "/ir2/brochure/brochure.php";		}
function ir_13()  {		window.location.href = "/ir2/compare/compare_select.php";		}

/**  È«º¸¼¾ÅÍ **/
function pr_()  {		window.location.href = "/notice/notice.php?tbl_name=notice";		}
function pr_1()  {		window.location.href = "/notice/notice.php?tbl_name=notice";		}
function pr_2()  {		window.location.href = "/notice/notice.php?tbl_name=news";		}
function pr_3()  {		window.location.href = "/video/index.html";		}
//function pr_4()  {		window.location.href = "/notice/commander/intro/intro.php";		}
function pr_5()  {		window.location.href = "/pr2/ci.php";		}
function pr_6()  {		window.location.href = "/notice/brochure/brochure.php";		}
function notice_7()  {		window.location.href = "/notice/compare/compare_select.php";		}

/**  °í°´Áö¿ø **/
function customer()  {		window.location.href = "/notice/faq.php";		}
function customer_1()  {		window.location.href = "/notice/faq.php";		}
function customer_2()  {		window.location.href = "/Qna/list.php?page=";		}
function customer_3()  {		window.location.href = "/notice/brench.php";		}
function customer_4()  {		window.location.href = "/notice/as.php";		}
function customer_5()  {		window.location.href = "/notice/map.php";		}
function customer_6()  {		window.location.href = "/notice/sitemap.php";		}

/** About Chrysler **/
function about()  {		window.location.href = "/about/overview/overview.php";		}
function about_1()  {		window.location.href = "/about/overview/overview.php";		}
function about_2()  {		window.location.href = "/about/history/history.php";		}
function about_3()  {		window.location.href = "/about/conceptcar/car01.php";		}
function about_4()  {		window.location.href = "/about/adgallery/gallery_list.php";		}
function about_5()  {		window.location.href = "/about/download/download.php";		}

/** Mypage **/
function mypage()  {		window.location.href = "/mypage/main.php" ;		}
function mypage_1()  {		window.location.href = "/mypage/reglist/my_request_list.php";		}
function mypage_2()  {		window.location.href = "/mypage/ask/my_inquire_list.php";		}
function mypage_3()  {		window.location.href = myUrl + "/mypage/modify/member_modify.php";		}
function mypage_4()  {		window.location.href = myUrl + "/mypage/secede/member_out.php";		}

/** Membership **/
function member_1()  {		window.location.href = myUrl + "/etc/login/login.php";		}
function member_2()  {		window.location.href = "/etc/member/idfind.php";		}
function member_3()  {		window.location.href = myUrl + "/etc/member/join_step01.php";		}
function member_4()  {		window.location.href = "/etc/member/clause.php";		}
function member_5()  {		window.location.href = "/etc/member/privacy.php";		}
function member_6()  {		sitemap()		}

/** OwnersClub **/
function ownerclub_1()  {		window.location.href = "/etc/ownerclub/notice_list.php";		}
function ownerclub_2()  {		window.location.href = "/etc/ownerclub/freeboard_list.php";		}
function ownersclub()  {		ownerclub_1()		}


function home()  {		window.location.href = "/default.php";		}
function login()  {		window.location.href = myUrl + "/etc/login/login.php";		}
function logout()  {		window.location.href = "/etc/login/logout.php";		} //·Î±×¾Æ¿ô Ãß°¡
function membership()  {		window.location.href = myUrl + "/etc/member/join_step01.php";		}
function sitemap()	  {		window.location.href = "/etc/sitemap/sitemap.php";		}

function brand01()	  {		window.location.href = "/default.php";		}
function brand02()	  {		window.location.href = "/default.php";		}
function brand03()	  {		window.location.href = "/default.php";		}
function brand04()	  {		window.open('http://www.s-movilion.com','_blank')		}
/*//////////////////////////////////////////////////////////////////////////////////////*/









function newImage(arg) {
	if (document.images) {
		rslt = new Image();
		rslt.src = arg;
		return rslt;
	}
}

function changeImages() {
	if (document.images && (preloadFlag == true)) {
		for (var i=0; i<changeImages.arguments.length; i+=2) {
			document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
		}
	}
}

var preloadFlag = false;
function preloadImages() {
	if (document.images) {
		Left3_02_over = newImage("../Main/image/Left3_02-over.gif");
		Left3_03_over = newImage("../Main/image/Left3_03-over.gif");
		Left3_04_over = newImage("../Main/image/Left3_04-over.gif");
		Left3_05_over = newImage("../Main/image/Left3_05-over.gif");
		Left3_06_over = newImage("../Main/image/Left3_06-over.gif");
		preloadFlag = true;
	}
}
preloadImages();

function scroll_h(){ 
    var current_h = document.body.scrollTop; 
   	document.all.quick.style.top = current_h + document.body.clientHeight-110 ;
}

function surfto(form) { 
  if(form.div.value==""){
    return false;
  }
	var myindex=form.div.selectedIndex 
	location.href = form.div.options[myindex].value;					//ÀÚ½Å
	//window.open(form.div.options[myindex].value, "", "");				//»õÃ¢
	form.div.selectedIndex=0;
  //if (0) this.selectedIndex=0;   ///ÀÌºÎºÐÀÌ Ç×»ó Ã¹¹øÂ° ¸Þ´º»óÅÂ·Î ¸¸µç´Ù.
}


	
	


// ¸µÅ©Á¡¼±ÆÐÄ¡
function allblur() {
 for (i = 0; i < document.links.length; i++)
	document.links[i].onfocus = document.links[i].blur;
}

function bluring(){
if(event.srcElement.tagName=="A"||event.srcElement.tagName=="IMG") document.body.focus();
}
//document.onfocusin=bluring;


// Window_Close
function CloseWindow() {
	window.close();
}

function goLogin(){
//	window.location = "/member/loginInput.do?referer="+location.href;
	var urlStr = location.href;
	var index1 = urlStr.lastIndexOf("coleman.co.kr");
	var tempUrlStr = urlStr.substring(index1 + 13, urlStr.length);
	
	var arrStr = tempUrlStr.split("&");
	var str = "";
	for(var i = 0; i < arrStr.length; i++) {
		str = str + arrStr[i];
		if(i < arrStr.length - 1) {
			str = str + ":";
		}
	}

	window.location = "/member/loginInput.do?referer="+ str;
}
// Window_Open ½ºÅ©·ÑÀÌ ¾øÀ» ¶§
function OpenWindow(url,intWidth,intHeight) {
      window.open(url, "_blank", "width="+intWidth+",height="+intHeight+",resizable=0,scrollbars=0") ;
}

// Window_Open ½ºÅ©·ÑÀÌ ÀÖÀ» ¶§
function OpenWindow_s(url,intWidth,intHeight) {
      window.open(url, "_blank", "width="+intWidth+",height="+intHeight+",resizable=0,scrollbars=1") ;
}


// SwapImg
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 depth1 = "";
var depth2 = "";
var depth3 = "";
var logchk = "";

function setDepthVar(firvar, secvar, thrvar, logvar) {
	depth1 = firvar;
	depth2 = secvar;
	depth3 = thrvar;
	logchk = logvar;
}



//ÆË¾÷¿¹Á¦
function down(){
url = "/data/rezume.hwp";
}


function rezume(){
url = "/company/write.php";
window.open(url,'','toolbar=no,menubar=no,location=no,directions=no, scrollbars=no,status=0,width=638,height=405,top=300,left=250'); 
}



function ebro(){
url = "/ebro/ebro.php";
window.open(url,'','toolbar=no,menubar=no,location=no,directions=no, scrollbars=no,status=0,width=950,height=670,top=20,left=20'); 
}

// ·çÆ®¼³Á¤
var root = "http://www.dasarobot.com";


// Áñ°ÜÃ£±â
function addbookmark() { 
bookmarkurl = "http://www.dasarobot.com";
bookmarktitle="::: ·Îº¿À» ÅëÇÑ »ê¾÷»çÈ¸ °¡Ä¡Ã¢Ãâ°ú Ç³¿ä·Î¿î ÀÎ°£¼¼»ó- ´Ù»ç·Îº¿ :::";
if (document.all) window.external.AddFavorite(bookmarkurl,bookmarktitle); 
} 


// Title
document.title="::: ·Îº¿À» ÅëÇÑ »ê¾÷»çÈ¸ °¡Ä¡Ã¢Ãâ°ú Ç³¿ä·Î¿î ÀÎ°£¼¼»ó- ´Ù»ç·Îº¿ :::";

// »óÅÂ¹ÙÀÇ ¸µÅ©ÁÖ¼Ò ³ªÅ¸³ª´Â°Í ¼û±â±â //
function hidestatus()
{
	window.status=''
	return true
}
if (document.layers)
document.captureEvents(Event.MOUSEOVER | Event.MOUSEOUT)
document.onmouseover=hidestatus
document.onmouseout=hidestatus
// »óÅÂ¹ÙÀÇ ¸µÅ©ÁÖ¼Ò ³ªÅ¸³ª´Â°Í ¼û±â±â //




/**************************************************
TOP Navigation
**************************************************/

function oneDepth(URL){
	switch(URL){			
		case "1" : 
			location.href="../company2/ceo.php";
			break;
		case "2" : 
			location.href="../bs2/bs_0101.php";
			break;
		case "3" : 				
			location.href="../ir2/ir_0101.php";
			break;
		case "4" : 
			location.href="../notice/notice.php?tbl_name=notice";
			break;
		case "5" : 
			location.href="../notice/faq.php";
			break;
		case "6" : 				
			location.href="../recruit2/write.php";
			break;
		case "7" : 
			location.href="../customer2/01.php";
			break;
		case "8" : 
			location.href="../company/00.php";
			break;
	}
}
function twoDepth01(URL){
	switch(URL){			
		case "1" : 
			location.href="../company2/ceo.php";
			break;
		case "2" : 
			location.href="../company2/rnd_0100.php";
			break;
		case "3" : 				
			location.href="../company2/recruit_03.php";
			break;
		case "4" : 
			location.href="../company2/history.php";
			break;	
		case "5" : 
			location.href="../company2/org.php";
			break;	
		case "6" : 
			location.href="../clean/06.php";
			break;	
		case "7" : 
			location.href="../clean/07.php";
			break;
	}
}
function twoDepth02(URL){
	switch(URL){			
		case "1" : 
			location.href="../bs2/bs_0101.php";
			break;
		case "2" : 
			location.href="../bs2/bs_0201.php";
			break;
		case "3" : 				
			location.href="../bs2/bs_0201.php";
			break;
		case "4" : 
			location.href="../product/menu04.php";
			break;
		case "5" : 
			location.href="../product/menu05.php";
			break;
		case "6" : 				
			location.href="../product/menu06.php";
			break;
		case "7" : 				
			location.href="../product/menu07.php";
			break;
		case "8" : 
			location.href="../product/menu08.php";
			break;
		case "9" : 
			location.href="../product/menu09.php";
			break;
	}
}
function twoDepth03(URL){
	switch(URL){			
		case "1" : 
			location.href="../ir2/ir_0101.php";
			break;
		case "2" : 
			location.href="../notice/notice.php?tbl_name=ir";
			break;
		case "3" : 				
			location.href="../ir2/ir_0301.php";
			break;
		case "4" : 
			location.href="../ir2/ir_0401.php";
			break;
		case "5" : 
			location.href="../remodel/03.php";
			break;
		case "6" : 				
			location.href="../remodel/06.php";
			break;
		case "7" : 
			location.href="../sales/list.html?big_cate=±¤ ¼±·Î ÃøÁ¤ Àåºñ&middle_cate=°íÀåÀ§Ä¡½Äº°±â";
			break;
		case "8" : 
			location.href="../sales/list.html?big_cate=±¤ ¼±·Î ÃøÁ¤ Àåºñ&middle_cate=±¤¼Õ½ÇÃøÁ¤±â";
			break;
			
	}
}
function twoDepth04(URL){
	switch(URL){			
		case "1" : 
			location.href="../notice/notice.php?tbl_name=notice";
			break;
		case "2" : 
			location.href="../notice/notice.php?tbl_name=news";
			break;
		case "3" : 				
			location.href="../video/index.html";
			break;
//		case "4" : 
//			location.href="#";
			break;
		case "5" : 				
			location.href="../pr2/ci.php";
			break;
	}
}
function twoDepth05(URL){
	switch(URL){			
		case "1" : 
			location.href="../notice/faq.php";
			break;
		case "2" : 
			location.href="../Qna/list.php?page=";
			break;
		case "3" : 
			location.href="../notice/brench.php";
			break;
		case "4" : 				
			location.href="../notice/as.php";
			break;
		case "5" : 
			location.href="../notice/map.php";
			break;
		case "6" : 				
			location.href="../notice/sitemap.php";
			break;
		case "7" : 
			location.href="../member/member_write.php";
			break;
		case "8" : 
			location.href="../company/07.php";
			break;
		case "9" : 
			location.href="../company/08.php";
			break;
		case "10" : 				
			location.href="../company/09.php";
			break;

	}
}
function twoDepth06(URL){
	switch(URL){			
		case "1" : 
			location.href="../recruit/write.php";
			break;
		case "2" : 
			location.href="../notice/list.php?code=notice4";
			break;
		case "3" : 
			location.href="../notice/list.php?code=notice5";
			break;
		case "4" : 
			location.href="../notice/list.php?code=notice6";
			break;
		case "5" : 				
			location.href="../gallery/main.php";
			break;
		case "6" : 
			location.href="../notice/link.php";
			break;
		case "7" : 
			location.href="../sales/list.html?big_cate=±³À°¿ë ±¤Åë½Å Á¦Ç°&middle_cate=ÇÔÃ¼";
			break;
		case "8" : 				
			location.href="";
			break;
	}
}
function twoDepth07(URL){
	switch(URL){			
		case "1" : 
			location.href="../customer/01.php";
			break;
		case "2" : 
			location.href="../bbs/list.php?code=bbs1";
			break;
		case "3" : 
			location.href="../online/form.php";
			break;
		case "4" : 
			location.href="../customer/04.php";
			break;
		case "5" : 				
			location.href="../bbs/list.php?code=bbs2";
			break;
		case "6" : 
			location.href="../customer/06.php";
			break;
		case "7" : 
			location.href="../sales/list.html?big_cate=±³À°¿ë ±¤Åë½Å Á¦Ç°&middle_cate=ÇÔÃ¼";
			break;
		case "8" : 				
			location.href="";
			break;
	}
}
function twoDepth08(URL){
	switch(URL){			
		case "1" : 
			location.href="../company/00.php";
			break;
		case "2" : 
			location.href="../company/01.php";
			break;
		case "3" : 
			location.href="../company/02.php";
			break;
		case "4" : 
			location.href="../company/03.php";
			break;
		case "5" : 				
			location.href="../company/04.php";
			break;
		case "6" : 
			location.href="../notice/list.php?code=notice1";
			break;
		case "7" : 
			location.href="../company/06.php";
			break;
		case "8" : 				
			location.href="../notice/list.php?code=notice2";
			break;
		case "9" : 
			location.href="../company/08.php";
			break;
		case "10" : 				
			location.href="../company/09.php";
			break;
	}
}


function newImage(arg) {
	if (document.images) {
		rslt = new Image();
		rslt.src = arg;
		return rslt;
	}
}

function changeImages() {
	if (document.images && (preloadFlag == true)) {
		for (var i=0; i<changeImages.arguments.length; i+=2) {
			document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
		}
	}
}

var preloadFlag = false;
function preloadImages() {
	if (document.images) {
		Left3_02_over = newImage("../Main/image/Left3_02-over.gif");
		Left3_03_over = newImage("../Main/image/Left3_03-over.gif");
		Left3_04_over = newImage("../Main/image/Left3_04-over.gif");
		Left3_05_over = newImage("../Main/image/Left3_05-over.gif");
		Left3_06_over = newImage("../Main/image/Left3_06-over.gif");
		preloadFlag = true;
	}
}
preloadImages();

function scroll_h(){ 
    var current_h = document.body.scrollTop; 
   	document.all.quick.style.top = current_h + document.body.clientHeight-110 ;
}

function surfto(form) { 
  if(form.div.value==""){
    return false;
  }
	var myindex=form.div.selectedIndex 
	location.href = form.div.options[myindex].value;					//ÀÚ½Å
	//window.open(form.div.options[myindex].value, "", "");				//»õÃ¢
	form.div.selectedIndex=0;
  //if (0) this.selectedIndex=0;   ///ÀÌºÎºÐÀÌ Ç×»ó Ã¹¹øÂ° ¸Þ´º»óÅÂ·Î ¸¸µç´Ù.
}


/**************************************************
ÇÃ·¡½¬ ÆÐÄ¡
**************************************************/
    function SwfObject_Call(a,b,c,d)
     {
		var idName="";
		if (! isNaN(d)) idName=" id='" +d+ "'";

		document.write ("<object" + idName + " classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0' width='" + b + "' height='" + c + "' VIEWASTEXT>");
		document.write ("<param name=movie value='" + a + "'>");
		document.write ("<param name=quality value=high>");
		document.write ("<param name=menu value=false>");
		document.write ("<param name='wmode' value='transparent'>");
		document.write ("<embed" + idName + "  src='" + a + "' quality=high pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='" + b + "' height='" + c + "'></embed> ");
		document.write ("</object>");
	}