/********************************************************************************************************
	Popup Á¤ÀÇ
	º¯¼ö Á¤ÀÇ : pop - ÆÄÀÏ¸í, width - °¡·Î»çÀÌÁî, height - ¼¼·Î»çÀÌÁî, flag - 0:½ºÅ©·Ñ¾øÀ½, 1:½ºÅ©·ÑÀÖÀ½
********************************************************************************************************/
function pop(pop,width,height,flag)
{
	var url = pop;
	var wd = width;
	var he = height;
    
    if (flag == "0" )
    {  window.open(url,"/html/","toolbar=0,menubar=0,scrollbars=no,resizable=no,top=0,left=0,width=" + wd +",height=" + he + ";");  }
    else 
    {  window.open(url,"/html/","toolbar=0,menubar=0,scrollbars=yes,resizable=no,top=0,left=0,width=" + wd +",height=" + he + ";");  }
}


/********************************************************************************************************
	Layer Show Hide
********************************************************************************************************/

function LayerSH(LayerName,Status) {
ns4 = (document.layers)?true:false
ie4 = (document.all)?true:false

	if (ns4) {
		LayerN = document.layers[LayerName]
		if (Status == 'show') LayerN.visibility = 'show';
		if (Status == 'hide') LayerN.visibility = 'hidden';
	}
	if (ie4) {
		LayerN = document.all[LayerName].style
		if (Status == 'show') {
		LayerN.visibility = 'visible';
		LayerN.display = 'block';
		}
		if (Status == 'hide') {
		LayerN.visibility = 'hidden';
		LayerN.display = 'none';
		}
	}
}
/********************************************************************************************************
	¸µÅ©½Ã Æ÷Ä¿½º ¾ø¾Ö´Â ÇÔ¼ö
********************************************************************************************************/
function allblur() {
    for (i = 0; i < document.links.length; i++)
        document.links[i].onfocus = document.links[i].blur;
}
window.onload=allblur

/********************************************************************************************************
	select ¹Ú½º ÀÌ¿ë½Ã ¼­ºñ½ºÂÊ ÆäÀÌÁö ÀÌµ¿
********************************************************************************************************/
function go_select(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 ((frameobj = eval(targetstr)) != null)
       frameobj.location = sel.options[index].value;
     }
  }
}


/********************************************************************************************************
	¸ÞÀÎ
********************************************************************************************************/

/* ¸ÞÀÎ */
function home(num){ // È¨
	window.location.href = "http://www.acedigitech.co.kr/index.jsp";
}

function sitemap(num){ //»çÀÌÆ®¸Ê
	
	window.location.href = "http://www.acedigitech.co.kr/html/7_sitemap/sitemap_01.jsp";
}

function contact(num){ //contact us
	window.location.href = "http://www.acedigitech.co.kr/bbs/board/agreement1.jsp";
}

function english(num){ //
	window.location.href = "http://www.acedigitech.co.kr/eng/index.jsp";
}

function chinese(num){ //
	window.location.href = "http://www.acedigitech.co.kr/chi/index.jsp";
}

function japanese(num){ //
	window.location.href = "http://www.acedigitech.co.kr/jap/index.jsp";
}


/********************************************************************************************************
	È¸»ç¼Ò°³
********************************************************************************************************/

/* È¸»ç¼Ò°³ */
function company(num){ //
	//window.location.href = "#";;

	if (num =='1'){ //»ï¼º°¡Ä¡ Ã¼°è
	window.location.href = "http://www.acedigitech.co.kr/html/1_company/company_01.jsp";
	}
	
	else if (num =='2'){ //CEOÀÎ»ç¸»
	window.location.href = "http://www.acedigitech.co.kr/html/1_company/company_02.jsp"
	}
	
	else if (num =='3'){ //21¼¼±âºñÀü
	window.location.href = "http://www.acedigitech.co.kr/html/1_company/company_03.jsp";
	}

	else if (num =='4'){ //È¸»ç¿¬Çõ
	window.location.href = "http://www.acedigitech.co.kr/html/1_company/company_04.jsp";
	}

	else if (num =='6'){ //»çÈ¸ºÀ»ç
	//window.location.href = "#";
	}
	        
			else if (num =='61'){ //»çÈ¸ºÀ»ç
			window.location.href = "http://www.acedigitech.co.kr/html/1_company/company_06.jsp";
			}

			else if (num =='62'){ //È°µ¿°Ô½ÃÆÇ
			window.location.href = "http://www.acedigitech.co.kr/bbs/gallery/galleryBoardList.action?bbsId=48";
			}

	else if (num =='7'){ //Ã£¾Æ¿À½Ã´Â±æ
	window.location.href = "http://www.acedigitech.co.kr/html/1_company/company_07.jsp";
	}
}

