function doBuilder(strName,strURI,strEncoding){

    strName = strName.replace (/^\s+|\s+$/g,'');
    strURI = strURI.replace (/^\s+|\s+$/g,'');

    if (strURI.length<1) { alert ("°Ë»ö °á°ú ÆäÀÌÁöÀÇ URLÀ» ÀÔ·ÂÇÏ½Ê½Ã¿À."); return false;}
    if (strURI.indexOf("TEST")<0) { alert ("°Ë»ö °á°úÀÇ URL¿¡ TEST¸¦ Æ÷ÇÔÇØ¾ß ÇÕ´Ï´Ù. URLÀ» È®ÀÎÇÏ½Ê½Ã¿À. ÇØ´ç °Ë»ö ¿£Áø¿¡¼­ ÀÌ µµ±¸¸¦ »ç¿ëÇÑ Äõ¸® ÀÛ¼ºÀ» Áö¿øÇÏÁö ¾ÊÀ» ¼ö ÀÖ½À´Ï´Ù."); return false;}
    if (strName.length<1) { alert ("°Ë»ö °ø±ÞÀÚÀÇ ÀÌ¸§À» ÀÔ·ÂÇÏ½Ê½Ã¿À."); return false;}
	var strQuery = "Encoding="+ encodeURIComponent(strEncoding) + "&Name=" + encodeURIComponent(strName) + "&URI=" + encodeURIComponent(strURI);
    var strAddURI = "http://www.microsoft.com/windows/ie/searchguide/spbuilder.mspx?" + strQuery;
	try{
        window.external.AddSearchProvider(strAddURI);
    }
    catch(eX){
        if (70 == (eX.number & 0xFFFF)){
            alert("º¸¾È»óÀÇ ÀÌÀ¯·Î ¸¶¿ì½º ¶Ç´Â Enter Å°¸¦ »ç¿ëÇØ ¼³Ä¡ ´ÜÃß¸¦ Å¬¸¯ÇØ¾ß ÇÕ´Ï´Ù.");
        } else {
            alert("°Ë»ö °ø±ÞÀÚ¸¦ Ãß°¡ÇÒ ¼ö ¾ø½À´Ï´Ù. ³ª¸¸ÀÇ µµ±¸¸¦ ¸¸µé·Á¸é Internet Explorer°¡ ÀÖ¾î¾ß ÇÕ´Ï´Ù." + " [" + (eX.number & 0xFFFF) + "]");
        }
    }
}
function sProClose(){
	document.getElementById('pop_sProvider').style.display ='none';
}
function setCookie(name, value, expiredays)
{
	var todayDate = new Date();
	todayDate.setDate( todayDate.getDate() + expiredays );
	document.cookie = name + "=" + escape( value ) + "; path=/; expires=" + todayDate.toGMTString() + ";"
}

function getCookie(Name) {
	var search = Name + "="
	if (document.cookie.length > 0) {
		offset = document.cookie.indexOf(search)
		if (offset != -1) {
			offset += search.length
			end = document.cookie.indexOf(";", offset)
			if (end == -1)
			end = document.cookie.length
			return unescape(document.cookie.substring(offset, end))
		}
	}
}