function goIPinCheck(type) { //¾ÆÀÌÇÉ Ã¼Å©
	var NiceId		= document.getElementById( "NiceId" );
	var PingInfo	= document.getElementById( "PingInfo" );
	var ReturnURL	= document.getElementById( "ReturnURL" );

	if ( NiceId.value == "" )
	{
		alert( getCheckMessage( "S60" ) );
		NiceId.focus();
		return;
	}

	if ( PingInfo.value == "" )
	{
		alert( getCheckMessage( "S61" ) );
		return;
	}

	if ( ReturnURL.value == "" )
	{
		alert( getCheckMessage( "S64" ) );
		ReturnURL.focus();
		return;
	}
	
	if(type == 'ID') {
		
		document.getElementById( "ReturnURL" ).value = "https://www.fcseoul.com/member/ipin/NiceCheckPopupSearch.jsp?type=id";
		
	}else if(type == 'PW') {
		if(document.getElementById('ipinid').value == '') {
			alert('¾ÆÀÌµð¸¦ ÀÔ·ÂÇØ ÁÖ¼¼¿ä.');
			document.getElementById('ipinid').focus();
			return;
		}
		
		if(!checkKr(document.getElementById('ipinid').value.trim()) ) {
		    alert("¾ÆÀÌµð¿¡ ÇÑ±Û¹× Æ¯¼ö¹®ÀÚ¸¦ ÀÔ·ÂÇÏ½Ã¸é ¾ÈµË´Ï´Ù.");
		    document.getElementById('ipinid').focus();
		    return;
		}

		if (document.getElementById('ipinid').value.length < 4 ) {
		    alert("¾ÆÀÌµð´Â 4ÀÚ ÀÌ»óÀÌ¾î¾ß ÇÕ´Ï´Ù.");
		    document.getElementById('ipinid').focus();
		    return;
		}
		
		document.getElementById( "ReturnURL" ).value = "https://www.fcseoul.com/member/ipin/NiceCheckPopupSearch.jsp?type=pw&ipinid=" + document.getElementById('ipinid').value;
	}

	var strNiceId 	= document.getElementById( "NiceId" ).value;
	var strPingInfo	= document.getElementById( "PingInfo" ).value;
	var strOrderNo	= document.getElementById( "OrderNo" ).value;
	var strInqRsn	= document.getElementById( "InqRsn" ).value;
	var strReturnUrl	= document.getElementById( "ReturnURL" ).value;
	var strSIKey 	= document.getElementById( "SIKey" ).value;

	document.reqForm.SendInfo.value = makeCertKeyInfoPA( strNiceId, strPingInfo, strOrderNo, strInqRsn, strReturnUrl, strSIKey );
//	document.reqForm.SendInfo.value = makeCertKeyInfo( strNiceId, strPingInfo, strOrderNo, strInqRsn, strReturnUrl );
	document.reqForm.ProcessType.value = strPersonalCertKey;

	var popupWindow = window.open( "", "popupCertKey", "top=100, left=200, status=0, width=417, height=490" );
	document.reqForm.target = "popupCertKey";
	document.reqForm.action = strCertKeyServiceUrl;	
	document.reqForm.submit();
	popupWindow.focus();

}