/********************************************************************************************************
	Á¦Ç°¼Ò°³
********************************************************************************************************/

/* Æí±¤ÇÊ¸§ */
function product01(num){ //
	//window.location.href = "#";

	if (num =='1'){      //Æí±¤ÇÊ¸§ÀÇ ¿ø¸®
	window.location.href = "http://www.acedigitech.co.kr/html/2_product/product_01_1.jsp";
	}
	
	else if (num =='2'){ //Æí±¤ÇÊ¸§ÀÇ ±¸Á¶
	window.location.href = "http://www.acedigitech.co.kr/html/2_product/product_01_2.jsp"
	}
}


/* Á¦Ç°Á¤º¸ */
function product02(num){ //
	//window.location.href = "#";;
	
	if (num =='1'){ //LCD Àû¿ë Á¦Ç°
	window.location.href = "http://www.acedigitech.co.kr/html/2_product/product_03_1.jsp";
	}

	else if (num =='2'){ //Æí±¤ÇÊ¸§ Á¦Ç°
	window.location.href = "http://www.acedigitech.co.kr/html/2_product/product_05_1.jsp";
	}
	
}


/* Á¦Ç°¹®ÀÇ */

function product06(num){ //
	window.location.href = "http://www.acedigitech.co.kr/bbs/moral/agreement6.jsp";
}




/********************************************************************************************************
	¿¬±¸°³¹ß
********************************************************************************************************/

/* ¿¬±¸°³¹ß */
function rnd(num){ //
	//window.location.href = "#";;

	if (num =='1'){      //R&D INFO
	window.location.href = "http://www.acedigitech.co.kr/html/3_rnd/rnd_01.jsp";
	}
	
	else if (num =='2'){ //¿¬±¸ºÐ¾ß
	window.location.href = "http://www.acedigitech.co.kr/html/3_rnd/rnd_02.jsp"
	}
	
	else if (num =='3'){ //¿¬±¸½ÇÀû
	window.location.href = "http://www.acedigitech.co.kr/html/3_rnd/rnd_03.jsp";
	}
	
	else if (num =='32'){ //Áß¼ÒÇü¿¬±¸½ÇÀû
	window.location.href = "http://www.acedigitech.co.kr/html/3_rnd/rnd_03_2.jsp";
	}
	
	else if (num =='33'){ //´ëÇü¿¬±¸½ÇÀû
	window.location.href = "http://www.acedigitech.co.kr/html/3_rnd/rnd_03_3.jsp";
	}

	else if (num =='4'){ //Æ¯Çãº¸À¯ÇöÈ²
	window.location.href = "http://www.acedigitech.co.kr/html/3_rnd/rnd_04.jsp";
	}
}

function rnd01(num){ //Æ¯Çãº¸À¯ÇöÈ²_ÆË¾÷1
	
	var win = window.open('http://www.acedigitech.co.kr/html/3_rnd/rnd_04_p1.jsp','win','left=0,top=0,width=600,height=350,scrollbars=no');
}

function rnd02(num){ //Æ¯Çãº¸À¯ÇöÈ²_ÆË¾÷ 2
	
	var win = window.open('http://www.acedigitech.co.kr/html/3_rnd/rnd_04_p2.jsp','win','left=0,top=0,width=600,height=510,scrollbars=no');
}

function rnd03(num){ //Æ¯Çãº¸À¯ÇöÈ²_ÆË¾÷3
	
	var win = window.open('http://www.acedigitech.co.kr/html/3_rnd/rnd_04_p3.jsp','win','left=0,top=0,width=620,height=400,scrollbars=yes');
}

function rnd04(num){ //Æ¯Çãº¸À¯ÇöÈ²_ÆË¾÷4
	
	var win = window.open('http://www.acedigitech.co.kr/html/3_rnd/rnd_04_p4.jsp','win','left=0,top=0,width=620,height=400,scrollbars=yes');
}

function rnd05(num){ //Æ¯Çãº¸À¯ÇöÈ²_ÆË¾÷5
	
	var win = window.open('http://www.acedigitech.co.kr/html/3_rnd/rnd_04_p5.jsp','win','left=0,top=0,width=600,height=430,scrollbars=no');
}

