function socialNoConfirmA(ssn1,ssn2){
	var str1;
	var str2=2;
	var str3=0;
	for(var i=0;i<=5;i++){
		str1=ssn1.charAt(i);
		str1=parseInt(str1);
		if((i==2)&&(str1>1)){
			return false;
		}else if((i==4)&&(str1>3)){
			return false;
		}
		str3=(str1*str2)+str3;
		str2++;
	}
	for(var j=0;j<=5;j++){
		str1=ssn2.charAt(j);
		str1=parseInt(str1);
		str3=(str1*str2)+str3;
		str2++;
		if(str2>9){
			str2=2;
		}
	}
	str3=str3%11;
	str3=11-str3;
	if(str3>=10){
		str3=str3-10;
	}
	str1=ssn2.charAt(6);
	if(str1==str3){
		return true;
	}else{
		return false;
	}
}

function chkNumString(chkstr){
	var str=chkstr.toUpperCase();
	var rtnVal=0;
	for(var i=0;i<str.length;i++){
		if(str.charAt(i)<"0" || str.charAt(i)>"9"){
			rtnVal=1;
		}
	}
	return rtnVal;
}

function selectURL01(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;
     }
  }
}

// SunSil Start
function openWin(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

// ±âÁ¸ ½ºÅ©¸³ÅÍ
function newWin(url,winname,opt){
 var myPopup=window.open(url,winname,opt);
     myPopup.window.focus();
}

function home(){ location.href = "/eng/"; }

function B01_01(){ location.href = "/eng/template/order_01.jsp?m=3&s=1"; }
function B01_02(){ location.href = "http://www.ftc.go.kr/"; }

function S01_01(){ location.href = "/"; }
function S01_02(){ location.href = "/eng/"; }
function S01_03(){ location.href = "/eng/template/sitemap_01.jsp?m=8&s=1"; }

function Q01_01(){ location.href = "/eng/template/prod.jsp?m=2&s=1"; }
function Q01_02(){ location.href = "/eng/template/prod_07.jsp?m=2&s=7"; }
function Q01_03(){ location.href = "/eng/template/order_01.jsp?m=3&s=1"; }

function menu01(){ location.href = "/eng/template/comp_01.jsp?m=1&s=1"; }
function menu02(){ location.href = "/eng/template/prod.jsp?m=2&s=1"; }
function menu03(){ location.href = "/eng/template/order_01.jsp?m=3&s=1"; }
function menu04(){ location.href = "/eng/template/rnd_01.jsp?m=4&s=1"; }
function menu05(){ location.href = "/eng/template/she_01.jsp?m=5&s=1"; }

function menu01_01(){ location.href = "/eng/template/comp_01.jsp?m=1&s=1"; }
function menu01_02(){ location.href = "/eng/template/comp_02.jsp?m=1&s=2"; }
function menu01_03(){ location.href = "/eng/template/comp_03.jsp?m=1&s=3"; }
function menu01_04(){ location.href = "/eng/template/comp_04.jsp?m=1&s=4"; }
function menu01_05(){ location.href = "/eng/template/comp_05.jsp?m=1&s=5"; }
function menu01_06(){ location.href = "/eng/template/comp_06.jsp?m=1&s=6"; }

function menu02_01(){ location.href = "/eng/template/prod_01.jsp?m=2&s=1"; }
	function menu02_01_01(){ location.href = "/eng/template/prod_01_01.jsp?m=2&s=1_1"; }
	function menu02_01_02(){ location.href = "/eng/template/prod_01_02.jsp?m=2&s=1_2"; }
	function menu02_01_03(){ location.href = "/eng/template/prod_01_03.jsp?m=2&s=1_3"; }
function menu02_02(){ location.href = "/eng/template/prod_02.jsp?m=2&s=2"; }//pb
	function menu02_02_01(){ location.href = "/eng/template/prod_02_01.jsp?m=2&s=2_3"; }//grade
	function menu02_02_02(){ location.href = "/eng/template/prod_02_02.jsp?m=2&s=2_4"; }//application
	function menu02_02_03(){ location.href = "/eng/template/prod_02_03.jsp?m=2&s=2_2"; }//charc
function menu02_03(){ location.href = "/eng/template/prod_03.jsp?m=2&s=3"; }
	function menu02_03_01(){ location.href = "/eng/template/prod_04_01.jsp?m=2&s=4_1"; }
	function menu02_03_02(){ location.href = "/eng/template/prod_04_02.jsp?m=2&s=4_2"; }
	function menu02_03_03(){ location.href = "/eng/template/prod_04_03.jsp?m=2&s=4_3"; }
function menu02_04(){ location.href = "/eng/template/prod_05_01.jsp?m=2&s=4"; }
	function menu02_04_01(){ location.href = "/eng/template/prod_05_01.jsp?m=2&s=4_1"; }
function menu02_05(){ location.href = "/eng/template/prod_06.jsp?m=2&s=6"; }
	function menu02_05_01(){ location.href = "/eng/template/prod_06_01.jsp?m=2&s=6_1"; }
	function menu02_05_02(){ location.href = "/eng/template/prod_06_02.jsp?m=2&s=6_2"; }
	function menu02_05_03(){ location.href = "/eng/template/prod_06_03.jsp?m=2&s=6_3"; }
	function menu02_05_04(){ location.href = "/eng/template/prod_06_03.jsp?m=2&s=6_4"; }
	function menu02_05_05(){ location.href = "/eng/template/prod_06_04.jsp?m=2&s=6_5"; }
function menu02_06(){ location.href = "/eng/template/prod_07.jsp?m=2&s=7"; }
function menu02_07(){ location.href = "/eng/template/prod_08_01.jsp?m=2&s=8_1"; }
	function menu02_07_01(){ location.href = "/eng/template/prod_08_01.jsp?m=2&s=8_2"; }
	function menu02_07_02(){ location.href = "/eng/template/prod_08_02.jsp?m=2&s=8_3"; }

function menu03_01(){ location.href = "/eng/template/order_01.jsp?m=3&s=1"; }

function menu04_01(){ location.href = "/eng/template/rnd_01_01.jsp?m=4&s=1_1"; }
	function menu04_01_01(){ location.href = "/eng/template/rnd_01_01.jsp?m=4&s=1_1"; }
	function menu04_01_02(){ location.href = "/eng/template/rnd_01_02.jsp?m=4&s=1_2"; }
	function menu04_01_03(){ location.href = "/eng/template/rnd_01_03.jsp?m=4&s=1_3"; }
function menu04_02(){ location.href = "/eng/template/rnd_02.jsp?m=4&s=2"; }
function menu04_03(){ location.href = "/eng/template/rnd_03.jsp?m=4&s=3"; }

function menu05_01(){ location.href = "/eng/template/she_01.jsp?m=5&s=1"; }
function menu05_02(){ location.href = "/eng/template/she_02.jsp?m=5&s=2"; }
function menu05_03(){ location.href = "/eng/template/she_03.jsp?m=5&s=3_1"; }
	function menu05_03_01(){ location.href = "/eng/template/she_03.jsp?m=5&s=3_1"; }
	function menu05_03_02(){ location.href = "/eng/template/she_03_02.jsp?m=5&s=3_2"; }
	function menu05_03_03(){ location.href = "/eng/template/she_03_03.jsp?m=5&s=3_3"; }

	function Map01_02(){ location.href = "/eng/template/comp_06.jsp?m=1&s=6&gubun=1"; }
	function Map01_04(){ location.href = "/eng/template/comp_06.jsp?m=1&s=6&gubun=2"; }
	function Map01_05(){ location.href = "/eng/template/comp_06.jsp?m=1&s=6&gubun=6"; }
	function Map01_06(){ location.href = "/eng/template/comp_06.jsp?m=1&s=6&gubun=7"; }
	function Map01_07(){ location.href = "/eng/template/comp_06.jsp?m=1&s=6&gubun=3"; }


function dic_activex_build(parent, tag, paramTag){
  var DICObjectElement = document.createElement(tag);
  for(var i = 0 ; i < paramTag.length; i++){
		var DICParamElement = document.createElement(paramTag[i]);
		DICObjectElement.appendChild(DICParamElement);
	}
  parent.appendChild(DICObjectElement);
}