if(document.domain != 'www.alphassl.co.kr' & document.domain != 'alphassl.co.kr'){
document.title = 'GlobalSign - ±¹Á¦°øÀÎ º¸¾È¼­¹ö, ¹«·áº¸¾È¼­¹ö, ´çÀÏ¹ß±Þ, Ãß°¡1³âÁ¦°ø, ÃÖ°í 62%ÇÒÀÎ, »óÇ°±ÇÁ¦°ø, ÀÌº¥Æ®';
}
/********************************************************************************************************
	FAQ ¸®½ºÆ® ¿Â/¿ÀÇÁ
********************************************************************************************************/
var lastSelected = null;
function faq(_id) {

		if( lastSelected != null ) {
			lastSelected.style.display = "none";
		}

		var list_id = "list_answer_" + _id;
		var selectedFAQ = document.getElementById(list_id);
			
		if( selectedFAQ.style.display != "none" ) {
			selectedFAQ.style.display = "none";
		} else {
			selectedFAQ.style.display = "block";
		}
		
		lastSelected = selectedFAQ;

}

/********************************************************************************************************
	ÀÌ¹ÌÁö ¿À¹ö/¾Æ¿ô
********************************************************************************************************/
function setIMG(thisImg, sMode) {
	var sPath = thisImg.src;
	var sCommonPath = sPath.substring(0, sPath.lastIndexOf("_") + 1);
	var sType = sPath.substring(sPath.lastIndexOf("."), sPath.length);
	//alert(sCommonPath + "on" + sType);
	thisImg.src = sCommonPath + sMode + sType;
}


//ºñ¹Ð¹øÈ£ ¾ç½Ä °Ë»ç
function test_pass(str)
 {
	if((!/^[\w]+$/.test(str))||(str.length<4)||(str.length>12))
		return false;
	return true;
 }
 //ÇÑ±Û ¿µ¹® ¼ýÀÚ °Ë»ç
 function test_hanw(str)
 {
	if(!/^[°¡-ÆR\w]+$/.test(str))
		return false;
	return true;
 }
 //ÀÌ¸ÞÀÏ °Ë»ç
 function test_email(str)
 {
	if(!/^[-_\w.]+@[-\w]+(\.[-\w]+)+$/.test(str))
		return false;
	return true;
 }
  //¼ýÀÚ °Ë»ç
 function test_number(str)
 {
	if(!/^[0-9]+$/.test(str))
		return false;
	return true;
 }

 function openZipcode()
 {
	window.open('/popup/p_zip.jsp','¿ìÆí¹øÈ£Ã£±â','scrollbars=no,toolbar=no,status=yes,menubar=no,resizable=no,width=440,height=430,left=100,top=100');

 }
//¼ýÀÚ ±Ý¾× Æ÷¸äÀ¸·Î ¹Ù²ãÁÖ´Â ÇÔ¼ö
 function formatPrice( num ){
 var len,point,str;		
 num = num+"";
 point = num.length%3
 len = num.length;

 str = num.substring(0,point);
 while( point < len){
  if( str != "" ) str += ",";
  str += num.substring( point , point+3);
  point +=3;
 }
 return str;
}