function rnd06(num){ //Æ¯Çãº¸À¯ÇöÈ²_ÆË¾÷6
	
	var win = window.open('http://www.acedigitech.co.kr/html/3_rnd/rnd_04_p6.jsp','win','left=0,top=0,width=620,height=400,scrollbars=yes');
}

function rnd07(num){ //Æ¯Çãº¸À¯ÇöÈ²_ÆË¾÷7
	
	var win = window.open('http://www.acedigitech.co.kr/html/3_rnd/rnd_04_p7.jsp','win','left=0,top=0,width=600,height=380,scrollbars=no');
}




/********************************************************************************************************
	ÅõÀÚÁ¤º¸
********************************************************************************************************/


function ir(num){ //
	//window.location.href = "#";

	
	if (num =='2'){ //±â¾÷Áö¹è±¸Á¶
	//window.location.href = "#";
	}

			else if (num =='21'){ //ÀÌ»çÈ¸
			window.location.href = "http://www.acedigitech.co.kr/html/4_ir/ir_02_1.jsp";
			}

			else if (num =='22'){ //Á¤°ü			
			window.open("http://www.acedigitech.co.kr/data/ace_incorporation.pdf");
			return;
			}


	else if (num =='3'){ //ÁÖ½ÄÁ¤º¸
	//window.location.href = "#";
	}
	
			else if (num =='31'){ //ÇöÀç°¡
			window.location.href = "http://www.acedigitech.co.kr/html/4_ir/ir_03_1.jsp";
			}
			
			else if (num =='32'){ //½Ã°£´ëº°ÁÖ°¡
			window.location.href = "http://www.acedigitech.co.kr/html/4_ir/ir_03_2.jsp";
			}
			
			else if (num =='33'){ //ÀÏÀÚº°ÁÖ°¡
			window.location.href = "http://www.acedigitech.co.kr/html/4_ir/ir_03_3.jsp";
			}
			
			else if (num =='34'){ //ºÐ¼®Â÷Æ®
			window.location.href = "http://www.acedigitech.co.kr/html/4_ir/ir_03_4.jsp";
			}
			
			else if (num =='35'){ //Áö¼öÁ¤º¸
			window.location.href = "http://www.acedigitech.co.kr/html/4_ir/ir_03_5.jsp";
			}
			
			else if (num =='36'){ //±Ý¸®
			window.location.href = "http://www.acedigitech.co.kr/html/4_ir/ir_03_6.jsp";
			}
			
			else if (num =='37'){ //È¯À²
			window.location.href = "http://www.acedigitech.co.kr/html/4_ir/ir_03_7.jsp";
			}

	else if (num =='4'){ //°ø½ÃÁ¤º¸
	window.location.href = "http://www.acedigitech.co.kr/html/4_ir/ir_04.jsp";
	}

	else if (num =='5'){ //Àç¹«Á¤º¸
	//window.location.href = "#";
	}
	
			else if (num =='51'){ //Àç¹«Á¦Ç¥
			window.location.href = "http://www.acedigitech.co.kr/html/4_ir/ir_05_1.jsp";
			}
			
			else if (num =='52'){ //¼ÕÀÍ°è»ê¼­
			window.location.href = "http://www.acedigitech.co.kr/html/4_ir/ir_05_2.jsp";
			}

	else if (num =='6'){ //IR ÀÚ·á½Ç 
	window.location.href = "http://www.acedigitech.co.kr/bbs/board/boardList.action?bbsId=1";
	}

	else if (num =='7'){ //IR FAQ
	window.location.href = "http://www.acedigitech.co.kr/bbs/board/boardList.action?bbsId=2";
	}
	
	else if (num =='8'){ //IR Q&A
	window.location.href = "http://www.acedigitech.co.kr/bbs/qna/qnaBoardList.action?bbsId=9";
	}
}


/********************************************************************************************************
	ÀÎÀçÃ¤¿ë
********************************************************************************************************/

/* ÀÎ»çÁ¦µµ */
function recruit01(num){   //
	//window.location.href = "#";

	if (num =='1'){      //ÀÎ»çÁ¦µµ
	//window.location.href = "#";
	}

			else if (num =='11'){ //ÀÎÀç»ó
			window.location.href = "http://www.acedigitech.co.kr/html/5_recruit/recruit_01.jsp"
			}

			else if (num =='12'){ //ÀÎ»çÁ¦µµ
			window.location.href = "http://www.acedigitech.co.kr/html/5_recruit/recruit_01_2.jsp"
			}

			else if (num =='13'){ //ÀÎ»çº¹ÁöÁ¦µµ
			window.location.href = "http://www.acedigitech.co.kr/html/5_recruit/recruit_01_3.jsp"
			}
}

/* Ã¤¿ëÁ¤º¸ */
function recruit02(num){   //
	//window.location.href = "#";
	
	if (num =='1'){ //Ã¤¿ëÁ¤º¸
	//window.location.href = "#";
	}

			else if (num =='21'){ //Ã¤¿ë°ø°í ¹× ¿Â¶óÀÎ ÀÔ»çÁö¿ø 
			window.location.href = "http://www.acedigitech.co.kr/bbs/recruit/boardList.action?bbsId=11"
			}

			else if (num =='22'){ //Ã¤¿ëÀýÂ÷
			window.location.href = "http://www.acedigitech.co.kr/html/5_recruit/recruit_02_2.jsp"
			}

			else if (num =='23'){ //Ã¤¿ëFAQ
			window.location.href = "http://www.acedigitech.co.kr/html/5_recruit/recruit_02_3.jsp"
			}

			else if (num =='24'){ //Ã¤¿ë¹®ÀÇ
			window.location.href = "http://www.acedigitech.co.kr/bbs/board/agreement2.jsp"
			}
			
			else if (num =='25'){ //°øÁö»çÇ×
			window.location.href = "http://www.acedigitech.co.kr/bbs/board/boardList.action?bbsId=5"
			}
}


/********************************************************************************************************
	»çÀÌ¹öÈ«º¸½Ç
********************************************************************************************************/

/* »çÀÌ¹öÈ«º¸½Ç */
function pr(num){   //
	//window.location.href = "#";

	if (num =='1'){      //°øÁö»çÇ×
	window.location.href = "http://www.acedigitech.co.kr/bbs/board/boardList.action?bbsId=3";
	}
	
	else if (num =='2'){ //´º½º
	window.location.href = "http://www.acedigitech.co.kr/bbs/board/boardList.action?bbsId=4"
	}

	else if (num =='4'){ //º¸µµÀÚ·á
	window.location.href = "http://www.acedigitech.co.kr/bbs/board/boardList.action?bbsId=6"
	}

}



/********************************************************************************************************
	À±¸®°æ¿µ
********************************************************************************************************/


/* À±¸®°æ¿µ */
function moral(num){   //
	window.location.href = "#";

	if (num =='1'){      //À±¸®°­·Éº»¹®
	window.location.href = "http://www.acedigitech.co.kr/html/09_moral/moral1.jsp";
	}
	if (num =='11'){      //À±¸®°­·ÉÀü¹®
	window.location.href = "http://www.acedigitech.co.kr/html/09_moral/moral1_1.jsp";
	}
	
	else if (num =='2'){ //ºÎÁ¤Á¦º¸
	window.location.href = "http://www.acedigitech.co.kr/bbs/moral/agreement3.jsp"
	}

	else if (num =='3'){ //»çÀÌ¹ö°¨»çÆÀ
	window.location.href = "http://www.acedigitech.co.kr/bbs/moral/agreement4.jsp"
	}

	else if (num =='4'){ //È¸»ç°ü·Ã¹®ÀÇ
	window.location.href = "http://www.acedigitech.co.kr/bbs/moral/agreement5.jsp"
	}
	
	else if (num =='5'){ //À±¸®°æ¿µ¸ÞÀÎ
	window.location.href = "http://www.acedigitech.co.kr/html/09_moral/moral.jsp"
	}
    
}

/********************************************************************************************************
	Ä«ÇÇ¶óÀÌÅÍ
********************************************************************************************************/

/* Ä«ÇÇ¶óÀÌÅÍ */

function copy06(num){ //ÀÌ¸ÞÀÏÁÖ¼Ò¹«´Ü¼öÁý°ÅºÎ
	
	var win = window.open('http://www.acedigitech.co.kr/popup_mail.jsp','win','left=0,top=0,width=550,height=250,scrollbars=no');
}

function copy07(num){ //°³ÀÎÁ¤º¸Ãë±Þ¹æÄ§
	
	var win = window.open('http://www.acedigitech.co.kr/popup_agree.jsp','win','left=0,top=0,width=630,height=630,scrollbars=yes');
}

function copy08(num){ //¹ýÀû°íÁö
	
	var win = window.open('http://www.acedigitech.co.kr/popup_legal.jsp','win','left=0,top=0,width=630,height=630,scrollbars=yes');
}

function mail(num){ //À¥¸¶½ºÅÍ¸ÞÀÏ
	window.location.href = "mailto:acedigitech@samsung.com";
}




/********************************************************************************************************
	¿©±â±îÁö
********************************************************************************************************/


